Permalink
Browse files

WindowsInstaller: set the product version programmatically for MSI

git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5293 c6295689-39f2-0310-b995-f0e70906c6a9
  • Loading branch information...
martin
martin committed Apr 4, 2011
1 parent 1f55343 commit db3ebb1514dbafcf03a7a8c622bd0d67c3d046b8
Showing with 3 additions and 2 deletions.
  1. +1 −0 configure.ac
  2. +1 −1 win32/Makefile.am
  3. +1 −1 win32/{OpenSC.wxs → OpenSC.wxs.in}
View
@@ -598,6 +598,7 @@ AC_CONFIG_FILES([
win32/versioninfo.rc
win32/winconfig.h
win32/OpenSC.iss
+ win32/OpenSC.wxs
])
AC_OUTPUT
View
@@ -1,7 +1,7 @@
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in \
$(srcdir)/versioninfo.rc $(srcdir)/winconfig.h
EXTRA_DIST = ltrc.inc Makefile.mak Make.rules.mak opensc-install.bat \
- versioninfo.rc.in winconfig.h.in OpenSC.iss.in
+ versioninfo.rc.in winconfig.h.in OpenSC.iss.in OpenSC.wxs.in
dist_noinst_HEADERS = versioninfo.rc winconfig.h
if WIN32
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="windows-1252"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
- <Product Name="OpenSC" Id="BDD73EB0-0485-4B79-93EC-CF2EAEFF3BAB" UpgradeCode="69428F65-B96D-458D-BB87-DBB5FDB35DCE" Language="1033" Codepage="1252" Version="0.12.1" Manufacturer="OpenSC Project">
+ <Product Name="OpenSC" Id="BDD73EB0-0485-4B79-93EC-CF2EAEFF3BAB" UpgradeCode="69428F65-B96D-458D-BB87-DBB5FDB35DCE" Language="1033" Codepage="1252" Version="@OPENSC_VERSION_MAJOR@.@OPENSC_VERSION_MINOR@.@OPENSC_VERSION_FIX@.0" Manufacturer="OpenSC Project">
<Package Id="*" Keywords="Installer" Description="OpenSC Installer" Comments="OpenSC Project home page http://www.opensc-project.org/opensc/" Manufacturer="OpenSC Project" InstallerVersion="100" Languages="1033" Compressed="yes" SummaryCodepage="1252"/>
<!-- OpenSC is covered by LGPL. Extend the license as required with other EULA notes -->
<WixVariable Id="WixUILicenseRtf" Value="license.rtf"/>

0 comments on commit db3ebb1

Please sign in to comment.