[vlc-commits] msi: add the arch to the product name

Ludovic Fauvet git at videolan.org
Thu Feb 14 13:48:30 CET 2013


vlc | branch: master | Ludovic Fauvet <etix at videolan.org> | Wed Feb 13 18:24:29 2013 +0100| [d1f29d92fd5312e3121404cf51889ede3c21711b] | committer: Rafaël Carré

msi: add the arch to the product name

Signed-off-by: Rafaël Carré <funman at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d1f29d92fd5312e3121404cf51889ede3c21711b
---

 extras/package/win32/msi/config.wxi.in |    2 ++
 extras/package/win32/msi/product.wxs   |    2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/extras/package/win32/msi/config.wxi.in b/extras/package/win32/msi/config.wxi.in
index eb76caa..0baa9a5 100644
--- a/extras/package/win32/msi/config.wxi.in
+++ b/extras/package/win32/msi/config.wxi.in
@@ -22,8 +22,10 @@
 
     <?if $(var.Platform) = "x64" ?>
         <?define Win64 = "yes" ?>
+        <?define PlatformString = "64-bit"?>
     <?else ?>
         <?define Win64 = "no" ?>
+        <?define PlatformString = "32-bit"?>
     <?endif ?>
 
     <?define AppFolder = "VLC" ?>
diff --git a/extras/package/win32/msi/product.wxs b/extras/package/win32/msi/product.wxs
index b8c0e7c..149e72c 100644
--- a/extras/package/win32/msi/product.wxs
+++ b/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)'
+        Name='$(var.ProductName) $(var.Version) ($(var.PlatformString))'
         Language='1033'
         Version='$(var.VersionLong)'
         Manufacturer='$(var.Manufacturer)'



More information about the vlc-commits mailing list