cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
ussraf
Level 6

In Upgrade Install, Which Version of Custom Action Will Be Used?

Hi,

I got confused when doing an upgrade install.

Say if I have a custom action CustomAction1 which is implemented in myCA.dll(stored in binary table). Then, I have a newer version of IS project and also CustomAction1 is updated with newer code in the new versioned myCA.dll.

Now I start an upgrade install, which version of custom action InstallShield or Windows Installer will choose?

Thanks.
Labels (1)
0 Kudos
(2) Replies
KathyMorey
Level 10

When you are upgrading, the custom actions are executed from the project doing the upgrading (the new one). However, if you are doing a major upgrade, when the older version uninstalls, it will use the old msi to do that, so during the uninstall the older version of any custom action will run.
0 Kudos
ussraf
Level 6

Thank you Kathy. This is great answer to me.
Though it would be great if InstallShield or Windows Installer can provide some documents on this.:rolleyes:
0 Kudos