Showing results for 
Show  only  | Search instead for 
Did you mean: 
Level 2

Install Method of Installer Class not getting fired while Updating the installer

We are working on a WPF application and we used Install Shield Limited Edition to create the installer of the application. As per requirement we need to encrypt the App.config file. So we used an installer class and encrypted the app.config using “DataProtectionConfigurationProvider”. We have written the corresponding code to “Install” method of Installer Class. To associate the installer class to Install Shields we used following way.

Later we have build the application and we are able to successfully create the installer. We also found the the App.config section is encrypted correctly.

Now the issue is “Install” method of “Installer” class not getting fired when we update to new version of the same product. First our version was and later we added some feature to the application and created new version . At that time we notice that the “Install” method of “Installer” class not getting fired.

How we solve this issue? Any help would be appreciable.

Best Regards

0 Kudos
(1) Reply
Level 7 Flexeran
Level 7 Flexeran

Hello Ranish,

Try changing the version number to instead of Windows Installer does not register a upgrade if the 4th field is changed.
I would also check if the upgrade is properly performed.
0 Kudos