Joe,
 
Have a look at the MSI Automation interface - through the ProductState property of the Installer object you can find out the installed state of an MSI - including that it is installed for the current or a different user.  At least it might show where the install is.  The WMI interface may provide some more information as well.
 
You could use it as part of a bootstrap for your new install - tell the person installing that the previous version is there and needs to be manually uninstalled first. 
 
When I did this I was lucky it was a server application, so I knew exactly where it was.
 
Michael
-----Original Message-----
From: [EMAIL PROTECTED] on behalf of Joe Kaplan
Sent: Tue 27/06/2006 9:24 AM
To: wix-users@lists.sourceforge.net
Cc:
Subject: [WiX-users] (OT) Screwed up on per machine install;what should I do?

Hi guys,
 
This is more of a general Windows Installer issue than a WiX issue, but I thought I'd solicit the feedback of the list as many of you will certainly have useful opinions.
 
Essentially, last year when I was still quite new with WiX and WI, I built an installer that really really should have been per machine and should have specified ALLUSERS=1, but I didn't know about that and got a per user install instead.  The software installs an IIS add-on and is definitely machine specific. 
 
Now, I'm having the problems you would expect with major upgrades and even simple uninstalls, in that only the user who installed the software can uninstall it or detect that it is installed properly. 
 
What would you do?  I plan to change future versions to do per machine installs, but it would be nice if I had a way to fix the mess I've created.  This software is for internal consumption and hasn't been installed broadly, so I have a reasonable chance of chasing down most of the installs.
 
All insights are greatly appreciated.
 
Joe Kaplan
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