Hi,
I want to supply a value to an Ini File entry during upgrade and clean install. For an upgrade I want to use the results of a search and for a clean install I want to supply the value from a command line parameter. What is the recommended way fo doing this ? My plan was to use the same property name for the search and the parameter but I notice that the search property name is stored in the AppSeearch table but the property to use to receive a command line parameter is stored in the Property table. While the MSI validates ok in Orca, I'm not sure if this method could cause errors due to the need for Windows Installer to resolve a duplicate name.
Example contents of ini file
[MySection]
MyKey=[SEARCH_AND_PARAMETER_PROPERTY]
Will this work, where the property SEARCH_AND_PARAMETER_PROPERTY is used to store the results of a search and the value of a command line parameter ?
Or is there a better way of achieving the same result ?
Thanks,
Alastair
FOLLOW US
Get the latest news in Application Packaging