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!

Search found 2 matches

Go to advanced search

by Dural
Tue Feb 26, 2019 4:15 pm
Forum: Building Installers
Topic: How to get an exist value from Registry and use it?
Replies: 3
Views: 5287
 
Jump to post

Re: How to get an exist value from Registry and use it?

Thank you very much!

It works fine , but 've two last questions:

First , how can I set the alternate destination-path, if the registryValue is empty?

What I mean is the end of this pseudo-code:
Variable = [HKLM\SOFTWARE\MyCompany\MySpecialPath] OR IF SpecialPath ISN'T EXIST ...
by Dural
Tue Feb 26, 2019 1:56 pm
Forum: Building Installers
Topic: How to get an exist value from Registry and use it?
Replies: 3
Views: 5287
 
Jump to post

How to get an exist value from Registry and use it?

Please how is it possible to get a value from a allready exist RegistryValue?

In Inno Setup it's very easy. For example, with this code, I can get a string from the Registry and put it in variable "DefaultDirName"
DefaultDirName={reg:HKLM\SOFTWARE\MyCompany\MySpecialPath,MyAppDir|{pf}\MyAppName ...

Go to advanced search