[vlc-commits] [Git][videolan/vlc][master] Set extra version number when building MSI

Rémi Denis-Courmont (@Courmisch) gitlab at videolan.org
Sat Apr 30 11:35:53 UTC 2022



Rémi Denis-Courmont pushed to branch master at VideoLAN / VLC


Commits:
cafda671 by Kaleb Luedtke at 2022-04-30T11:12:01+00:00
Set extra version number when building MSI

* Use the @VERSION_EXTRA@ which is used in the exe build in place of the
  static '0'
* Change the Display Name in appwiz.cpl to be just the product name,
  matching the exe build

- - - - -


2 changed files:

- extras/package/win32/msi/config.wxi.in
- extras/package/win32/msi/product.wxs


Changes:

=====================================
extras/package/win32/msi/config.wxi.in
=====================================
@@ -10,8 +10,9 @@
     <?define VerMajor = "@VERSION_MAJOR@" ?>
     <?define VerMinor = "@VERSION_MINOR@" ?>
     <?define VerPatch = "@VERSION_REVISION@" ?>
+    <?define VerExtra = "@VERSION_EXTRA@" ?>
     <?define Version = "$(var.VerMajor).$(var.VerMinor).$(var.VerPatch)" ?>
-    <?define VersionLong = "$(var.Version).0" ?>
+    <?define VersionLong = "$(var.Version).$(var.VerExtra)" ?>
 
     <?define SourceDir = "vlc- at VERSION@" ?>
     <!--<?define PluginsPath = "$(var.BinPath)\plugins" ?>


=====================================
extras/package/win32/msi/product.wxs
=====================================
@@ -25,7 +25,7 @@
      xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
     <Product
         Id='*'
-        Name='$(var.ProductName) $(var.Version) ($(var.PlatformString))'
+        Name='$(var.ProductName)'
         Language='1033'
         Version='$(var.VersionLong)'
         Manufacturer='$(var.Manufacturer)'
@@ -400,5 +400,3 @@
     <ProgressText Action="RegisterAxvlc">Registering DirectX plugin...</ProgressText>
     <ProgressText Action="UnregisterAxvlc">Removing DirectX plugin...</ProgressText>
 -->
-
-



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/cafda6718082ab655f23b88a6a94dac747c57a19

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/cafda6718082ab655f23b88a6a94dac747c57a19
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list