Hello Joe,
I previously had the same problem.
When you use a silend setup, no dialogs or even error messages are shown.
If you only want to know if a setup has run correctly you can use a logged setup. Simply add the following line to the commandline:
Code: Select all
..\\YourSetup.exe /l=c:\\logfilename.ext
I was not happy with a setup wich would not give you any information of the progress of even pre conditions etc.
So I created my own variable to check if the setup must be attended or unattended.
All the way on the top of my script I added the following code:
Code: Select all
Set variable SILENTMODE to $SILENT$
If SILENTMODE equals TRUE
Set variable SILENT to FALSE
End
Now you can use the SILENTMODE variable to manually decide what you want to do, and of cource, every messagebox (like errors) will now be shown!
I even edited the progress dialog, wich will be shown in an unattended setup, but does not have any controls on it, so you can see the setup is running.
The only thing you must not forget is to add code like this in the dialogs loop.:
Code: Select all
if Variable SILENTMODE not Equals TRUE
wizard loop
Display Dialog: welcome
[compiler if Variable BUILDMODE not Equals PATCH]
Display Dialog: licensecheck
Display Dialog: readme
Display Dialog: registration
Display Dialog: destination
Display Dialog: startmenu
[compiler end]
Display Dialog: startinstallation
end
GoTo Label: Main Install
[ etc ]
Display Dialog: progress
hope this helps.
Ton Blokhuizen
BMA BV- Netherlands[/code]