I am attempting to create a custom action that will detect the previous version's ALLUSERS property, but I am having difficulty.  I can get a list of ProductCodes using MsiEnumRelatedProducts, but I have found nothing in the registry that indicates whether a particular product was installed per-user or per-machine.

I tried using MsiGetProductInfo and getting the "ALLUSERS" property but apparently this isn't always set...at least it was not present for our product.

I know InstallShield uses a custom action called ISSetAllUsers that does exactly this.  I actually streamed the DLL out of an IS-authored installer and successfully used it in my WiX-based installer.  However, I would rather ship a product that doesn't use any InstallShield code...especially since I recently convinced my employer to dump InstallShield and allow me to do installer development with WiX.

Does anyone know how to retrieve the ALLUSERS property from the previous version?

John
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to