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!

redsolo
Posts: 1
Joined: Fri May 03, 2013 1:58 pm

Get parent path of a registry search

Im having a problem when Im creating an installation package that installs an addon into a 3rd party application. This 3rd party application has some registry keys that define where the exe file is ("program files\app\bin\app.exe"), which Ive been able to get into a property using the Searches section. But the problem is that the installation needs to install files to a path that is a peer folder to the bin folder, ("program files\app\other"). I have tried to update a custom action which updates a property using the search result and add "..\other"and use that property in a Folder setting. But when I run the installation it complains that the path can not contain "..".

What is the proper way to get the parent folder of a property so it can be used in a Property folder?

Regards
Erik
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Get parent path of a registry search

Hello Erik and welcome to Advanced Installer forums,

Thank you for your interest in Advanced Installer.

In order to achieve what you want you can take a look on our "Find the folder which contains a file" article which debates a similar issue.

If you have any questions let us know.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”