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

  • 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.
  • 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:

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