cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
CoreyZ
Level 5

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?
Labels (1)
0 Kudos
(2) Replies
weakness
Level 6

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...
0 Kudos
CoreyZ
Level 5

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!
0 Kudos