PDA

View Full Version : How to run installscript for patch



raj@123
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

2008).
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?

mask_sd
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.

raj@123
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?

raj@123
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.

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