Re: [WiX-users] Uninstall Previous Inno Setup Installed App

2011-03-14 Thread Jammer
Hi All, I've gotten evey thing working now. Thanks for the help. The only problem I see now is that I get a second file prompt when the uninstaller is run. The uninstaller does it's thing and then the GUI switches back to my new Wix installer and completes the install of the new version but

Re: [WiX-users] Uninstall Previous Inno Setup Installed App

2011-03-12 Thread Jammer
Hi Rob, I've just tried these new settings and I'm getting an error. "The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2613". Which seems to be a scheduling issue with the RemoveExistingProducts actio

Re: [WiX-users] Uninstall Previous Inno Setup Installed App

2011-03-12 Thread Rob Mensching
Seems like you'd want the uninstall to be deferred. I'd mark the CustomAction deferred and schedule after InstallInitialize. On Sat, Mar 12, 2011 at 5:57 AM, Jammer wrote: > Hi All, > > I've got this working now, but there is one major problem. It appears > there is some form of race condition.

Re: [WiX-users] Uninstall Previous Inno Setup Installed App

2011-03-12 Thread Jammer
Hi All, I've got this working now, but there is one major problem. It appears there is some form of race condition. According to the MSI log my custom action is being run: Action 13:35:42: ca.RemovePreviousVersion32. Action start 13:35:42: ca.RemovePreviousVersion32. Action ended 13:35:49: ca.

Re: [WiX-users] Uninstall Previous Inno Setup Installed App

2011-03-11 Thread Jeremy Farrell
One thing is that it looks like you're not allowing for the automatic redirection of various things such as the registry when you run 32-bit things on a 64-bit system. If your installer is 32-bit and you run it on a 64-bit system, then references to 'SOFTWARE\Microsoft' will get silently redirec

Re: [WiX-users] Uninstall Previous Inno Setup Installed App

2011-03-11 Thread Jammer
Hi Again, I've just created a log of my installer and it seems that I've got some of it work now but the last test just left me with a mangled install that won't uninstall :( According to the log both of these searches found their registry values, which is confusing since using regedit I can o

Re: [WiX-users] Uninstall Previous Inno Setup Installed App

2011-03-11 Thread Jammer
Hi All, I thought I was on the right track with this, but after some testing it's not working as expected. I've defined this in my installer: VERSIONNT64 VERSIONNT As sean said below he uses QuiteUninstallString but in the registry that is the "path to the uninstall.exe" with

Re: [WiX-users] Uninstall Previous Inno Setup Installed App

2011-03-11 Thread Jammer
] > Sent: 10 March 2011 20:43 > To: wix-users@lists.sourceforge.net > Subject: [WiX-users] Uninstall Previous Inno Setup Installed App > > Hi All, > > I've just rewritten my installer using WiX 3.5. However, before I > distribute the new MSI I'm dotting all the i and cro

Re: [WiX-users] Uninstall Previous Inno Setup Installed App

2011-03-10 Thread Sean Farrow
going! Cheers Sean. -Original Message- From: Jammer [mailto:jam...@jammer.biz] Sent: 10 March 2011 20:43 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Uninstall Previous Inno Setup Installed App Hi All, I've just rewritten my installer using WiX 3.5. However, before I

[WiX-users] Uninstall Previous Inno Setup Installed App

2011-03-10 Thread Jammer
Hi All, I've just rewritten my installer using WiX 3.5. However, before I distribute the new MSI I'm dotting all the i and crossing the t's this time! The problem is that I need to make sure the previous .exe setup is removed before installing the new msi version. So, i've been looking at va