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
- :
- How to prevent .Net installer class getting called during minor upgrade?
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
Nov 28, 2016
03:42 AM
How to prevent .Net installer class getting called during minor upgrade?
HI,
We are registering our windows services using the .Net installer class arguments in the component settings. We do not want the service to be registered during a minor upgrade. I tried setting the component condition to "NOT IS_MINOR_UPGRADE". Even then, the installer is trying to register the services with the .Net installer class arguments supplied and gives error message.
From the install log file, it says "Action 0:04:44: _B3B87854DA1D1A89D2DD93DB4ABEE65B.install. ".
Which custom action is getting called during this action? How can I prevent this from running during a minor upgrade?
Thanks,
Sooraj
We are registering our windows services using the .Net installer class arguments in the component settings. We do not want the service to be registered during a minor upgrade. I tried setting the component condition to "NOT IS_MINOR_UPGRADE". Even then, the installer is trying to register the services with the .Net installer class arguments supplied and gives error message.
From the install log file, it says "Action 0:04:44: _B3B87854DA1D1A89D2DD93DB4ABEE65B.install. ".
Which custom action is getting called during this action? How can I prevent this from running during a minor upgrade?
Thanks,
Sooraj
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Dec 07, 2016
04:42 AM
I fixed this by editing the msi using "C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Bin\MsiDb.exe" to add "NOT IS_MINOR_UPGRADE" condition to the .Commit, .Install and .Rollback custom actions to prevent .net installer class getting called during minor upgrade.
This exe was called after building the msi in the build machine.
This exe was called after building the msi in the build machine.
![](/skins/images/8C9D13A71C7F7695F3262372C0172D68/responsive_peak/images/icon_anonymous_message.png)