I am adding a registry value that is assigned to an install parameter. During the install I call a custom action that sets install parameter to the appropriate value. When the install finished the registry contains the initial value and not that value that was set in the custom action. To make sure I had everything correct, I added some message boxes to display the install parameter. I did this prior to calling my custom action and then again after the custom action completed and then before the registry was written out and then again after the registry was written. Each message box contained the value that I expected but the registry contained the default value of the install parameter.
What I have tried:
I set the install parameter to "Set persistent property"
Components property for the Registry value set to "Permanent"
Can you tell me why the registry value is not being set to the install parameter after it was changed by a custom action?
I attached the aip.
Thanks,
Brad
FOLLOW US
Get the latest news in Application Packaging