yeekyj1 Posted July 3, 2007 Share Posted July 3, 2007 hi all, I have try to write a simple script to automate a software installation but it just won't work,I just tried to write the first few line of the script but it also won't run,it is just a very short and simple want......any kind soul here can help?attached is the script written to automate the installation of the software,thanks so much!blankscript.au3 Link to comment Share on other sites More sharing options...
Kogmedia Posted July 3, 2007 Share Posted July 3, 2007 Welcome to the Forum the Help file is your friend.. What are you trying to install? [font="Verdana"]Keith (Kogmedia)[/font]My ScriptQuick Search - Internet / Hard Drive Search Link to comment Share on other sites More sharing options...
yeekyj1 Posted July 3, 2007 Author Share Posted July 3, 2007 Welcome to the Forum the Help file is your friend.. What are you trying to install?I'm trying to install a software called news in class.here is the link to download the software "http://download.yousendit.com/59816EDD3D1DBD41" ,would appreciate if you could show me a script on how to automate the installation of this software,thanks so much! Link to comment Share on other sites More sharing options...
yeekyj1 Posted July 3, 2007 Author Share Posted July 3, 2007 Welcome to the Forum the Help file is your friend.. What are you trying to install? hi..so sorry about it...there is some problem with the previous download link for the software,use this want instead thank you!http://download.yousendit.com/6FF9C95B47CE7739 Link to comment Share on other sites More sharing options...
Kogmedia Posted July 3, 2007 Share Posted July 3, 2007 (edited) extract the nic.exe (with 7-zip) Autoit Code ShellExecute('setup.exe', '/silent') setup.exe /silent Edited July 3, 2007 by Kogmedia [font="Verdana"]Keith (Kogmedia)[/font]My ScriptQuick Search - Internet / Hard Drive Search Link to comment Share on other sites More sharing options...
yeekyj1 Posted July 3, 2007 Author Share Posted July 3, 2007 extract the nic.exe (with 7-zip) Autoit Code ShellExecute('setup.exe', '/silent') setup.exe /silent hi Kogmedia, so sorrie..because I'm a script newbie so could you pls elaborate on what you say?by the way is is it convenient for you to just send me a sample of the autoit script for the automation of this software?thanks! Link to comment Share on other sites More sharing options...
Kogmedia Posted July 3, 2007 Share Posted July 3, 2007 (edited) 1. Download 7-Zip from http://www.7-zip.org/2. Extract Nic.exe (Right Click on File-->Extract)2. Paste into txt fileShellExecute('setup.exe', '/silent')3. Save silent.au34. Compile ScriptNow you have a silent install Edited July 3, 2007 by Kogmedia [font="Verdana"]Keith (Kogmedia)[/font]My ScriptQuick Search - Internet / Hard Drive Search Link to comment Share on other sites More sharing options...
Generator Posted July 3, 2007 Share Posted July 3, 2007 Personal Advice, don't put text in any type of WinMatch. Link to comment Share on other sites More sharing options...
yeekyj1 Posted July 3, 2007 Author Share Posted July 3, 2007 1. Download 7-Zip from http://www.7-zip.org/ 2. Extract Nic.exe (Right Click on File-->Extract) 2. Paste into txt file ShellExecute('setup.exe', '/silent') 3. Save silent.au3 4. Compile Script Now you have a silent installhi kogmedia, my this software requires some user intervention of clicking on the buttons,it seems like your method doesn't work.can you try the script with my software see whether can work then provide me with a solution?thanks so much! Link to comment Share on other sites More sharing options...
yeekyj1 Posted July 3, 2007 Author Share Posted July 3, 2007 hi kogmedia, my this software requires some user intervention of clicking on the buttons,it seems like your method doesn't work.can you try the script with my software see whether can work then provide me with a solution?thanks so much! fyi, I needed a autoit script to automate the whole installation of the software but your silent installation solution method doesn't work for me..it requires users intervention then only the setup is able to continue, do you know how to create a autoIT script for the automation of my this software?pls advise,thanks so much kogmedia... Link to comment Share on other sites More sharing options...
Kogmedia Posted July 3, 2007 Share Posted July 3, 2007 Just to correct you it not the script not working it is old.dll versions. 1. Open SETUP.LST (with notepad) 2. Remove the lines that install the .dlls [setup1 Files] File51=@FM20.DLL,$(WinSysPath),$(DLLSelfRegister),$(Shared),3/18/05 5:39:56 AM,1146320,11.0.6550.0 This is the first one install the app and note down the lines to remove.. [font="Verdana"]Keith (Kogmedia)[/font]My ScriptQuick Search - Internet / Hard Drive Search Link to comment Share on other sites More sharing options...
yeekyj1 Posted July 3, 2007 Author Share Posted July 3, 2007 Just to correct you it not the script not working it is old.dll versions. 1. Open SETUP.LST (with notepad) 2. Remove the lines that install the .dlls [setup1 Files] File51=@FM20.DLL,$(WinSysPath),$(DLLSelfRegister),$(Shared),3/18/05 5:39:56 AM,1146320,11.0.6550.0 This is the first one install the app and note down the lines to remove.. hi kogmedia,you meant removing the line below then it will work automatically?but I have tried removing the line below in the setup.lst file but still it couldn't work.and I have tried out your method of silent installation with other software but none of them work also.so i think it is the problem with the script.... attached is a working autoIT script for the automated installation of winzip.I have tried it before once.now I just wanted to create a script similar to this winzip one for my this software.pls help,thanks! "File51=@FM20.DLL,$(WinSysPath),$(DLLSelfRegister),$(Shared),3/18/05 5:39:56 AM,1146320,11.0.6550.0" Link to comment Share on other sites More sharing options...
Kogmedia Posted July 3, 2007 Share Posted July 3, 2007 You need to remove all the refs that are old... not just that one Replace the [setup1 Files] with this below [setup1 Files] File1=@wordpowerdisable.swf,$(AppPath)\images,,,10/20/06 10:55:50 AM,12886,0.0.0.0 File2=@wordpower.swf,$(AppPath)\images,,,10/9/06 9:26:58 AM,27346,0.0.0.0 File3=@video.swf,$(AppPath)\images,,,10/8/06 4:20:50 PM,17964,0.0.0.0 File4=@title_int.jpg,$(AppPath)\images,,,3/10/06 12:56:58 PM,12858,0.0.0.0 File5=@title_ele.jpg,$(AppPath)\images,,,3/10/06 12:56:38 PM,12527,0.0.0.0 File6=@title_adv.jpg,$(AppPath)\images,,,3/10/06 12:57:16 PM,11786,0.0.0.0 File7=@snc3_story3.swf,$(AppPath)\images,,,10/6/06 5:13:16 PM,87277,0.0.0.0 File8=@snc3_story2.swf,$(AppPath)\images,,,10/6/06 4:47:04 PM,81539,0.0.0.0 File9=@snc3_story1.swf,$(AppPath)\images,,,10/6/06 4:06:16 PM,84342,0.0.0.0 File10=@snc3_reading.swf,$(AppPath)\images,,,10/6/06 5:38:18 PM,16827,0.0.0.0 File11=@snc3_home.swf,$(AppPath)\images,,,10/7/06 12:46:12 PM,9958,0.0.0.0 File12=@smallenglishrounderbuttons.swf,$(AppPath)\images,,,10/6/06 10:17:44 AM,8455,0.0.0.0 File13=@SCN4_WORKOUT.swf,$(AppPath)\images,,,10/7/06 2:54:06 PM,13393,0.0.0.0 File14=@scn4_subtitle.swf,$(AppPath)\images,,,10/7/06 3:11:14 PM,4620,0.0.0.0 File15=@scn4_qa.swf,$(AppPath)\images,,,10/7/06 1:56:40 PM,1166,0.0.0.0 File16=@scn4_Q&A.swf,$(AppPath)\images,,,10/7/06 2:29:52 PM,1508,0.0.0.0 File17=@scn3_latest.swf,$(AppPath)\images,,,10/7/06 12:31:34 PM,27226,0.0.0.0 File18=@scn3_archive.swf,$(AppPath)\images,,,10/7/06 12:38:04 PM,12315,0.0.0.0 File19=@scn2_int_sel.swf,$(AppPath)\images,,,10/6/06 1:03:06 PM,49284,0.0.0.0 File20=@scn2_adv_sel.swf,$(AppPath)\images,,,10/6/06 4:48:02 PM,43893,0.0.0.0 File21=@quit_sel.swf,$(AppPath)\images,,,10/7/06 1:16:40 PM,15335,0.0.0.0 File22=@prev.swf,$(AppPath)\images,,,10/8/06 5:43:54 PM,13921,0.0.0.0 File23=@notebutton.swf,$(AppPath)\images,,,10/8/06 4:14:18 PM,12897,0.0.0.0 File24=@nic.ico,$(AppPath),,,11/16/05 11:09:28 AM,3262,0.0.0.0 File25=@next.swf,$(AppPath)\images,,,10/8/06 5:41:10 PM,13966,0.0.0.0 File26=@lvlele.swf,$(AppPath)\images,,,10/6/06 12:46:40 PM,40830,0.0.0.0 File27=@inyourownwordsdisable.swf,$(AppPath)\images,,,10/20/06 11:12:36 AM,14323,0.0.0.0 File28=@inyourownwords.swf,$(AppPath)\images,,,10/7/06 4:17:12 PM,32220,0.0.0.0 File29=@ibuttondisable.swf,$(AppPath)\images,,,10/20/06 11:18:42 AM,1267,0.0.0.0 File30=@ibutton.swf,$(AppPath)\images,,,10/7/06 3:39:28 PM,2026,0.0.0.0 File31=@home_sel.swf,$(AppPath)\images,,,10/6/06 2:02:48 PM,9958,0.0.0.0 File32=@englishrounderbuttonsstoey.swf,$(AppPath)\images,,,10/6/06 2:19:56 PM,80251,0.0.0.0 File33=@englishrounderbuttonsbacktohome.swf,$(AppPath)\images,,,10/7/06 12:45:00 PM,9927,0.0.0.0 File34=@englishrounderbuttonsbacktoarchiuve.swf,$(AppPath)\images,,,10/7/06 12:12:10 PM,12315,0.0.0.0 File35=@englishrounderbuttonlogo.swf,$(AppPath)\images,,,10/26/06 4:22:36 PM,28802,0.0.0.0 File36=@engbuttons_lastest.swf,$(AppPath)\images,,,10/6/06 11:03:28 AM,16386,0.0.0.0 File37=@engbuttons_backward.swf,$(AppPath)\images,,,10/6/06 10:43:30 AM,5065,0.0.0.0 File38=@engbuttons.swf,$(AppPath)\images,,,10/6/06 10:50:38 AM,3057,0.0.0.0 File39=@Ebuttondisable.swf,$(AppPath)\images,,,10/20/06 11:17:38 AM,1302,0.0.0.0 File40=@Ebutton.swf,$(AppPath)\images,,,10/7/06 3:36:38 PM,2201,0.0.0.0 File41=@creativewritingdisable.swf,$(AppPath)\images,,,10/20/06 11:01:34 AM,13679,0.0.0.0 File42=@creativewriting.swf,$(AppPath)\images,,,10/20/06 11:01:44 AM,30208,0.0.0.0 File43=@bkgnd1.JPG,$(AppPath)\images,,,10/26/06 2:14:24 PM,76988,0.0.0.0 File44=@ans.swf,$(AppPath)\images,,,10/8/06 5:37:48 PM,24505,0.0.0.0 File45=@animation1.swf,$(AppPath)\images,,,10/19/06 4:28:38 PM,10636,0.0.0.0 File46=@airyourviewsdisable.swf,$(AppPath)\images,,,10/20/06 10:58:08 AM,13204,0.0.0.0 File47=@airyourviews.swf,$(AppPath)\images,,,10/20/06 10:47:56 AM,28742,0.0.0.0 File48=@abuttondisable.swf,$(AppPath)\images,,,10/23/06 11:35:44 AM,1307,0.0.0.0 File49=@abutton.swf,$(AppPath)\images,,,10/23/06 11:34:50 AM,2211,0.0.0.0 File50=@Nic.exe,$(AppPath),,,12/20/06 8:06:30 PM,360448,1.0.0.0 File51=@logobig.jpg,$(AppPath)\images,,,9/12/05 5:24:02 PM,56343,0.0.0.0 File52=@credits.jpg,$(AppPath)\images,,,12/12/06 1:03:34 AM,20651,0.0.0.0 [font="Verdana"]Keith (Kogmedia)[/font]My ScriptQuick Search - Internet / Hard Drive Search Link to comment Share on other sites More sharing options...
yeekyj1 Posted July 3, 2007 Author Share Posted July 3, 2007 You need to remove all the refs that are old... not just that one Replace the [setup1 Files] with this below hi kogmedia,after I installed the software using your method of silent installation,the software could not work...I think something is corrupted....but if i manually install the software it was ok.....as I mention earlier I had tried your method on other software but none of them could work so i think there should be a script which works similarly with the automated installation of winzip want but I just not sure how to make it works. could you pls write me a sample script similar to the winzip script which i attached earlier in the message...?so sad that still not able to get the problem solved ,thank you! Link to comment Share on other sites More sharing options...
yeekyj1 Posted July 4, 2007 Author Share Posted July 4, 2007 hi kogmedia,after I installed the software using your method of silent installation,the software could not work...I think something is corrupted....but if i manually install the software it was ok.....as I mention earlier I had tried your method on other software but none of them could work so i think there should be a script which works similarly with the automated installation of winzip want but I just not sure how to make it works. could you pls write me a sample script similar to the winzip script which i attached earlier in the message...?so sad that still not able to get the problem solved ,thank you!Hi kogmedia, so did you manage to find any solution? Link to comment Share on other sites More sharing options...
Kogmedia Posted July 4, 2007 Share Posted July 4, 2007 $title = "Version Conflict"While 1WinWait($title)WinActivate($title)ControlClick($title,"&Yes","")WEnd [font="Verdana"]Keith (Kogmedia)[/font]My ScriptQuick Search - Internet / Hard Drive Search Link to comment Share on other sites More sharing options...
yeekyj1 Posted July 4, 2007 Author Share Posted July 4, 2007 hi kogmedia,these line of codes have to paste where?can give detailed instruction?thanks so much! Link to comment Share on other sites More sharing options...
yeekyj1 Posted July 4, 2007 Author Share Posted July 4, 2007 Download file extract NIC.exe from zip file and place it in your c: drive open with winrar and press alt+x select advanced sfx, at the top select Modes, under silent select hide all, Click Ok until closed Now this script will get you started ShellExecute(@HomeDrive & "\NIC.exe") WinWait("News in Class English Setup", "") WinActivate("News in Class English Setup", "") ControlClick("News in Class English Setup", "", 2) Sleep(1000) WinWait("News in Class English Setup", "&Change Directory") WinActivate("News in Class English Setup", "&Change Directory") ControlClick("News in Class English Setup", "", 1) Sleep(500) WinWait("News in Class English - Choose Program Group", "") WinActivate("News in Class English - Choose Program Group", "") ControlClick("News in Class English - Choose Program Group", "", 4) is there anyway i can change the location of nic.exe to other places and the script can also work?if for other software how should i go about writing a silent installation script? Link to comment Share on other sites More sharing options...
yeekyj1 Posted July 4, 2007 Author Share Posted July 4, 2007 Do what I said and then comile this script FileInstall(@HomeDrive & "\NIC.exe", @HomeDrive "\") ShellExecute(@HomeDrive & "\NIC.exe") WinWait("News in Class English Setup", "") WinActivate("News in Class English Setup", "") ControlClick("News in Class English Setup", "", 2) Sleep(1000) WinWait("News in Class English Setup", "&Change Directory") WinActivate("News in Class English Setup", "&Change Directory") ControlClick("News in Class English Setup", "", 1) Sleep(500) WinWait("News in Class English - Choose Program Group", "") WinActivate("News in Class English - Choose Program Group", "") ControlClick("News in Class English - Choose Program Group", "", 4) hi...googemyster, when i use the script to run the nic software,it automated all the way until the part which says version conflicts and just stop there....is there anyway to let it automatically click the yes button at the version conflict there? thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now