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 redirected to 
'SOFTWARE\Wow6432Node\Microsoft' behind the scenes.

If the old installer was 32 bit and you new installer is 32-bit, you should 
just be able to create an installer as if you were targeting a 32-bit system 
and it will do the right thing on both 32 and 64 bit - that's the purpose of 
the automatic redirection system.

> From: Jammer [mailto:jam...@jammer.biz] 
> Sent: Friday, March 11, 2011 8:01 PM
> 
> 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 only find the first 
> Wow6432Node key:
> 
> <Property Id='UNINSTALL_EXE64'>
> <RegistrySearch Id='LocateUninstallExe64' Type='file' Root='HKLM' 
> Key='SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uni
> nstall\{413B7644-1F93-4890-BD40-AC540C29935B}_is1' 
> Name='UninstallString'>
> <FileSearch Id='LocateUninstallExe64File' Name='unins000.exe' />
> </RegistrySearch>
> </Property>
> <Property Id='UNINSTALL_EXE32'>
> <RegistrySearch Id='LocateUninstallExe32' Type='file' Root='HKLM' 
> Key='SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{413B
> 7644-1F93-4890-BD40-AC540C29935B}_is1' 
> Name='UninstallString'>
> <FileSearch Id='LocateUninstallExe32File' Name='unins000.exe' />
> </RegistrySearch>
> </Property>
> 
> I'm running Win7 64 and my old app is installed into Program 
> Files (x86) 
> is this why it ran the 32bit CustomAction?
> 
> <InstallExecuteSequence>
> <Custom Action="ca.RemovePreviousVersion64" 
> Before="InstallFiles">VERSIONNT64</Custom>
> <Custom Action="ca.RemovePreviousVersion32" Before="InstallFiles">NOT 
> VERSIONNT64</Custom>
> </InstallExecuteSequence>
> 
> MSI (s) (C4:64) [19:37:29:528]: Skipping action: 
> ca.RemovePreviousVersion64 (condition is false)
> MSI (s) (C4:64) [19:37:21:422]: Doing action: 
> ca.RemovePreviousVersion32
> 
> Pretty confused by this to be honest I tried VERSIONNT64 and 
> VERSIONNT 
> before this but both evaluated false
> 
> Is the VERSIONNT64 actually referring to Program Files (x86) 
> and not the 
> OS version?
> 
> Also, I think the InstallFiles is wrong as I've ended up with 
> only some 
> of the files from the MSI installer actually being installed.  Or did 
> the time the uninstall execute after some of the MSI files 
> had been copied.
> 
> Off to fix this utterly mangled install ...
> 
> Thanks,
> 
> James
> 
> --------------------------------------------------------------
> ----------------
> Colocation vs. Managed Hosting
> A question and answer guide to determining the best fit
> for your organization - today and in the future.
> http://p.sf.net/sfu/internap-sfd2d
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to