Default Value for Registry Search - 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!

JaedenRuiner
Posts: 12
Joined: Thu Apr 01, 2010 4:12 am

Default Value for Registry Search

Hello,
I have a registry search in my installation that may or may not be present. Basically it is looking for a specified path in the registry which returns a value that is the installation folder of another application. However, in some circumstances this "registry entry" does not exist. Now my current system uses this variable [MY_APP_PATH] as the Application Folder in the Install Parameters. If the registry entry does not exist, the installer has a problem and crashes prematurely. I would like to have the Search attempt to find the Registry Value. If the Value does not exist, then it should set the [MY_APP_PATH] variable to a "default" value, so the installation can proceed regardless.
Is this possible, and how would i achieve it?
Thanks
Jaeden "Sifo Dyas" al'Raec Ruiner
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Default Value for Registry Search

Hello Jaeden,

Please follow this link which debates the same issue.

Best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”