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
- :
- Feature with modified condition not installing 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 15, 2011
03:44 PM
Feature with modified condition not installing during minor upgrade
I have a feature that wasn't allowed to install on 2008 R2 x64 in our previous version.
We now allow the feature to be installed on 2008 R2 x64 by removing the feature conditions.
This feature has couple of new components.
But, since the feature wasn't installed in previous version, minor upgrading doesn't install the feature.
So, I've added a custom action to set property ADDLOCAL to "FeatureName" after LaunchCondition in Execute Sequence and its condition is "Installed".
The problem is, when during a UI install using "msiexec /i mysetup.msi REINSTALLMODE=vomus REINSTALL=ALL", the new feature gets installed.
But, if I do a silent installation using "msiexec /i mysetup.msi /qn REINSTALLMODE=vomus REINSTALL=ALL" the new feature doesn't get installed.
My issue is that I cannot specify any other parameters in the command line.
I have to make it happen in my setup.
If this is not the right way to do it, is there any other way that I can do to install this feature for both UI and Silent minor upgrade?
We now allow the feature to be installed on 2008 R2 x64 by removing the feature conditions.
This feature has couple of new components.
But, since the feature wasn't installed in previous version, minor upgrading doesn't install the feature.
So, I've added a custom action to set property ADDLOCAL to "FeatureName" after LaunchCondition in Execute Sequence and its condition is "Installed".
The problem is, when during a UI install using "msiexec /i mysetup.msi REINSTALLMODE=vomus REINSTALL=ALL", the new feature gets installed.
But, if I do a silent installation using "msiexec /i mysetup.msi /qn REINSTALLMODE=vomus REINSTALL=ALL" the new feature doesn't get installed.
My issue is that I cannot specify any other parameters in the command line.
I have to make it happen in my setup.
If this is not the right way to do it, is there any other way that I can do to install this feature for both UI and Silent minor upgrade?
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 16, 2011
12:43 PM
Try sequencing the custom action in the execute sequence table as well. To skip in the execute sequence if the UI sequence has run, set the Exectution Scheduling setting to 'Execute only once'.
Hope that helps.
Hope that helps.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 16, 2011
12:47 PM
Thanks for you reply, hidenori.
I did put the CA in Execute Sequence, but it's not working...
I did put the CA in Execute Sequence, but it's not working...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 17, 2011
12:05 PM
I think you should be using REINSTALL=ExistingFeature1,ExistingFeature2 and ADDLOCAL=NewFeature........
cos REINSTALL=ALL doesn't let the other to set...............
cos REINSTALL=ALL doesn't let the other to set...............
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 18, 2011
08:53 AM
Thanks for your reply, rrinblue22.
Yes, I understand minor upgrade works if I specify all the existing features for REINSTALL.
But, unfortunately, that's not an option for me.
First, we have many features, so it'll be an issue for user to list all the features that had installed in the previous version.
Second, we deploy our setup to many virtual machines at once (there may be hundreds of them). Those virtual machines may have different features installed. so it's critical for me to keep the command line "msiexec /i REINSTALLMODE=vomus REINSTALL=ALL /qn"
So the bottom line is, is there a way to keep that standard upgrade command line and modify the install so that minor upgrade works and force the modified feature to install?
One more thing. Major upgrade is not an option for me, either.
Yes, I understand minor upgrade works if I specify all the existing features for REINSTALL.
But, unfortunately, that's not an option for me.
First, we have many features, so it'll be an issue for user to list all the features that had installed in the previous version.
Second, we deploy our setup to many virtual machines at once (there may be hundreds of them). Those virtual machines may have different features installed. so it's critical for me to keep the command line "msiexec /i
So the bottom line is, is there a way to keep that standard upgrade command line and modify the install so that minor upgrade works and force the modified feature to install?
One more thing. Major upgrade is not an option for me, either.