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!

rick lomas
Posts: 10
Joined: Sat Aug 04, 2007 10:13 am

Registry Search Failing

I have two custom Searches that look for values from the Registry and set the returned values in Properties that I have set up. They both work when I use the "Test" feature and return the correct values.
I have defined two custom actions under InstallUISequence "Begin" to initialize these Properties. But, when I display the Properties in a Dialog, one Property shows the correct, Registry Value, and the other is blank.
I can see no difference between the way these two Properties are set up.

Any ideas?

Regards,

Rick
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Registry Search Failing

Hi Rick,

Can you please send us the .AIP (project) and a verbose log of the installation to support at advancedinstaller dot com so we can investigate them?

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
rick lomas
Posts: 10
Joined: Sat Aug 04, 2007 10:13 am

Re: Registry Search Failing

Hi Mihai,

Upon further investigation, the problem seems to be:
I have defined a Custom Search that looks up a value from the registry. It returns the correct value when I use the "test" option.
I have defined a Custom Action under InstallUISequence/Begin to "initialize" a Custom Property. The Custom Action Type is Property Set with formatted and the Formatted Text refers to my Custom Search.
When I display the Custom Property in a Dialog, it is blank.

This is different to my initial post, sorry. I should have done more investigation work before contacting you.

Kind Regards,

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

Re: Registry Search Failing

Hi Rick,

I'm afraid this scenario is a little ambiguous, could you please explain why do you need to initialize the properties exactly before the search, as I don't see how this can affect the search.

Also, can you please send us the .aip file to the e-mail address specified by Mihai, or even post it as an attachment on the forums if possible.

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

Return to “Common Problems”