Hi,
I have tried and it seems that it will work if I can pass the following trouble.
I get the uninstallstring using:<Property Id="REGISTRYFOROLDINSTALLER">         
        <RegistrySearch Id="OldInstallerRegistryKey" Root="HKLM" 
Key="SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\4553c9c9-172b-4d73-97d0-a667d4dd6685"
 Name="QuietUninstallString" Type="file" /></Property>
This returns me: C:\Program Files (x86)\MyApplication\
Then I have a custom action to run the uninstaller string.<CustomAction 
Id='uninstallOldInstallation' Property='REGISTRYFOROLDINSTALLER' 
ExeCommand='-S' Execute='immediate' Return='check' HideTarget='no' 
Impersonate='no'></CustomAction>
<InstallExecuteSequence>        <Custom Action="uninstallOldInstallation" 
Before="InstallFiles">REGISTRYFOROLDINSTALLER</Custom></InstallExecuteSequence>

I got the following error in the debug logs:Error 1721. There is a problem with 
this Windows Installer package. A program required for this install to complete 
could not be run. Contact your support personnel or package vendor. Action: 
uninstallOldInstallation, location: C:\Program Files (x86)\MyApplication\, 
command: uninstall.exe -S
It should work fine to me but I have no clue why I am getting this error. I 
tried also type:raw in RegistrySearch but get the same error in the end.
I'd appreciate if you could shed some light.Thanks.
> From: c...@live.com
> To: wix-users@lists.sourceforge.net
> Date: Sat, 21 Jun 2014 05:19:49 +0000
> Subject: Re: [WiX-users] Unable to uninstall previously installed product
> 
> I will give it a try and come back if it doesn't work.
> Thanks a lot.
> 
> > Date: Fri, 20 Jun 2014 14:41:06 -0500
> > From: jeremi...@gmail.com
> > To: wix-users@lists.sourceforge.net
> > Subject: Re: [WiX-users] Unable to uninstall previously installed product
> > 
> > Sorry, I misunderstood as I am not familiar with InstallerJammer.
> > 
> > I did find this though.
> > 
> > http://stackoverflow.com/questions/14334012/how-can-perform-a-silent-uninstall-with-installjammer
> > 
> > 
> > Again, I'm not familiar with InstallerJammer and I'm assuming it doesn't
> > use WindowsInstaller???
> > 
> > Since you can have only have one install/uninstall at one time on a windows
> > machine this might not work if you try to uninstall during your new install.
> > 
> > 
> > On Fri, Jun 20, 2014 at 10:45 AM, Dolevo Jay <c...@live.com> wrote:
> > 
> > > Previous installer was InstallJammer. So, what would be the best solution
> > > for this? Should I call uninstaller of the previous installation in
> > > InstallExecuteSequence ? Any example for this?
> > >
> > > > Date: Fri, 20 Jun 2014 10:30:11 -0500
> > > > From: jeremi...@gmail.com
> > > > To: wix-users@lists.sourceforge.net
> > > > Subject: Re: [WiX-users] Unable to uninstall previously installed 
> > > > product
> > > >
> > > > What was the previous installer?
> > > >
> > > >
> > > > On Fri, Jun 20, 2014 at 9:32 AM, Phill Hogland <phogl...@rimage.com>
> > > wrote:
> > > >
> > > > > The update behavior of msiexec and the UpdateCode property are
> > > specific to
> > > > > MSI based technology.  It would not know about other technologies like
> > > > > InstallJammer.
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > View this message in context:
> > > > >
> > > http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Unable-to-uninstall-previously-installed-product-tp7595380p7595383.html
> > > > > Sent from the wix-users mailing list archive at Nabble.com.
> > > > >
> > > > >
> > > > >
> > > ------------------------------------------------------------------------------
> > > > > HPCC Systems Open Source Big Data Platform from LexisNexis Risk
> > > Solutions
> > > > > Find What Matters Most in Your Big Data with HPCC Systems
> > > > > Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
> > > > > Leverages Graph Analysis for Fast Processing & Easy Data Exploration
> > > > > http://p.sf.net/sfu/hpccsystems
> > > > > _______________________________________________
> > > > > WiX-users mailing list
> > > > > WiX-users@lists.sourceforge.net
> > > > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > "They may forget what you said but they will never forget how you made
> > > them
> > > > feel." -- Anonymous
> > > >
> > > ------------------------------------------------------------------------------
> > > > HPCC Systems Open Source Big Data Platform from LexisNexis Risk 
> > > > Solutions
> > > > Find What Matters Most in Your Big Data with HPCC Systems
> > > > Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
> > > > Leverages Graph Analysis for Fast Processing & Easy Data Exploration
> > > > http://p.sf.net/sfu/hpccsystems
> > > > _______________________________________________
> > > > WiX-users mailing list
> > > > WiX-users@lists.sourceforge.net
> > > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > >
> > >
> > > ------------------------------------------------------------------------------
> > > HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
> > > Find What Matters Most in Your Big Data with HPCC Systems
> > > Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
> > > Leverages Graph Analysis for Fast Processing & Easy Data Exploration
> > > http://p.sf.net/sfu/hpccsystems
> > > _______________________________________________
> > > WiX-users mailing list
> > > WiX-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > >
> > 
> > 
> > 
> > -- 
> > "They may forget what you said but they will never forget how you made them
> > feel." -- Anonymous
> > ------------------------------------------------------------------------------
> > HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
> > Find What Matters Most in Your Big Data with HPCC Systems
> > Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
> > Leverages Graph Analysis for Fast Processing & Easy Data Exploration
> > http://p.sf.net/sfu/hpccsystems
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
>                                         
> ------------------------------------------------------------------------------
> HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
> Find What Matters Most in Your Big Data with HPCC Systems
> Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
> Leverages Graph Analysis for Fast Processing & Easy Data Exploration
> http://p.sf.net/sfu/hpccsystems
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
                                          
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to