Search Property Custom Action after Install - 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!

alexzizzi
Posts: 13
Joined: Wed Apr 30, 2008 10:44 pm

Search Property Custom Action after Install

Hi,

I'm trying to get the raw data from a registry value during or after the install in a custom action. I know that I can use a Search Property at the beginning of the install, but I'm not sure on how to search again during the install. I know that this is possible to do using vbscript, however I don't know enough vbscript in order to make this possible. Any example vb script would be awesome. Thank you.
alexzizzi
Posts: 13
Joined: Wed Apr 30, 2008 10:44 pm

Re: Search Property Custom Action after Install

Hi again,

Just going to provide some more info so that way I can understand the vbscript even better if one is provided. The registry value that I'm trying to pull is from HKEY_CURRENT_USER\Software\TestProgram\IDNumber with IDNumber as the value. Thanks again.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Search Property Custom Action after Install

Hi,

Unfortunately Windows Installer can perform searches only at the beginning of the installation. However, you can use a custom action to retrieve registry entries at any point of the install process. You can find some sample VBScript code here.

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

Return to “Common Problems”