Way to do componentcheck.cpp without using that code? - 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!

davidsmith
Posts: 59
Joined: Sun Jul 12, 2009 8:33 pm

Way to do componentcheck.cpp without using that code?

Within Advanced Installer, is there a way to check for a component in the same way componentcheck.cpp does, but without using the componentcheck.cpp file?

The function that file uses is either

MsiLocateComponentA(...)

or

MsiLocateComponentW(...)
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Way to do componentcheck.cpp without using that code?

Hello,

You can search for a component by it's GUID using the Search page:
- navigate to the Search page and add a new search
- right click the RESULT_PROPERTY that appears, and choose Add Location->Component from the context menu
- in the right Component Properties pane enter the GUID of the component you want to search for

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”