Problem updating a registry value - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

aosborne
Posts: 4
Joined: Mon Nov 15, 2010 6:29 am

Problem updating a registry value

Hi,

I've created an advanced installer package, it contains a dialogue box with an edit box where the user enters a license key.

I have then linked this editbox property (called PreemptiveKey) to a registry key. ie. KeyValue is called LicenseKey its type is REG_SZ with a Data value of [PreemptiveKey]

When the MSI runs the registry keys are create, but the LicenseKey does not contain any information, it is blank.

Can you point me in the right direction.

Thanks
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Problem updating a registry value

Hello,

Please note that PreemptiveKey must be a public property(something like PREEMPTIVE_KEY).

The value of a public property is passed on from the InstallUISequence (in which the dialogs are showed) to the InstallExecute Sequence (in which the system is modified).

Regards,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
aosborne
Posts: 4
Joined: Mon Nov 15, 2010 6:29 am

Re: Problem updating a registry value

Thanks so much, uppercasing the propertie's name did the trick.

Cheers

Return to “Common Problems”