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\Uninstall\{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\{413B7644-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

Reply via email to