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
- :
- Re: Folder Creation During MinorUpgrade
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
‎Mar 24, 2011
02:12 AM
Folder Creation During MinorUpgrade
Hi ,
Here is what i want to do. There is one folder created under the INSTALLDIR in the files and folder view. This folder is basically an empty folder. What my requirement is like during a fresh installation the installer should not put that folder. It should be only put when the installation is doing a minor upgrade.
To achieve this i tried to use the component condition for that folder component, i conditioned it like IS_MINOR_UPGRADE = "1" or use the featurecondition etc..but nothing seems to be working during this minor upgrade.
One thing i have noted is that the component condition is evaluating during the fresh installtion..
Any one has any suggestion on this...any Help is much appreciated
I am using BasicMSI here
Here is what i want to do. There is one folder created under the INSTALLDIR in the files and folder view. This folder is basically an empty folder. What my requirement is like during a fresh installation the installer should not put that folder. It should be only put when the installation is doing a minor upgrade.
To achieve this i tried to use the component condition for that folder component, i conditioned it like IS_MINOR_UPGRADE = "1" or use the featurecondition etc..but nothing seems to be working during this minor upgrade.
One thing i have noted is that the component condition is evaluating during the fresh installtion..
Any one has any suggestion on this...any Help is much appreciated
I am using BasicMSI here
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 24, 2011
09:24 AM
Have you tried (&parent_feature_name=3) AND (!parent_feature_name=3) And (NOT IS_MAJOR_UPGRADE) ?
However this also should be TRUE for repair/modify mode.
However this also should be TRUE for repair/modify mode.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 27, 2011
11:16 PM
Hey thanks for that post, i tired it and i hate to tell you that it was not working 😞 During upgrade the components state and action are giving the value 3 adn -1. Its not putting that folder.
features state and action are 3 5 during upgrade. I tried with that too but no use. seems like its not at all evaluating that condition to true.
features state and action are 3 5 during upgrade. I tried with that too but no use. seems like its not at all evaluating that condition to true.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 28, 2011
12:03 AM
Go through these in sequence:
http://kb.flexerasoftware.com/selfservice/viewContent.do?externalID=Q103218
http://msdn.microsoft.com/en-us/library/Aa368295
AND
http://msdn.microsoft.com/en-us/library/aa368053
There are some problems when we try to create empty folders directly from the IDE.
Use the above links and modify the Database tables using Direct Editor.
Hope this helps.
http://kb.flexerasoftware.com/selfservice/viewContent.do?externalID=Q103218
http://msdn.microsoft.com/en-us/library/Aa368295
AND
http://msdn.microsoft.com/en-us/library/aa368053
There are some problems when we try to create empty folders directly from the IDE.
Use the above links and modify the Database tables using Direct Editor.
Hope this helps.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 13, 2011
03:14 AM
Hey
i was able to do it. I had to set the component property ReevaluateCondition to yes, and setting the property to IS_MINOR_UPGRADE = "1" seems to have done the trick for me.. Hope this helps for others
i was able to do it. I had to set the component property ReevaluateCondition to yes, and setting the property to IS_MINOR_UPGRADE = "1" seems to have done the trick for me.. Hope this helps for others