In the dotnet installers we now compare the Release Dword against the lowest 4.6 version, accepting anything >=. Build number from https://msdn.microsoft.com/en-us/library/hh925568(v=vs.110).aspx
Also updated the wix check and xe project, as was done in the similar .net 4.5 upgrade
Signed-off-by: Callum McIntyre <callumiandavid.mcintyre@citrix.com>
Checking the presence of 4.5 before launching the 4.5.2 installer (This way we accept any 4.5 (or 4.6) .NET Framework and we will not start the installer to do a minor upgrade eg 4.5.1 to 4.5.2)
Note: We now check the presence of the "Release" key at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full
that means >4.5 is installed.
(We used to check the key "Install" for version 4.0, but this is not
sufficient anymore as it would catch 4.0 as well as 4.5.)
-Modified installer to support unattended install of XenCenter and prerequisite Microsoft .NET Framework 4.
-Normal behavior (no parameters used when running XenCenterSetup) has not been changed.
-All unattended install options will install Microsoft .NET Framework when necessary.
-Supported unattended install options for XC -- no user interaction is needed for all the followings:
1. install XC with default options (default folder, install for the current user only):
XenCenterSetup /q
2. install XC to default directory, but install for ALL users:
XenCenterSetup /q /ComponentArgs "XenCenter":"ALLUSERS=1"
3. install XC to custom directory for the current user:
XenCenterSetup /q /ComponentArgs "XenCenter":"INSTALLDIR=""C:\Custom\Folder Where Spaces Are Allowed\XenCenter"""
(note the number of quotation marks, do not use ALLUSERS=0)
4. install XC to custom dierctory for ALL users/per machine install:
XenCenterSetup /q /ComponentArgs "XenCenter":"INSTALLDIR=""C:\Custom\Folder Where Spaces Are Allowed\XenCenter"" ALLUSERS=1"
(note the number of quotation marks)
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>