cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
ranish_pc
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 1.0.1.0 and later we added some feature to the application and created new version 1.0.1.1 . 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

Ranish
0 Kudos
1 Reply
NameTooShort
Level 7 Flexeran
Level 7 Flexeran

Hello Ranish,

Try changing the version number to 1.0.2.0 instead of 1.0.1.1. 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