[wix-users] Burn: How to split version numbers?

Phill Hogland phill.hogland at rimage.com
Tue Jan 24 06:50:27 PST 2017


I think it depends on the type of BA you are using.  For a managed BA use the .Net <string>.Split method.  For the WixStdBA add a BAFunctions.dll project and depending on how you are managing your C++ strings use the method related to that class.  There is a sample BAFunctions.dll project under the 'burn' folder in the wix source.

________________________________
From: wix-users <wix-users-bounces at lists.wixtoolset.org> on behalf of Farrukh Waheed <farrukh1 at gmail.com>
Sent: Tuesday, January 24, 2017 6:33:17 AM
To: WiX Toolset Users Mailing List
Subject: [wix-users] Burn: How to split version numbers?

Hi
In my Burn project, I need to read a version string from a registry key and
then split it based on Dots, separately into Major Minor, Build, Rev and
have to use Major and Minor in some conditions.

I can read registry using Util extension, but how to split the string?

Regards

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


More information about the wix-users mailing list