[wix-users] How to encode a version number correctly into a DWORD64 for m_pEngine->SetVariableVersion()

Bob Arnson bob at firegiant.com
Sun Jun 12 19:06:57 PDT 2016


MAKEQWORDVERSION and FileVersionFromStringEx.

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of John Cooper
Sent: Friday, 10 June, 2016 20:37
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: [wix-users] How to encode a version number correctly into a DWORD64 for m_pEngine->SetVariableVersion()

I am writing up a BAFunction to take the IIS Version number parts and create a version number entry to avoid the string comparison problems ("7" > "10", etc.).

So, basically I need to convert my string bits from the registry, load them into a DWORD64, and create my new version variable.  What is the expected encoding and what is the most reasonable way to accomplish it?

--
John Merryweather Cooper
Senior Software Engineer | Integration Development Group | Enterprise Notification Service Jack Henry & Associates, Inc.(r) | Lenexa, KS  66214 | Ext:  431050 |JoCooper at jackhenry.com<mailto:JoCooper at jackhenry.com>

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.

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/


More information about the wix-users mailing list