Re: [WiX-users] Install fails to detect .NET 4.5 or greater on system

2014-07-11 Thread TimM
My condition is:


Again we are still at WiX 3.7 so will not be able to look at the 3.8
functionality until we move to that version in our build environment.

I have not yet looks into the registry keys, but I guess that I should if we
support 4.5, but most of the machines that we will be installing on will
have 4.5.1 and therefore if the 3.7 NETFRAMEWORK45 check only detect 4.5 and
therefore will not validate 4.5.1 then I'll need manually verify that one.

Thanks, Tim.



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Install-fails-to-detect-NET-4-5-or-greater-on-system-tp7595756p7595770.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Install fails to detect .NET 4.5 or greater on system

2014-07-11 Thread Nicolás Alvarez
2014-07-11 8:57 GMT-03:00 TimM timmay...@smarttech.com:
 My condition is:


 Again we are still at WiX 3.7 so will not be able to look at the 3.8
 functionality until we move to that version in our build environment.

 I have not yet looks into the registry keys, but I guess that I should if we
 support 4.5, but most of the machines that we will be installing on will
 have 4.5.1 and therefore if the 3.7 NETFRAMEWORK45 check only detect 4.5 and
 therefore will not validate 4.5.1 then I'll need manually verify that one.

 Thanks, Tim.

 --
 View this message in context: 
 http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Install-fails-to-detect-NET-4-5-or-greater-on-system-tp7595756p7595770.html
 Sent from the wix-users mailing list archive at Nabble.com.

Posting from Nabble seems to eat CDATA sections when the message
reaches the real mailing list.

The condition Tim posted is ![CDATA[Installed Or NETFRAMEWORK45]]

-- 
Nicolás

--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Install fails to detect .NET 4.5 or greater on system

2014-07-11 Thread John Cooper
If it detects 4.5, it will detect 4.5.1.

From the log of one of my installers:

AppSearch: Property: NETFRAMEWORK45, Signature: NetFramework45
MSI (c) (AC:CC) [17:30:47:228]: PROPERTY CHANGE: Adding NETFRAMEWORK45 
property. Its value is '#378758'.

Note the '#' symbol at the beginning of the Release Code.  To test specifically 
for 4.5.1:

Installed OR (NETFRAMEWORK45 AND NETFRAMEWORK45 = #378758)

--
John Merryweather Cooper
Build  Install Engineer – ESA
Jack Henry  Associates, Inc.®
Shawnee Mission, KS  66227
Office:  913-341-3434 x791011
jocoo...@jackhenry.com
www.jackhenry.com


-Original Message-
From: Nicolás Alvarez [mailto:nicolas.alva...@gmail.com] 
Sent: Friday, July 11, 2014 7:49 AM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] Install fails to detect .NET 4.5 or greater on system

2014-07-11 8:57 GMT-03:00 TimM timmay...@smarttech.com:
 My condition is:


 Again we are still at WiX 3.7 so will not be able to look at the 3.8 
 functionality until we move to that version in our build environment.

 I have not yet looks into the registry keys, but I guess that I should 
 if we support 4.5, but most of the machines that we will be installing 
 on will have 4.5.1 and therefore if the 3.7 NETFRAMEWORK45 check only 
 detect 4.5 and therefore will not validate 4.5.1 then I'll need manually 
 verify that one.

 Thanks, Tim.

 --
 View this message in context: 
 http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Install-
 fails-to-detect-NET-4-5-or-greater-on-system-tp7595756p7595770.html
 Sent from the wix-users mailing list archive at Nabble.com.

Posting from Nabble seems to eat CDATA sections when the message reaches the 
real mailing list.

The condition Tim posted is ![CDATA[Installed Or NETFRAMEWORK45]]

--
Nicolás

--
Open source business process management suite built on Java and Eclipse Turn 
processes into business applications with Bonita BPM Community Edition Quickly 
connect people, data, and systems into organized workflows Winner of BOSSIE, 
CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft 
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
NOTICE: This electronic mail message and any files transmitted with it are 
intended
exclusively for the individual or entity to which it is addressed. The message, 
together with any attachment, may contain confidential and/or privileged 
information.
Any unauthorized review, use, printing, saving, copying, disclosure or 
distribution 
is strictly prohibited. If you have received this message in error, please 
immediately advise the sender by reply email and delete all copies.
--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Install fails to detect .NET 4.5 or greater on system

2014-07-11 Thread TimM
That's the think though, I checked the install log after it failed to find
.NET 4.5 and the NETFRAMEWORK45 property was not generated at all. So if in
WiX 3.7 it will detect 4.5 and greater then it should have at least created
that property with the version that it found.

So why did it not do that for my install?



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Install-fails-to-detect-NET-4-5-or-greater-on-system-tp7595756p7595780.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Install fails to detect .NET 4.5 or greater on system

2014-07-11 Thread Carter Young
I just read the entire message on Nabble, and logs are kinda my thing,  
so would you mind posting the log...

Carter

Quoting TimM timmay...@smarttech.com:

 That's the think though, I checked the install log after it failed to find
 .NET 4.5 and the NETFRAMEWORK45 property was not generated at all. So if in
 WiX 3.7 it will detect 4.5 and greater then it should have at least created
 that property with the version that it found.

 So why did it not do that for my install?



 --
 View this message in context:  
 http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Install-fails-to-detect-NET-4-5-or-greater-on-system-tp7595756p7595780.html
 Sent from the wix-users mailing list archive at Nabble.com.

 --
 Open source business process management suite built on Java and Eclipse
 Turn processes into business applications with Bonita BPM Community Edition
 Quickly connect people, data, and systems into organized workflows
 Winner of BOSSIE, CODIE, OW2 and Gartner awards
 http://p.sf.net/sfu/Bonitasoft
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users






--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Install fails to detect .NET 4.5 or greater on system

2014-07-11 Thread John Cooper
Do you have the netFx extension linked in?

--
John Merryweather Cooper
Build  Install Engineer - ESA
Jack Henry  Associates, Inc.®
Shawnee Mission, KS  66227
Office:  913-341-3434 x791011
jocoo...@jackhenry.com
www.jackhenry.com



-Original Message-
From: TimM [mailto:timmay...@smarttech.com] 
Sent: Friday, July 11, 2014 8:23 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Install fails to detect .NET 4.5 or greater on system

That's the think though, I checked the install log after it failed to find .NET 
4.5 and the NETFRAMEWORK45 property was not generated at all. So if in WiX 3.7 
it will detect 4.5 and greater then it should have at least created that 
property with the version that it found.

So why did it not do that for my install?



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Install-fails-to-detect-NET-4-5-or-greater-on-system-tp7595756p7595780.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Open source business process management suite built on Java and Eclipse Turn 
processes into business applications with Bonita BPM Community Edition Quickly 
connect people, data, and systems into organized workflows Winner of BOSSIE, 
CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft 
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
NOTICE: This electronic mail message and any files transmitted with it are 
intended
exclusively for the individual or entity to which it is addressed. The message, 
together with any attachment, may contain confidential and/or privileged 
information.
Any unauthorized review, use, printing, saving, copying, disclosure or 
distribution 
is strictly prohibited. If you have received this message in error, please 
immediately advise the sender by reply email and delete all copies.


--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Install fails to detect .NET 4.5 or greater on system

2014-07-11 Thread TimM
Yes, I should have netfx linked in. It shows in my project References and it
is listed at the top of my wix project:
?xml version=1.0 encoding=UTF-8?
Wix xmlns=http://schemas.microsoft.com/wix/2006/wi;
 xmlns:netfx=http://schemas.microsoft.com/wix/NetFxExtension;

Now we build through msbuild - building the main solution file so would this
be an issue as it has never caused any issues with any of the other Wix
extensions that have been added to our projects and built through msbuild?

Here is the install log to indicate that the NETFRAMEWORK45 property does
not get created:

MSIc7937.LOG
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/file/n7595786/MSIc7937.LOG
  




--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Install-fails-to-detect-NET-4-5-or-greater-on-system-tp7595756p7595786.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Install fails to detect .NET 4.5 or greater on system

2014-07-11 Thread John Cooper
The AppSearch is for the .NET Framework 4.5 is not running at all in your log.  
NETFRAMEWORK45 is not being set to any value.  That is most unusual.  I presume 
you have a PropertyRef Id=NETFRAMEWORK45 above your launch condition and you 
do not re-define NETFRAMEWORK45 anywhere?

--
John Merryweather Cooper
Build  Install Engineer - ESA
Jack Henry  Associates, Inc.®
Shawnee Mission, KS  66227
Office:  913-341-3434 x791011
jocoo...@jackhenry.com
www.jackhenry.com



-Original Message-
From: TimM [mailto:timmay...@smarttech.com] 
Sent: Friday, July 11, 2014 8:52 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Install fails to detect .NET 4.5 or greater on system

Yes, I should have netfx linked in. It shows in my project References and it is 
listed at the top of my wix project:
?xml version=1.0 encoding=UTF-8?
Wix xmlns=http://schemas.microsoft.com/wix/2006/wi;
 xmlns:netfx=http://schemas.microsoft.com/wix/NetFxExtension;

Now we build through msbuild - building the main solution file so would this be 
an issue as it has never caused any issues with any of the other Wix extensions 
that have been added to our projects and built through msbuild?

Here is the install log to indicate that the NETFRAMEWORK45 property does not 
get created:

MSIc7937.LOG
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/file/n7595786/MSIc7937.LOG
  




--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Install-fails-to-detect-NET-4-5-or-greater-on-system-tp7595756p7595786.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Open source business process management suite built on Java and Eclipse Turn 
processes into business applications with Bonita BPM Community Edition Quickly 
connect people, data, and systems into organized workflows Winner of BOSSIE, 
CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft 
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
NOTICE: This electronic mail message and any files transmitted with it are 
intended
exclusively for the individual or entity to which it is addressed. The message, 
together with any attachment, may contain confidential and/or privileged 
information.
Any unauthorized review, use, printing, saving, copying, disclosure or 
distribution 
is strictly prohibited. If you have received this message in error, please 
immediately advise the sender by reply email and delete all copies.


--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Install fails to detect .NET 4.5 or greater on system

2014-07-11 Thread TimM
Well I feel like an Idiot  I was declaring Property Id=NETFRAMEWORK45
/ and missed the Ref part of it and did not even noticed after all the
examples that I looked at

Sorry for all the hassles that I put you through. I'll give it another shot
and more than likely it will work now..




--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Install-fails-to-detect-NET-4-5-or-greater-on-system-tp7595756p7595789.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Install fails to detect .NET 4.5 or greater on system

2014-07-11 Thread Carter Young
See Here:
http://msdn.microsoft.com/en-us/library/hh925568(v=vs.110).aspx

And According to your log, your MSI is functioning Properly:

Property(C): MsiNetAssemblySupport = 4.0.30319.33440.  The 4.5 Version  
Numbers start at:

378389 for the 4.5 DWORD.  According to the Document Above your  
installed version is:

v4
   Client  4.0.30319
   Full  4.0.30319

Your condition is working as expected.

Carter

Quoting TimM timmay...@smarttech.com:

 Yes, I should have netfx linked in. It shows in my project References and it
 is listed at the top of my wix project:
 ?xml version=1.0 encoding=UTF-8?
 Wix xmlns=http://schemas.microsoft.com/wix/2006/wi;
xmlns:netfx=http://schemas.microsoft.com/wix/NetFxExtension;

 Now we build through msbuild - building the main solution file so would this
 be an issue as it has never caused any issues with any of the other Wix
 extensions that have been added to our projects and built through msbuild?

 Here is the install log to indicate that the NETFRAMEWORK45 property does
 not get created:

 MSIc7937.LOG
 http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/file/n7595786/MSIc7937.LOG




 --
 View this message in context:  
 http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Install-fails-to-detect-NET-4-5-or-greater-on-system-tp7595756p7595786.html
 Sent from the wix-users mailing list archive at Nabble.com.

 --
 Open source business process management suite built on Java and Eclipse
 Turn processes into business applications with Bonita BPM Community Edition
 Quickly connect people, data, and systems into organized workflows
 Winner of BOSSIE, CODIE, OW2 and Gartner awards
 http://p.sf.net/sfu/Bonitasoft
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users






--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Install fails to detect .NET 4.5 or greater on system

2014-07-11 Thread TimM
Okay changing the property to PropertyRef fixed the issue.

The MsiNetAsseblySupport = 4.0.30319.33440
The NETFRAMEWORK45 = #378675

Which means that what is installed is: 4.5.51641

So I am good to go. Thanks for all the help.




--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Install-fails-to-detect-NET-4-5-or-greater-on-system-tp7595756p7595797.html
Sent from the wix-users mailing list archive at Nabble.com.

--
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Install fails to detect .NET 4.5 or greater on system

2014-07-10 Thread TimM
I have seen many WiX articles on detecting .NET 4.5 or greater and I have
implemented the recommended entires, but my install will FAIL to detect .NET
4.5 on machines that have .NET 4.5 and 4.5.1.

Now we are still using WiX 3.7, and therefore if the machine has .NET 4.5.1
does the NETFRAMEWORK45 not get set properly in that version of Wix?

So here are the relevant entries:
?xml version=1.0 encoding=UTF-8?
Wix xmlns=http://schemas.microsoft.com/wix/2006/wi;
 xmlns:netfx=http://schemas.microsoft.com/wix/NetFxExtension;

Product Id=* Name=$(var.ProductName) Language=1033
Version=$(var.ProductVersion) Manufacturer=$(var.Manufacturer)
 UpgradeCode=F4472484-91DD-43E3-B998-FA5BD4099B72
Package InstallerVersion=400 Compressed=yes 
InstallScope=perMachine
InstallPrivileges=elevated Description=$(var.ProductName) /


Property Id=NETFRAMEWORK45 Secure=yes /
Condition Message=This setup requires Microsoft .NET 
Framework 4.5 or
greater needs to be installed for this installation to continue.

/Condition

So am I missing something or since we are still on Win 3.7 we will have to
add some manual searches for machines running .NET 4.5.1?

Thanks for any help on this issue.




--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Install-fails-to-detect-NET-4-5-or-greater-on-system-tp7595756.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Install fails to detect .NET 4.5 or greater on system

2014-07-10 Thread Jeremiahf
You have the check the registry.

Here is my example but with .NET 4.0

  !--.NET 4.0 Installation detection--
Property Id=NETFRAMEWORK40CLIENT
  RegistrySearch Id=NetFramework40Client Root=HKLM
Key=SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Client Name=Install
Type=raw /
/Property

!--.NET 4.0 Condition message--
Condition Message=YOUR_CONDITION_MESSAGE_HERE
  ![CDATA[Installed OR NETFRAMEWORK40CLIENT]]
/Condition



On Thu, Jul 10, 2014 at 1:49 PM, TimM timmay...@smarttech.com wrote:

 I have seen many WiX articles on detecting .NET 4.5 or greater and I have
 implemented the recommended entires, but my install will FAIL to detect
 .NET
 4.5 on machines that have .NET 4.5 and 4.5.1.

 Now we are still using WiX 3.7, and therefore if the machine has .NET 4.5.1
 does the NETFRAMEWORK45 not get set properly in that version of Wix?

 So here are the relevant entries:
 ?xml version=1.0 encoding=UTF-8?
 Wix xmlns=http://schemas.microsoft.com/wix/2006/wi;
  xmlns:netfx=http://schemas.microsoft.com/wix/NetFxExtension;

 Product Id=* Name=$(var.ProductName) Language=1033
 Version=$(var.ProductVersion) Manufacturer=$(var.Manufacturer)

  UpgradeCode=F4472484-91DD-43E3-B998-FA5BD4099B72
 Package InstallerVersion=400 Compressed=yes
 InstallScope=perMachine
 InstallPrivileges=elevated Description=$(var.ProductName) /


 Property Id=NETFRAMEWORK45 Secure=yes /
 Condition Message=This setup requires Microsoft .NET
 Framework 4.5 or
 greater needs to be installed for this installation to continue.

 /Condition

 So am I missing something or since we are still on Win 3.7 we will have to
 add some manual searches for machines running .NET 4.5.1?

 Thanks for any help on this issue.




 --
 View this message in context:
 http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Install-fails-to-detect-NET-4-5-or-greater-on-system-tp7595756.html
 Sent from the wix-users mailing list archive at Nabble.com.


 --
 Open source business process management suite built on Java and Eclipse
 Turn processes into business applications with Bonita BPM Community Edition
 Quickly connect people, data, and systems into organized workflows
 Winner of BOSSIE, CODIE, OW2 and Gartner awards
 http://p.sf.net/sfu/Bonitasoft
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users




-- 
They may forget what you said but they will never forget how you made them
feel. -- Anonymous
--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Install fails to detect .NET 4.5 or greater on system

2014-07-10 Thread John Cooper
From the Wix 3.8 wix.chm documentation:

Here is a complete list of properties for the .NET Framework 4.5 and .NET 
Framework 4.5.1 product families. Note that because v4.5.1 is an in-place 
upgrade to v4.5, the same properties are used for both versions. To 
differentiate, you must check the actual property value, which contains the 
.NET Framework Release value. For more information, see .NET Framework 
Deployment Guide for Developers.

So, if you're using Wix 3.8 or later, the NETFRAMEWORK45 value will contain the 
release number.  You need to compare that against the expected release value 
for 4.5.1 (or 4.5.2).

For that, you may find this useful:  
http://msdn.microsoft.com/en-us/library/ee942965(v=vs.110).aspx 

From this article, the release values currently are:



Version Value of the Release DWORD
===
 .NET Framework 4.5.2   379893
 .NET Framework 4.5.1   378758
 .NET Framework 4.5 378389

All that is left to do is make a comparison in the Condition inner text 
appropriate to your needs.

--
John Merryweather Cooper
Build  Install Engineer - ESA
Jack Henry  Associates, Inc.®
Shawnee Mission, KS  66227
Office:  913-341-3434 x791011
jocoo...@jackhenry.com
www.jackhenry.com


-Original Message-
From: TimM [mailto:timmay...@smarttech.com] 
Sent: Thursday, July 10, 2014 1:49 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Install fails to detect .NET 4.5 or greater on system

I have seen many WiX articles on detecting .NET 4.5 or greater and I have 
implemented the recommended entires, but my install will FAIL to detect .NET
4.5 on machines that have .NET 4.5 and 4.5.1.

Now we are still using WiX 3.7, and therefore if the machine has .NET 4.5.1 
does the NETFRAMEWORK45 not get set properly in that version of Wix?

So here are the relevant entries:
?xml version=1.0 encoding=UTF-8?
Wix xmlns=http://schemas.microsoft.com/wix/2006/wi;
 xmlns:netfx=http://schemas.microsoft.com/wix/NetFxExtension;

Product Id=* Name=$(var.ProductName) Language=1033
Version=$(var.ProductVersion) Manufacturer=$(var.Manufacturer)
 UpgradeCode=F4472484-91DD-43E3-B998-FA5BD4099B72
Package InstallerVersion=400 Compressed=yes 
InstallScope=perMachine
InstallPrivileges=elevated Description=$(var.ProductName) /


Property Id=NETFRAMEWORK45 Secure=yes /
Condition Message=This setup requires Microsoft .NET 
Framework 4.5 or greater needs to be installed for this installation to 
continue.

/Condition

So am I missing something or since we are still on Win 3.7 we will have to add 
some manual searches for machines running .NET 4.5.1?

Thanks for any help on this issue.




--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Install-fails-to-detect-NET-4-5-or-greater-on-system-tp7595756.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Open source business process management suite built on Java and Eclipse Turn 
processes into business applications with Bonita BPM Community Edition Quickly 
connect people, data, and systems into organized workflows Winner of BOSSIE, 
CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft 
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
NOTICE: This electronic mail message and any files transmitted with it are 
intended
exclusively for the individual or entity to which it is addressed. The message, 
together with any attachment, may contain confidential and/or privileged 
information.
Any unauthorized review, use, printing, saving, copying, disclosure or 
distribution 
is strictly prohibited. If you have received this message in error, please 
immediately advise the sender by reply email and delete all copies.


--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Install fails to detect .NET 4.5 or greater on system

2014-07-10 Thread John Cooper
So, what does your condition look like?  Can't see it in your authoring.

--
John Merryweather Cooper
Build  Install Engineer - ESA
Jack Henry  Associates, Inc.®
Shawnee Mission, KS  66227
Office:  913-341-3434 x791011
jocoo...@jackhenry.com
www.jackhenry.com



-Original Message-
From: TimM [mailto:timmay...@smarttech.com] 
Sent: Thursday, July 10, 2014 1:49 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Install fails to detect .NET 4.5 or greater on system

I have seen many WiX articles on detecting .NET 4.5 or greater and I have 
implemented the recommended entires, but my install will FAIL to detect .NET
4.5 on machines that have .NET 4.5 and 4.5.1.

Now we are still using WiX 3.7, and therefore if the machine has .NET 4.5.1 
does the NETFRAMEWORK45 not get set properly in that version of Wix?

So here are the relevant entries:
?xml version=1.0 encoding=UTF-8?
Wix xmlns=http://schemas.microsoft.com/wix/2006/wi;
 xmlns:netfx=http://schemas.microsoft.com/wix/NetFxExtension;

Product Id=* Name=$(var.ProductName) Language=1033
Version=$(var.ProductVersion) Manufacturer=$(var.Manufacturer)
 UpgradeCode=F4472484-91DD-43E3-B998-FA5BD4099B72
Package InstallerVersion=400 Compressed=yes 
InstallScope=perMachine
InstallPrivileges=elevated Description=$(var.ProductName) /


Property Id=NETFRAMEWORK45 Secure=yes /
Condition Message=This setup requires Microsoft .NET 
Framework 4.5 or greater needs to be installed for this installation to 
continue.

/Condition

So am I missing something or since we are still on Win 3.7 we will have to add 
some manual searches for machines running .NET 4.5.1?

Thanks for any help on this issue.




--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Install-fails-to-detect-NET-4-5-or-greater-on-system-tp7595756.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Open source business process management suite built on Java and Eclipse Turn 
processes into business applications with Bonita BPM Community Edition Quickly 
connect people, data, and systems into organized workflows Winner of BOSSIE, 
CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft 
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
NOTICE: This electronic mail message and any files transmitted with it are 
intended
exclusively for the individual or entity to which it is addressed. The message, 
together with any attachment, may contain confidential and/or privileged 
information.
Any unauthorized review, use, printing, saving, copying, disclosure or 
distribution 
is strictly prohibited. If you have received this message in error, please 
immediately advise the sender by reply email and delete all copies.


--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users