Edit result from 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!

DOM_81
Posts: 2
Joined: Fri Dec 10, 2010 4:42 pm

Edit result from Registry Search

Hello!

I'm new here and after searching the web i could not find a answer.

The problem is that i have to edit the result from a registry search, because i want to use it for Install-Path.

For example the output result is R:\test\temp, i only need R:\!

How can i do this in Advanced Installer?

Greets Dominik
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Edit result from Registry Search

Hi Dominik,

You can try using a custom action to modify the search property. Please note that only Win32 DLL and VBScript custom actions have access to installer properties. This custom action can be scheduled after "InstallUISequence" -> "AppSearch" standard action.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
DOM_81
Posts: 2
Joined: Fri Dec 10, 2010 4:42 pm

Re: Edit result from Registry Search

Hello,

thank you for your respons!

I wrote a DLL in Delphi 5.0 but i does not work right. Can you give me an example how i have to define the Action Data to push the value of APPDIR to my DLL please?
Perhaps you have a Delphi code for me as an example. Don't care what it does.....

Tanks

Greets Dominik
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Edit result from Registry Search

Hi Dominik,

You can try setting Action Data to:

Code: Select all

[APPDIR]
Inside your custom action you can then retrieve the value of CustomActionData property. I'm afraid we don't have sample Delphi code for this.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”