Active Search During Installation

Having trouble running Advanced Installer? Got a bug to report? Post it all here.

Active Search During Installation

Postby skylinefighterx » Sat Jun 16, 2012 12:56 am

Hi,
I am currently doing a Extended Search for Product Version (identitfy by Upgrade Code) for a piece of software. So I run this search in one of my dialogs that check to see if this software is installed or not on my machine. So when I first run and the search returns me 0 or false, saying the software is not there. Then I will go and install that piece of software and hit a button to run the test to search to see if that software is installed, it will continue to tell me 0 or false saying that the software is not there even though I have installed it and verified in my Control Panel.

So is there a way to run a active search, because it seems like the Search only runs once when the installer starts. But it never runs again. So I need it to run again to detect if I installed new software.

Thanks guys
skylinefighterx
 
Posts: 9
Joined: Wed Apr 25, 2012 12:25 am

Re: Active Search During Installation

Postby Daniel » Mon Jun 18, 2012 9:10 am

Hello,

Please keep in mind that searches from "Search" page are performed through "AppSearch" Windows Installer standard action.

In order to achieve what you want you should add the related software application as a prerequisite to your main application package, using our "Prerequisite" page. Then, from "Prerequisite Install Conditions Tab" you can condition the related software prerequisite installation using a "Product Version (identify by Upgrade Code)" extended search. In this way the related search will be performed twice:
- first time before the prerequisite installation
- and second time after the prerequisite installation to verify that prerequisite package was successfully installed.

Let us know if this helps, otherwise please give us more details about your scenario.

All the best,
Daniel
Daniel Radu
Advanced Installer Team
http://www.advancedinstaller.com/
Daniel
 
Posts: 2006
Joined: Mon Apr 02, 2012 1:11 pm


Return to Common Problems

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 2 guests