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
- :
- Condition for Text File Changes on 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
Sep 14, 2023
07:23 AM
Condition for Text File Changes on Minor Upgrade
Hi, I am using 'Insert at End of File' in 'Text File Changes' to modify a file. That works fine for a first time install. However, I don't want those changes to be made on a Minor Upgrade. That should be as simple as putting a condition on the component, but I can't get that to work. It always makes the change on a Minor Upgrade. I have tried the condition NOT IS_MINOR_UPGRADE=1. I have also tried NOT IS_MINOR_UPGRADE="1".
The log file says that IS_MINOR_UPGRADE=1.
The text gets added to the end of the file again on a Minor Upgrade.
Thanks for any ideas,
Ron
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Sep 15, 2023
10:42 AM
Never mind. Figured it out. I was using separate components for the file and the file changes. It works when I correct that.