Using RegCreate in OnPlanComplete...

Oct 3, 2013 at 10:23 AM

I'm trying to workaround a bug (I think) in as much as if a checkbox is checked, and then a component forces a reboot, the checkbox is state is not persisted post-reboot..

My idea is to create a reg key in OnPlanComplete based on the checkbox state... post reboot it can be read back into the variable value for the last MSI (in this scenario)..

If I try to create the reg key, I get GENERAL_ACCESS_DENIED... I think this is because on my vanillla Win7 VM, that BA function is called before the UAC prompt appears..

Any ideas?

Oct 7, 2013 at 4:13 PM
I think the way burn does this sort of thing is to add the configuration to the command line but it is not something I have tried. It does sound like something that should be possible though.