[wix-users] VersionNT64 is 603 under Windows 10.0.10547
bpettorelli.ext at orange.com
bpettorelli.ext at orange.com
Mon Sep 28 08:03:15 PDT 2015
Hi,
I'm using WixToolset 3.10 to generate MSI bundles.
I need to deliver specific driver files for the Windows Plateform and I use VersionNT and VersionNT64 to discriminate the OS Version.
The goal is to deliver specific drivers for Windows 10 when available.
Here the extract of the wix file where we have specific driver for Windows 8 and for Windows 10 :
<Directory Id="HuaweiE3372WinEight64" Name="WinEight64">
<Component Id="HuaweiE3372WinEight64" DiskId="1" Guid="{9CBB3D2A-C1EA-4519-A1CB-046D41EAD8B5}">
<?if $(var.CARD_NAME) = NineUp ?>
<Condition>((VersionNT64 = 602 OR VersionNT64 = 603)) AND (CARDNAME = "HuaweiE3372")</Condition>
<?else?>
<Condition>(VersionNT64 = 602 OR VersionNT64 = 603)</Condition>
<?endif?>
<File Id="HuaweiE3372WinEight64_ewdcsc.cat" Name="ewdcsc.cat" Source="..\Drivers\HuaweiE3372\WinEight64\ewdcsc.cat"/>
.....
</Component>
</Directory>
<Directory Id="HuaweiE3372WinTen64" Name="WinTen64">
<Component Id="HuaweiE3372WinTen64" DiskId="1" Guid="{D49C6D97-9FDE-432D-8994-98E95EBE3E2B}">
<?if $(var.CARD_NAME) = NineUp ?>
<Condition>(VersionNT64 >= 1000) AND (CARDNAME = "HuaweiE3372")</Condition>
<?else?>
<Condition>VersionNT64 >= 1000</Condition>
<?endif?>
<File Id="HuaweiE3372WinTen64_ewdcsc.cat" Name="ewdcsc.cat" Source="..\Drivers\HuaweiE3372\WinTen64\ewdcsc.cat"/>
...
</Component>
</Directory>
Extract of the log file after a run under Windows 10 Insder Preview 10.0.10547
Property(S): INSTALLLEVEL = 1
Property(S): SECONDSEQUENCE = 1
Property(S): ADDLOCAL = DefaultFeature
Property(S): MsiSystemRebootPending = 1
Property(S): VersionMsi = 5.00
Property(S): VersionNT64 = 603
Property(S): WindowsBuild = 9600
Property(S): ServicePackLevel = 0
Property(S): ServicePackLevelMinor = 0
Property(S): MsiNTProductType = 1
At the end, the directory WinEight64 is installed and not the directory WinTen64.
I had tested with WixToolset 3.8 and 3.9, same result. Do I have to do something specific in my wxs in order to retrieve the correct version?
Regards,
Bruno Pettorelli
_________________________________________________________________________________________________________________________
Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.
This message and its attachments may contain confidential or privileged information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
Thank you.
More information about the wix-users
mailing list