Just a guess but...


<util:RegistrySearch Root="HKLM"
Key="SOFTWARE\Clients\Media\QuickTime" Result="exists"
Variable="QuickTimeFound64" Win64="yes" />
        <util:RegistrySearch Root="HKLM"
Key="SOFTWARE\Clients\Media\QuickTime" Result="exists"
Variable="QuickTimeFound32" Win64="no" />


-----Original Message-----
From: garymonk [mailto:g...@gurudental.com] 
Sent: Monday, July 06, 2015 1:20 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] QuickTime is installing when it is already installed.

I cannot get this to work correctly. Here is the log...

[08B4:040C][2015-07-06T10:50:14]i000: Registry key not found. Key = 
'HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Media\QuickTime'
[08B4:040C][2015-07-06T10:50:14]i000: Setting numeric variable 
'QuickTimeFound64' to value 0
[08B4:040C][2015-07-06T10:50:14]i000: Registry key not found. Key = 
'HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Media\QuickTime'

My registry...

<http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/file/n7600799/Capture.png>
 

My code...

<util:RegistrySearch Root="HKLM"
Key="HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Media\QuickTime" Result="exists"
Variable="QuickTimeFound64" Win64="yes" />
        <util:RegistrySearch Root="HKLM"
Key="HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Media\QuickTime" Result="exists"
Variable="QuickTimeFound32" Win64="no" />
        
        <Chain>
            <PackageGroupRef Id="PackageGroup_NetFx35Redist"/>
            <PackageGroupRef Id="PackageGroup_NetFx40Redist"/>
            <PackageGroupRef Id="PackageGroup_SQLServer2012"/>

            <ExePackage Id="Package_QuickTime" Cache="no"
Compressed="$(var.Compressed)"
                          Description="Apple QuickTime 7"
DownloadUrl="$(var.GuruDownloadRepo)/{2}"
                         
SourceFile="..\Prerequisites\QuickTimeInstaller.exe"
                          Name="Prerequisites\QuickTimeInstaller.exe"
                          Permanent="yes" DisplayName="Apple QuickTime 7"
                          DetectCondition="QuickTimeFound64 AND 
QuickTimeFound32" />

The way I think this should work is that QuickTime32 is false and
QuickTime64 should be true, but as you can see from the log it still comes back 
as false.

I have tried including "Wow6432Node" in the 64bit path but it didn't make any 
difference.

I would appreciate any help!! 



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/QuickTime-is-installing-when-it-is-already-installed-tp7600756p7600799.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that you need 
to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to