I have two properties, lets call them MY_PROP_PUBLIC and my_prop_private.
The public property has a value, which I would like to use as a default value.
Now the user should be able to change the public property during installation (MSIEXEC/Silent only. I have no GUI Installation.)
I want to define the private property with the value of the public one.
Like:
Properties
Name: MY_PROP_PUBLIC - Value: defaultValue
Name: my_prop_private - Value: testvalue [MY_PROP_PUBLIC]
I would like to be able to set the MY_PROP_PUBLIC property via parameter on a silent installation and if I set it, i want the my_prop_private property to use the new value instead of the already set one.
Example:
Code: Select all
msiexec.exe /i "C:\Example.msi" /qn MY_PROP_PUBLIC="JohnDoe"Is that possible? Because when setting new properties in Advanced Installer Install Parameters, I always get [|MYP_PROP_PUBLIC], so a PseudoFormatted Property. But as far as I know, I need a property without a pipe| to be able to set it during installation.
Greetings
FOLLOW US
Get the latest news in Application Packaging