Using a dialog entry as a value in the registry - 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!

kennis
Posts: 2
Joined: Mon Jan 16, 2012 5:48 pm

Using a dialog entry as a value in the registry

Hi! I'm new here, so bear with me :)

Im trying to make a package that asks the user for a value (edit box), then saves this value into the registry. I cant get it to work - i only end up with either the default value of the property, or no value at all (blank).

Enclosing some pictures trying to show what i want to do. I have also tried giving the edit box another propertyvalue e.g. 'testvalue' and using [testvalue] in the registry (not using a property from the install parameters), but no luck.

I just want to take a user entered variable and put it in my registry, any tips? :)

.Kenneth
Attachments
snip3.PNG
snip3.PNG (43.17 KiB) Viewed 2097 times
snip2.PNG
snip2.PNG (97.92 KiB) Viewed 2097 times
snip1.png
snip1.png (181.33 KiB) Viewed 2097 times
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Using a dialog entry as a value in the registry

Hi Kenneth and welcome to Advanced Installer forums,

You might want to consider using public properties( uppercase letters ). Here's the article that explains why:
http://www.advancedinstaller.com/user-g ... rties.html

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
kennis
Posts: 2
Joined: Mon Jan 16, 2012 5:48 pm

Re: Using a dialog entry as a value in the registry

Thanks for your quick reply!
Public properties is what i was looking for, works like a charm now! thanks :)

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

Re: Using a dialog entry as a value in the registry

You're welcome Kenneth, glad to assist ;)

Return to “Common Problems”