Re: [WiX-users] QuickTime is installing when it is already installed.

2015-07-07 Thread garymonk
Amazing that I could look at that so many times and not see that. Thanks you
for the help!!



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


Re: [WiX-users] QuickTime is installing when it is already installed.

2015-07-06 Thread Hoover, Jacob
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


Re: [WiX-users] QuickTime is installing when it is already installed.

2015-07-06 Thread garymonk
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


Re: [WiX-users] QuickTime is installing when it is already installed.

2015-07-01 Thread Hoover, Jacob
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


Re: [WiX-users] QuickTime is installing when it is already installed.

2015-07-01 Thread garymonk
Thank you for the reply.

Will the code you provided work with both 32 and 64 bit systems?

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


Re: [WiX-users] QuickTime is installing when it is already installed.

2015-07-01 Thread Bob Arnson
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