MsiGetProductInfoEx() can return the cached MSI location using an argument of INSTALLPROPERTY_LOCALPACKAGE
We discussed doing something similar here once. I'm not convinced it's a worthwhile exercise. You should rather test the functions of the software - which you will be doing anyway. If a file is missing or the installer failed, then the corresponding function will fail. All you're doing is testing if Windows Installer is working, which is Microsoft's job, and it's very reliable. An exception might be if you have lots of conditional installations but that would still be brought to light by normal functional testing. -----Original Message----- From: Rob Hamflett [mailto:rob_hamfl...@sn.scee.net] Sent: 15 November 2012 08:29 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Where can I find the installer that was used. Windows keeps a cached copy of the MSI in C:\Windows\Installer, if that's of any help. You could scan through the MSI files in there and check the properties for the one you want. Rob On 14/11/2012 20:51, tyler.w.r...@accenture.com wrote: > Hello all, > > I am trying to write an application that will go through the file table in an msi and make sure the files on the system are the same version and location. Basically a regression test for our installers. I have everything good except I have no idea how to find the installer that was used to install the product. Basically we use WIX and support multi-instance and I need to know if there is an easy way to find the installer that was used for a specific instance. In the registry I can find the product in the Uninstall area and the closest thing to the installer in there is a MsiExec.exe /X{myguid}. > > Tyler Reid | Operations and Infrastructure | Accenture Software | P&C > Insurance > 1807 Jones Street | Bolivar, MO 65613| USA > Office: +cc.xxx.xxx.xxxx | Fax: 417.777.3792 > E-Mail: tyler.w.r...@accenture.com<mailto:tyler.w.r...@accenture.com> > | www.accenture.com/pcsoftware<http://www.accenture.com/pcsoftware> > > > > ________________________________ > This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by you is prohibited. > > Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security and assessment of internal compliance with Accenture policy. > > ______________________________________________________________________ > ________________ > > www.accenture.com > ---------------------------------------------------------------------- > -------- Monitor your physical, virtual and cloud infrastructure from > a single web console. Get in-depth insight into apps, servers, > databases, vmware, SAP, cloud infrastructure, etc. Download 30-day > Free Trial. > Pricing starts from $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov > ----------------------------------------------------------------------------- - Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users