The "Component is Installed" Search Type - 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!

cbalcerek
Posts: 1
Joined: Wed Jun 27, 2012 7:13 pm

The "Component is Installed" Search Type

I've never been able to get this search type to work in terms of installing prerequisites. I tested it by opening up an .msi file in Orca
and changed the package code or GUID by going to Summary Information and hitting New GUID.
(The Windows program, Orca allows you to view and edit .msi files.)
Then I saved the .msi(via Orca) and entered the GUID in the GUID section of Advanced Installer "Component is Installed".
I installed this .msi as a prereq as part of my Advanced Installer build, but after its installed I still get a "FAILURE" when I press Test.
Am I missing something in setting this up?
Thanks.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: The "Component is Installed" Search Type

Hello and welcome to Advanced Installer forums,

Please keep in mind that this search type will check if a specific component of the related MSI package is installed or not, and it will check the components GUID not the package code GUID. So, in order to achieve what you want you should open with Orca the MSI prerequisite and use a component GUID from "Component" table for your prerequisite install condition search.

Let us know if this helped.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: The "Component is Installed" Search Type

Reposting article for user cbalcerek, lost due to hardware changes on our servers.

Yes, that helped. Thank you!
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”