
deramor asked a question.
I am trying to pass the value of a check box on a Wizard page to a parcel in a suite project. I ran across this article:
https://community.revenera.com/s/article/passing-a-suite-property-to-command-line-of-package
Though I tried this approach, it didn't seem to work. The suite log says:
MSI parcel command line: /v"IS_INSTALL_POLICY_FILES=\"[CHECKBOX_POLICY_FILES]\""
And the parcel sees its command line as:
/v"IS_INSTALL_POLICY_FILES=\"\""
At first glance, since the check box was not checked, it appears correct. From the Suite debug log I see:
Engine: property 'CHECKBOX_POLICY_FILES' value now ''
The Parcel has a install level condition on a feature:
Level:1 Condition: IS_INSTALL_POLICY_FILES="1" OR REMOVE="ALL"
InstallLevel for the feature is 101. InstallLevel for the project is 100.
I expect that the feature condition is false and the install level will not be changed. However the components under that feature are installed.
Just to be safe, I also added the property IS_INSTALL_POLICY_FILES to the SecureCustomProperties.
In all my testing, the state of the check box in the suite UI does nothing to disable or enable the feature in the parcel. I can't even find where or if the condition is being evaluated in the log. Any thoughts?