cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
manomatt
Level 8

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
Labels (1)
0 Kudos
4 Replies
ElenaN
Level 6

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.
0 Kudos
manomatt
Level 8

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.
0 Kudos
MSIYER
Level 8

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.
0 Kudos
manomatt
Level 8

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