FWIW, you don't need the AND NOT clause in your InstallCondition. If the 
DetectCondition is true, Burn knows it doesn't need to install it. The 
InstallCondition at that point can only uninstall the package.

_______________________________________________________________
FireGiant  |  Dedicated support for the WiX toolset  |  
http://www.firegiant.com/ 

-----Original Message-----
From: Hoover, Jacob [mailto:jacob.hoo...@greenheck.com] 
Sent: Wednesday, 1 July, 2015 14:15
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] QuickTime is installing when it is already installed.

It's an EXE package, so burn has no clue how to determine if it's installed or 
not.  Do you have a Reg/File/Msi search to determine if it's installed?  Also, 
I'd suggest using a specific variable for this.

Ex:
    <util:RegistrySearch Root="HKLM" Key="SOFTWARE\Adobe\Adobe SVG Viewer\3.03" 
Value="dir" Variable="AdobeSvgViewerDirectory" /> ..
      <ExePackage
        Id="AdobeSVGViewer"
        ...
        DetectCondition="AdobeSvgViewerDirectory"
        InstallCondition="(VersionNT &lt; v6.0 OR VersionNT64 &lt; v6.0) AND 
NOT(AdobeSvgViewerDirectory)" />
       </PackageGroup>

-----Original Message-----
From: garymonk [mailto:g...@gurudental.com]
Sent: Wednesday, July 01, 2015 12:50 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] QuickTime is installing when it is already installed.

I have a bundle that installs a number of prerequisites. One of those prereqs 
is QuickTime. 

Here is the code...
<ExePackage Id="Package_QuickTime" Cache="no" Compressed="$(var.Compressed)"
        Description="Apple QuickTime 7"
DownloadUrl="$(var.DownloadRepo)/{2}"
        SourceFile="..\Prerequisites\QuickTimeInstaller.exe"
        Name="Prerequisites\QuickTimeInstaller.exe"
        Permanent="yes" DisplayName="Apple QuickTime 7"
        InstallCondition="NOT Installed"> </ExePackage>

As you can see the install condition is "NOT installed".

Why would QuickTime install even when the install condition says it should only 
be installed when it is not installed?

Thanks,
Gary



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/QuickTime-is-installing-when-it-is-already-installed-tp7600756.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

------------------------------------------------------------------------------
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