This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Install Method of Installer Class not getting fired while Updating the installer
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Apr 25, 2015
04:34 AM
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.
![](/legacyfs/online/vb/10809_Installer.jpg)
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
![](/legacyfs/online/vb/10809_Installer.jpg)
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
- Tags:
- install shield
- wpf
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Apr 29, 2015
02:35 PM
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.
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.
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)