Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

AppSearch and CompLocator


1 reply to this topic

brwsg

brwsg
  • Members
  • 1 posts

Posted 26 December 2003 - 23:25

Hello,
I have a c++ library I'm trying to package in an MSI file. The main reason for an installer is so the library and headers get installed into the users include and lib directories. The problem is I want it to work with the multiple versions and install types of Visual C++ (dev studio, standard, prof, etc...) , as well as the Platform SDK.

I got it pseudo working by using DrLocator and having it search for stdio.h/libc.lib, but they are too common and I wind up with more than one match (for me it was cygwin/platsdk/dev studio confusing the issue)

My new approach is to use AppSearch/CompLocator with the GUID of the various apps that create an include and lib directory, then getting path information from them. (picking the preferred one first, in this case Visual C++ 6 sp5)

I have a couple questions in regards to this:
Where can I find accurate information about the GUID for the vairious products? (I played around with WListProd.vbs but couldn't get the results I needed)

Is there a "product line guid" or something equivelant?



I guess another approach would be to search for "include" and "lib" directories and then providing a UI to select the appropriate one, but I don't know how to do the UI stuff in MSI.

any help would be greatly appreiciated
Brian Whitman

dcleous

dcleous
  • Members
  • 38 posts

Posted 27 April 2004 - 16:51

Is it possible for you to isolate to a particular file...for the install and look for that file and may be get the version..info..to decide the location instead of looking for a directory?