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!

sfinks2
Posts: 1
Joined: Sat Aug 11, 2012 3:12 pm

How to set Application Folder from registry values

Hi

We have products which installer is created with advanced installer 7.6.1 (we have license for version 7.6.1).
Now customer wants "patch" that would replace some files.

I want to create separate installer to replace those files, but first problem I ran into is how to read existsing installation folder from registry and set this value for install parameters -> installation folders -> application folder ?



Thanks.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: How to set Application Folder from registry values

Hi and welcome to our forums,

You need to create a registry search, in "Search" page, to retrieve the raw path. Then go to the "Custom Actions" page and add the "Set Installer Property" predefined custom action after "Searches", under "Wizard Dialogs Stage" section. Configure the custom action to set APPDIR with the value of your search.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”