View Full Version : Hide Install Type -- Always do Complete

08-04-2008, 12:24 PM
I've tried hiding the dialog in the Setup.Rul but for some reason the dialog shows up anyways.

Anways, I want the installation to always do complete. I set the nSetupType = COMPLETE; at the top, but it doesn't seem to do anything.

Also, how do I disable the back button on the install dialog (The last screen)? I edited the dialog and set the backbutton as disabled but it is still functional when I go to the screen so something may be set in the background to override it.

I am using InstallScript MSI Project for all this.


08-04-2008, 02:00 PM
If you are not using the setup type dialog you need to call FeatureSetupTypeSet passing it nSetupType in order to specify which setup type to run.

08-04-2008, 02:40 PM
You need to edit the code in OnFirstUIBefore to prevent the call to SetupType2 from occuring. Note that as mentioned above you will need to call FeatureSetupTypeSet if you disable this dialog to get the setup type set correctly.

The SdFinish and related dialogs should automatically disable the back button so you should not need to do this manually (if you did you would call Disable(BACKBUTTON) before calling SdFinish etc. Are you showing some other dialog?

Also, please note if you want to edit dialog source you need to copy the dialog source into your script, if you edit the files contained in Script\ISRT\Include directly this won't have any effect.

Devin Ellingson
Software Developer
Acresso Software

08-04-2008, 02:45 PM
thanks I shall try it.