InstallShield Version 7.00 |
Common errors are:
To diagnose hangs start "PROCESS EXPLORER" and sort by "Startup Time" (adding this column if required). Have a look at the process you started plus any child processes and right click on these and choose the "WindowBring to Front" option. This will hopefully make a dialog visible.
If a file is missing from the image (perhaps you are trying to limit the size of the image) you will probably get a "Setup needs next disk" dialog.
The funny things about an unexplained hang, I've never seen one that didn't go away on a retry or after a reboot!
EXAMPLE |
;---------------------------------------------------------------------------- ;--- "SETUP-I.ISS" points here! --------------------------------------------- ;---------------------------------------------------------------------------- <$DirectoryTree Key="PRODUCTDIR" Dir="c:\Program Files\WrappedProducGoesHere"> ;---------------------------------------------------------------------------- ;--- Install the CD-IMAGE here ---------------------------------------------- ;---------------------------------------------------------------------------- <$DirectoryTree Key="INSTALLDIR" Dir="[PRODUCTDIR]\MsiSource (wrapper)" CHANGE="\"> ;---------------------------------------------------------------------------- ;--- Set up the response file created with "setup.exe /r" (created in "c:\winnt" dir) --- ;---------------------------------------------------------------------------- #( #define AddResponseFile <$File Source="{$ISS}" Destination="[INSTALLDIR]\{$ISS}" Comment=^Response file for {$FOR} (renamed "setup.iss" file). Generated by manual {$FOR} of product using "setup.exe /r".^> <$SourceFile FileName="{$ISS}" HTML="Y"> #) <$AddResponseFile ISS="setup-I.iss" FOR="installation"> <$AddResponseFile ISS="setup-UI.iss" FOR="uninstallation"> ;---------------------------------------------------------------------------- ;--- Install InstallShield based Installer ---------------------------------- ;---------------------------------------------------------------------------- #( <$WrapInstall ;--- Where is the CD Image? ----------------------------------------- CdImage=".\CD-IMAGE" ;--- INSTALL -------------------------------------------------------- EXE="[INSTALLDIR]setup.exe" Args='/s /f1"[INSTALLDIR]setup-I.iss" /f2"[INSTALLDIR]setup-I-<$ProductVersion>.log"' ;--- UNINSTALL ------------------------------------------------------ UninstallExe="[INSTALLDIR]setup.exe" UninstallArgs='/s /f1"[INSTALLDIR]setup-UI.iss" /f2"[INSTALLDIR]setup-UI-<$ProductVersion>.log"' ;--- VALIDATION ----------------------------------------------------- UninstallKey="{149511F11-4375-4557-5541-8F9217A15480}" > #)