PDA

View Full Version : Use install script with BASIC MSI Project



tdIS2008user
03-04-2008, 04:50 PM
Hi

I'm new to install shield and wanted to know how to use the install script
within MSI Project. I am using an old install script (setup.rul) with functions CheckReqdSoftware, OnFirstUIBefore and OnFirstUIAfter. I created a custom action with Run Install Script code. Not sure if I can insert this as the first action in Sequences\Installation UI and Execute. Will all my functions be invoked .

Appreciate if anyone could guide me on this.

Thanks

MarkEarle
03-05-2008, 11:39 AM
Hello,

I would suggest you look up the excellent post by Robert Dickau, http://community.installshield.com/showthread.php?t=169870. I have quoted it below. The "Creating and Scheduling InstallScript Custom Actions that Call InstallScript Event Handlers for Basic MSI Projects" is what you need.


To assist with migrating your projects from InstallShield versions earlier than InstallShield 12, you might find the following Knowledge Base articles to be of use:

* HOWTO: Upgrading Projects to InstallShield 12
* HOWTO: Creating and Scheduling InstallScript Custom Actions that Call InstallScript Event Handlers for Basic MSI Projects
* HOWTO: Ditto, for InstallScript MSI Projects
* And of course, the InstallShield 2008 release notes


Cheers,

ME