You can use Installer.ProductState (http://msdn2.microsoft.com/en-us/library/aa369463(VS.85).aspx) or MsiQueryProductState (http://msdn2.microsoft.com/en-us/library/aa370363(VS.85).aspx) to determine if product is installed and if installed - is it installed per-machine or per-user.
Alex -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of dmcweeney Sent: Wednesday, March 26, 2008 10:00 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] product search using product code? Hi, I'm in the process of moving 4 installers to Wix from Wise and trying to fix up some problems that were made in the Wise edited installers as regards product codes, upgrade codes etc. One basic question I have is it possible to search if a product is installed if you know the product code. If so how? I want to put in some logic that will force a manual remove of existing install before doing new install of Wix built installers. I also want to check if product A is installed, then product B cannot be and visa versa. These existing products do not create any registry entries. Also it is good practise or recommended to create registry entries for tracking if your product is installed - I know if I had some in the previous products I could do a registry search. Thanks Donal -- View this message in context: http://www.nabble.com/product-search-using-product-code--tp16306215p16306215.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users