Search code examples
windows-7windows-servicesinstallationwindows-installerorca

In the ORCA tool how to bring the "custom action of set up proj" before the "InstallValidate" action?


I am upgrading the version of my app from 1.1.1 to 1.1.2 (say). I have created a set up project for the application using VS2005 & have added a custom action which would programatically end a service running in the previous version(1.1.1) before installing newer version 1.1.2.

But "InstallValidate" happens before custom action.

Hence need to use ORCA to change the sequence i.e I want the custom action to execute before the InstallValidate executes.

Can anyone kindly help me with the detailed steps to bring "InstallValidate" after custom actions.

I am new to the MSI database manipulations.

Thnks In advance.


Solution

  • In Orca go to InstallExecuteSequence and find your custom action. Modify its Sequence field so it has a sequence lower than InstallValidate.