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

John Cooper JoCooper at jackhenry.com
Mon Jun 13 06:02:44 PDT 2016


That will work.  Thank you.

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




-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Bob Arnson
Sent: Sunday, June 12, 2016 9:07 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] How to encode a version number correctly into a DWORD64 for m_pEngine->SetVariableVersion()

The e-mail below is from an external source.  Please do not open attachments or click links from an unknown or suspicious origin.

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/

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.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.



More information about the wix-users mailing list