]> git.sesse.net Git - vlc/commitdiff
msi: add the arch to the product name
authorLudovic Fauvet <etix@videolan.org>
Wed, 13 Feb 2013 17:24:29 +0000 (18:24 +0100)
committerRafaël Carré <funman@videolan.org>
Thu, 14 Feb 2013 12:46:53 +0000 (13:46 +0100)
Signed-off-by: Rafaël Carré <funman@videolan.org>
extras/package/win32/msi/config.wxi.in
extras/package/win32/msi/product.wxs

index eb76caa8cd5d936f86b7b95460bc8c61bb89de09..0baa9a5a9e7fe2c48aba200877a602a1d536ed9a 100644 (file)
 
     <?if $(var.Platform) = "x64" ?>
         <?define Win64 = "yes" ?>
+        <?define PlatformString = "64-bit"?>
     <?else ?>
         <?define Win64 = "no" ?>
+        <?define PlatformString = "32-bit"?>
     <?endif ?>
 
     <?define AppFolder = "VLC" ?>
index b8c0e7c693c3e71fd7aa735abdff59f524eda65e..149e72c670859025dbae914e442690c457a9e055 100644 (file)
@@ -25,7 +25,7 @@
      xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
     <Product
         Id='*'
-        Name='$(var.ProductName) $(var.Version)'
+        Name='$(var.ProductName) $(var.Version) ($(var.PlatformString))'
         Language='1033'
         Version='$(var.VersionLong)'
         Manufacturer='$(var.Manufacturer)'