Parsing ini files and conditions
Posted 19 April 2001 - 21:14
I have this ini that is to be read by the package and based on the entries therein certain features would be installed.. i'm able to read the ini and get values stored in variables. unfortunatly my conditions are not working at all.. I'm not sure if its an install level problem or a condition problem. any help would be greatly appreciated.
Posted 20 April 2001 - 00:27
[application]
help=yes
source=yes
;training=yes
(semi colon is used comment out all entries that are not wanted on the client)
with the inilocator it would evalute all entries under [application] section. So if help=yes gets read, the word yes would be imported into a variable by the name of testvalue as an example. Thus a condition of testvalue=yes would be placed under the feature. If this condition is true then i would like that feature installed else skipped.
Posted 20 April 2001 - 06:31
testvalue="yes"
(put string literals in quotes)
What level do you assign if the condition is true, what is the default level of the features, and what is the INSTALLLEVEL of your setup package?
Feature conditions are evaluated during CostFinalize, i.e. you must set these properties before costing.
Posted 20 April 2001 - 08:49
Posted 20 April 2001 - 14:10
Posted 20 April 2001 - 18:31