Agron
Posts: 16
Joined: Fri Aug 29, 2008 10:57 pm

What Prereqs got skipped or installed?

How can I find out from an action script what Software Prerequisites got Skipped, Downloaded, Failed, or Installed?

Is there an object or a property with such information?

Thanks,
//Agron
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: What Prereqs got skipped or installed?

Hi,

I'm afraid that this is not supported by Advanced Installer. However, you can try duplicating the prerequisite searches in the Search page and use the properties of these searches to determine which prerequisites were installed.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Agron
Posts: 16
Joined: Fri Aug 29, 2008 10:57 pm

Re: What Prereqs got skipped or installed?

Hmm, are these Searches done before the PreReqs are executed?

The reason I am asking is that if one Software PreReq was not installed before, and it was newly installed as part of my installation package, I need to have a custom action executed.

If the software prereq was installed from before, than I don't need to run the custom action.

If the Search is done after the PreReqs than the Software PreReq in question will always be there. I assume the PreReqs are done as part of the bootstrapper, whereas the Search is part of MSIEXEC. And I assume MSIEXEC is only launched when all prereqs are satisfied.

I wish bootstrapper could launch MSIEXEC with PROPERTY_PREREQ01=Installed PROPERTY_PREREQ02=Skipped PROPERTY_PREREQ03=Installed ...and so on.

Thanks,
//Agron
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: What Prereqs got skipped or installed?

Hi Agron,

The searches in the "Search" page run after the prerequisites are installed.
if one Software PreReq was not installed before, and it was newly installed as part of my installation package, I need to have a custom action executed.
If the software prereq was installed from before, than I don't need to run the custom action.
I'm afraid that this cannot be detected. Advanced Installer doesn't offer a way of determining if the prerequisites were already installed or your package installed them.
I wish bootstrapper could launch MSIEXEC with PROPERTY_PREREQ01=Installed PROPERTY_PREREQ02=Skipped PROPERTY_PREREQ03=Installed ...and so on.
We will consider implementing this feature in a future version of Advanced Installer. Thank you for your suggestion.

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

Return to “Common Problems”