NOTS3W Posted July 11, 2007 Posted July 11, 2007 I have a dillemma. I'm installing many of my larger applications through GuiRunOnce.cmd so that I can silently run the installers from my second hard drive rather than take up space with a huge addon of the same software. I'm working on CorelDRAW 9 which can be installed silently so that GuiRunOnce will continue on. It has two service packs, each of which stops with a reboot now? prompt which I cannot find a way to suppress. (I can manually cancel the reboot request and continue but that defeats the unattended install.)I'm not sure how this works, but evidently Windows automatically reboots after GuiRunOnce completes. At the end of GuiRunOnce, I schedule Cleanup.cmd to run after the next reboot. I don't force a shutdown command, and Cleanup.cmd does run so I assume Windows rebooted between GuiRunOnce.cmd and Cleanup.cmdHere's a fragment of my GuiRunOnce.cmd:start "CorelDRAW 9" /wait "D:\APPLICATION CDS\CorelDRAW 9\Disk 1\setup32.exe" /SILENT /NOREBOOTreg add "HKLM\SOFTWARE\COREL\CorelDRAW\9.0" /v SerialNumber /d XX0XX-0000X00000 /f(more installs go here)(the next line schedules Cleanup to run on the next restart)reg add HKCU\Software\Microsoft\Windows\CurrentVersion\RunOnce /v Cleanup /d %SystemDrive%\Cleanup.cmd /fHere's an example of a service pack install command:start "CorelDRAW 9 SP1" /wait "D:\App Installs\CorelDRAW 9 Service Packs\GR9SP1EN.exe" /SILENTWhat I need is to schedule a second and a third RunOnce to install CorelDRAW's SP1 and SP2 between GuiRunOnce above and Cleanup.cmd. The problem is that the installs don't finish until the user responds to the reboot now? prompt so I'd have to carefully time a shutdown command to reboot only after allowing enough time for the install to get that far. The next question is where do I put these extra command files that run after GuiRunOnce has finished (and the temp folder deleted) so that they too are deleted in the end?Or, is there some other way to do this? Can I slipstream the service packs into CorelDRAW? Is there some other command or switch I can use to install the service packs without stopping on reboot now? Neither /NORESTART nor /NOREBOOT works to suppress those prompts. Corel no longer supports CorelDRAW 9 but I like it and it's paid for.I desperately need some help with this. I'm stuck at this point.Thank you.Ray
0d14r3 Posted July 12, 2007 Posted July 12, 2007 Hi, Ray.Try to use AutoIT to create scripts to answer Y/N to question reboot now? from SP1 and SP2.I no have large experience with AutoIt but many users have used to solution problems identicals.0d
NOTS3W Posted July 12, 2007 Author Posted July 12, 2007 Hi Od.AutoIt may be the only solution. I've been able to create about 90% of my unattended setup without adding yet another installation method, but I may have to learn to use AutoIt to get past this problem. I was hoping there was a way to integrate the service packs into CorelDRAW so that I could install an updated version without applying the service packs individually. But that's not looking very promising.Thanks.Ray
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