skylinefighterx
Posts: 17
Joined: Wed Apr 25, 2012 12:25 am

Possible? Trigger OnDemand Search

Hi,
Usually Search Properties are updated when the installer starts. Is it possible to trigger them again via a Custom Action.

Reason for this is that I have Search for a Registry Key thats based on a installation of another program. So when I uninstall this program I need the registry to update itself.
So I want to call my Custom Action and trigger the Search again to tell me that the Registry value does not exists since I removed this program. Is this possible?
Eusebiu
Posts: 4959
Joined: Wed Nov 14, 2012 2:04 pm

Re: Possible? Trigger OnDemand Search

Hi,

I'm afraid that triggering a Windows Installer standard action (i.e. AppSearch) from a custom action is not possible. As a workaround, you can create a simple custom action that searches for the key you need in the registry and use that custom action as many times as you need in your project.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”