Sep 22, 2008 02:39 PM
Custom action throughout the installation process
Hi, I wrote an InstallScript function that displays a background screen. I would like to display that screen throughout the installation process. I've tried to put the function in various places in the custom actions sequence, but kept on getting errors. Would somebody please tell me how this is done? Really appreciate your help.
Sep 23, 2008 03:28 PM
I believe a Web project is just a Basic MSI project with some modifications such as an IISROOTFOLDER directory defined, in which case the restriction about synchronous InstallScript actions applies. (If you project were InstallScript MSI you could easily show a background, but it's almost certainly not worth converting the project for that.) The InstallShield help topic "Enable" mentions this about enabling backgrounds:
To enable window mode, you must call Enable with the BACKGROUND constant, and then again with DEFWINDOWMODE or FULLWINDOWMODE. These constants are not supported for use in Basic MSI setup projects.Unless you're showing the background window in some other way?