You can use a ComponentSearch Element to find the installed location of
an existing component on the system.

- Brett 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> teckJBMsia
> Sent: Thursday, April 19, 2007 3:27 AM
> To: wix-users@lists.sourceforge.net
> Subject: Re: [WiX-users] What is the use of an application 
> (.exe) GUID ?
> 
> 
> Hi,
> 
>   Is it possible for my another installer (.msi) to detect 
> the presence of the EXE by using the GUID ? If it is 
> possible, how to do it ? If it's not possible, is there any 
> other way to do this ? Cheers !
> 
> 
> Mike Dimmick-2 wrote:
> > 
> > Windows Installer installs products in units of components 
> - they are 
> > the building blocks of the installation. It installs a 
> component if it 
> > believes that the component is not up to date or is 
> missing, which it 
> > determines from the component's key path. It stores a list 
> of all the 
> > components which are installed, and the locations they are 
> installed 
> > to, in the Windows registry.
> > This acts as a reference count to decide when to remove the 
> component 
> > on uninstallation.
> > 
> > It is therefore vitally important that the component GUIDs 
> are unique 
> > to each individual component, and that the composition of the 
> > component is the same for each definition of the same component (as 
> > identified by the same GUID). It is also essential that resources 
> > (files, registry keys) are not defined by multiple different 
> > components, as they can be removed prematurely as Windows Installer 
> > detects that one of the components owning that resource has 
> reached a 
> > zero reference count and should be removed.
> > 
> > For more see Rob's blog entry 'Component Rules 101', a copy 
> of which 
> > is in the WiX documentation (WiX.chm) or at 
> > http://blogs.msdn.com/robmen/archive/2003/10/18/56497.aspx.
> > 
> > --
> > Mike Dimmick
> > 
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of 
> > teckJBMsia
> > Sent: 18 April 2007 09:43
> > To: wix-users@lists.sourceforge.net
> > Subject: [WiX-users] What is the use of an application (.exe) GUID ?
> > 
> > 
> > Hi,
> > 
> >    Following is quoted from WIX Tutorial.
> > 
> > <Component Id='MainExecutable'
> > Guid='YOURGUID-83F1-4F22-985B-FDB3C8ABD471'>
> >    <File Id='FoobarEXE' Name='Foobar10.exe' 
> LongName='FoobarAppl10.exe'
> > DiskId='1'Source='FoobarAppl10.exe' Vital='yes'>
> > 
> >    I wish to know what is the purpose of that Guid.
> > 
> >    Besides that, can WIX search for that GUID before installing a 
> > program to make sure that program has not been installed 
> previously ? 
> > ( Note : in my case, the product GUID can be same but not 
> the program 
> > ).
> > 
> >    Cheers !
> > 
> > 
> > 
> > 
> ----------------------------------------------------------------------
> > --- This SF.net email is sponsored by DB2 Express Download 
> DB2 Express 
> > C - the FREE version of DB2 express and take control of 
> your XML. No 
> > limits. Just data. Click to get it now.
> > http://sourceforge.net/powerbar/db2/
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> > 
> > 
> 
> --
> View this message in context: 
> http://www.nabble.com/What-is-the-use-of-an-application-%28.ex
e%29-GUID---tf3599651.html#a10073901
> Sent from the wix-users mailing list archive at Nabble.com.
> 
> 
> --------------------------------------------------------------
> -----------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to