Nov 21, 2017
09:18 AM
Thanks DLee65. Just to clarify all the points that you have touched upon. I had the condition put for both the feature and the component as i was not sure which is the right place. I have changed it to the Feature after your recommendation and have set the level to 1. The value that i read from the config file can be one of two values say, ONE and TWO. If (property=ONE) install some features, If(property=TWO), install some other features is what i am looking for. The INSTALLLEVEL property in the log is set to 100. I had initially not associated any component to the features, but now i have done that. Now i see that nothing is getting installed in the Program Files directory, it is probably because the condition are not evaluated correctly... why have you used ~= in your example? Is that same as == in C#? I am setting the property before the CostFinalize and so i am good there. How can i figure out if the condition that i am including is actually being evaluated? And how can i know what is the value of the property that i am using in the condition when the condition is being executed?
... View more
Nov 20, 2017
06:45 AM
Hi, I have created a property that will get set with a value read from an XML file during installation. I have a custom action that reads the XML file and updates the property and all this works fine. I am trying to restrict or allow certain components/Features to be copied based on the value held in the property and this does not seem to work. I have added a condition like "property = value" to the Features but they are getting copied always. How can i check if the value of the property is what i expect it to be during the copy? I have validated the value is indeed updated by calling MsiGetProperty on the property after the MsiSetProperty. Any help is appreciated as this is urgent. thanks.
... View more
- Tags:
- property condition
Labels
- Labels:
-
InstallShield 2016
Nov 10, 2017
05:22 AM
Hi, I have a requirement where the first application that will be launched by the user is a html application that has a link to invoke the setup.exe. While invoking, the html app will pass some custom arguments using the /z option. I have tried accessing the CMDLINE variable but have not been successful. Can someone help to achieve the same?
... View more
- Tags:
- cmdline
- installscript
Labels
- Labels:
-
InstallShield 2016
Latest posts by snatarajan
Subject | Views | Posted |
---|---|---|
894 | Nov 21, 2017 09:18 AM | |
1598 | Nov 20, 2017 06:45 AM | |
1163 | Nov 10, 2017 05:22 AM |
Activity Feed
- Posted Re: Conditional copy of merge modules not working on InstallShield Forum. Nov 21, 2017 09:18 AM
- Posted Conditional copy of merge modules not working on InstallShield Forum. Nov 20, 2017 06:45 AM
- Tagged Conditional copy of merge modules not working on InstallShield Forum. Nov 20, 2017 06:45 AM
- Posted How to access value stored in CMDLINE in my install script? on InstallShield Forum. Nov 10, 2017 05:22 AM
- Tagged How to access value stored in CMDLINE in my install script? on InstallShield Forum. Nov 10, 2017 05:22 AM
- Tagged How to access value stored in CMDLINE in my install script? on InstallShield Forum. Nov 10, 2017 05:22 AM