View Full Version : How to run installscript for patch

12-18-2008, 05:14 AM
I have to create a patch thru Patch design view in installshield 2008 for my older installer(It was also in installshield

I have a requirement of executing some code thru installscript but i haven't found any thing inside the patch configuration

where i can execute the install script. Can anybody tell me where can i write the install script for patch?

12-20-2008, 07:13 AM
Create the copy of original project and work on it,

If your project is InstallScrip MSI then you can execute the Scripts on the in setup URL select Miscelaneous in that there are events onPatchUIAfter and onPatchUIBefore where you can write down your functions.

For Basic Installscript create the Custom Actions and add the installscript functions using Custom action wizard.

12-22-2008, 07:47 AM
Thanks sandip for the reply.
I am able to run the script now for the patch project. But i have no idea that how can i debug the OnpatchUIBefore() and OnPatchUIAfter() function during execution of the update.exe?

01-02-2009, 01:43 AM
Should I assume that we can not debug the patch project (Update.exe)?
Please acknowledge if anyone has any idea.

09-24-2009, 02:09 AM
Anyone have the solution for this?