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
- :
- minor upgrade question... regarding properties
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
‎Jan 25, 2012
03:00 PM
minor upgrade question... regarding properties
So it is a little fuzzy to me since I am new to this, and want to make sure I am clear on the functionality.
Currently I have a basic MSI package which installs a web.config file and then does a text replace on it if a checkbox during the user interview gui is checked. It replaces the endpoints with SSL endpoints essentially.
If I use a minor upgrade and in that minor upgrade, there was an alteration to the web.config file which now has more text replacements to do (even though the interview uses the same responses to trigger them), would the ISSearchReplaceInstall run again? And since the minor upgrade doesnt interview... would it have remembered the checkbox state from the original install?
Currently I have a basic MSI package which installs a web.config file and then does a text replace on it if a checkbox during the user interview gui is checked. It replaces the endpoints with SSL endpoints essentially.
If I use a minor upgrade and in that minor upgrade, there was an alteration to the web.config file which now has more text replacements to do (even though the interview uses the same responses to trigger them), would the ISSearchReplaceInstall run again? And since the minor upgrade doesnt interview... would it have remembered the checkbox state from the original install?
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 26, 2012
01:00 AM
Hello.
Generally, you cannot hold properties value after installation.
You have to add custom action in order to preserve that value.
InstallShield Tip: Saving MSI property values to make them available after the initial installation
http://www.flexerasoftware.com/webdocuments/PDF/MsiPropUninst.pdf#acresso
And, you can use condition property 'IS_MINOR_UPGRADE' in order to confirm if it's minor upgrade or not.
http://kb.flexerasoftware.com/selfservice/viewContent.do?externalId=Q112517
I didn't test it, but you might be able to set the Property to ISSearchReplaceInstall custom action and re-run it or not...
Generally, you cannot hold properties value after installation.
You have to add custom action in order to preserve that value.
InstallShield Tip: Saving MSI property values to make them available after the initial installation
http://www.flexerasoftware.com/webdocuments/PDF/MsiPropUninst.pdf#acresso
And, you can use condition property 'IS_MINOR_UPGRADE' in order to confirm if it's minor upgrade or not.
http://kb.flexerasoftware.com/selfservice/viewContent.do?externalId=Q112517
I didn't test it, but you might be able to set the Property to ISSearchReplaceInstall custom action and re-run it or not...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 27, 2012
09:00 AM
weakness wrote:
Hello.
Generally, you cannot hold properties value after installation.
You have to add custom action in order to preserve that value.
InstallShield Tip: Saving MSI property values to make them available after the initial installation
http://www.flexerasoftware.com/webdocuments/PDF/MsiPropUninst.pdf#acresso
And, you can use condition property 'IS_MINOR_UPGRADE' in order to confirm if it's minor upgrade or not.
http://kb.flexerasoftware.com/selfservice/viewContent.do?externalId=Q112517
I didn't test it, but you might be able to set the Property to ISSearchReplaceInstall custom action and re-run it or not...
Interesting... kinda what I thought. Thanks for the reply!
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)