Orsi Posted September 6, 2011 Posted September 6, 2011 Hey there. Im facing a weird problem.I made an unattended Win 7 Ultimate 64x setup using both RT7Lite and Reverse Integration. Everything's perfect, except by the fact if I try to use SetupComplete to install some applications, it starts the installations but after some minutes it skip right to the last one - which is reboot.What can be wrong? The same thing happens even if I tell it to run a sleep AutoIt script
Tripredacus Posted September 6, 2011 Posted September 6, 2011 Enable logging on those installs if possible. Also you can write to a log file or the Application Event Log with AutoIT as well.
Tripredacus Posted September 6, 2011 Posted September 6, 2011 Well first, you'd need to research what kind of installers you are using. Also, you can check any logs in the Windows folder, you may find something there.
Orsi Posted September 6, 2011 Author Posted September 6, 2011 It happens when im installing the 2nd app. The first is Adobe Reader and the second is Adobe Master Collection, which shall take almost 30 min. to be completely installed. It seems to use a xml installer - its controls have no click coords or something and it cant be installed silently.I took a look at the Panther and Setup folder logs and they dont point any error.Im installing it again but this time I'll skip Adobe softs to see it thats the cause.
Orsi Posted September 6, 2011 Author Posted September 6, 2011 ITs Adobe CS5 Master Collection fault indeed. Ni! (as Monty Python would say)
iamtheky Posted September 6, 2011 Posted September 6, 2011 (edited) i would run a blocking function like a msgbox autoit script and then a line to restart in the script, rather than in setupcomplete. should prevent it from running off without you being able to see what is occuring. My guess is you are running adobe***.exe from setupcomplete but that process is spawning another installer and ending - when seupcomplete sees that first process end it moves on.something like the below should allow you to wait for a complete installation (edit.: and watch the process)run ("taskmgr.exe")msgbox(0, '' , Click Ok when complete")run ("shutdown -r -t 0" )...once you have it installing completely i would see if there is a logfile or something it writes last, or get the last process and use that to queue up that shutdowni.e.while 1if processexists("lastprocess.exe") Thenif not processexists("lastprocess.exe") Then run ("shutdown -r -t 0" )sleep (50) ;edit 2 - no need to loop as hard as possibleEndif Edited September 6, 2011 by iamtheky
Tripredacus Posted September 6, 2011 Posted September 6, 2011 Oh yeah, definately didn't think about if you are trying to script concurrent installs or not. All my installers will use RunWait() and rarely have to script any waiting like Iamtheky recommends.
Orsi Posted September 6, 2011 Author Posted September 6, 2011 The script starts like below-Run("AdobeCS5\Set-up.exe")Sleep(35000)WinWait("[CLASS:_macr_PDAPP_Native_frame_window_CS4]")If Not WinActive("[CLASS:_macr_PDAPP_Native_frame_window_CS4]") Then WinActivate("[CLASS:_macr_PDAPP_Native_frame_window_CS4]")WinWaitActive("[CLASS:_macr_PDAPP_Native_frame_window_CS4]")MouseClick("left", 730, 530, 1, 25)its pretty basic as you can see and im having to use MouseClick because, like I said, theres no way to use ControlClick.I never build a script using the method imtheky said, so can you a sample using the code above? Pls?
iamtheky Posted September 7, 2011 Posted September 7, 2011 what are you mouseclicking? and if you are only sleeping 35 seconds, if you were trying to sleep 35 min = sleep(2100000)my aim would be to wait for all the other exes in the cs5 suite to finish. which process is last? if its not going to be completely automated just hang a msgbox after your commands and click it when you are done.
Orsi Posted September 7, 2011 Author Posted September 7, 2011 Im mouseclicking the next button and after that the installer will unpack itself, which takes about 35 secondsIts hard to find which is the last process since seems there's only one executable file in the packageThe idea its to make a completely automated script, just like the others
Tripredacus Posted September 8, 2011 Posted September 8, 2011 Are there no silent install switches for this program? Can you open the "Set-up.exe" with WinRar to find the real installer?
Orsi Posted September 8, 2011 Author Posted September 8, 2011 Adobe Master Collection contains several Adobe softwares (Photoshop, Illustrator, Premiere and so on). What Set-up.exe do is to install them all in the right order, like Windows Live do.Yesterday I installed it using the Reverse Integration method, much easier and painless
allen2 Posted September 8, 2011 Posted September 8, 2011 There is a silent install for adobe master collection cs5.
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