Skip to content
This repository has been archived by the owner on Jun 17, 2022. It is now read-only.

Commit

Permalink
pull MSI version from environment (#326)
Browse files Browse the repository at this point in the history
Currently we don't have version / build numbers anywhere else in the source. Set WIX config to use a environment variable for MSI version also. With this change you can run:

export CONNECTOR_VERSION=0.9.1
/c/Program\ Files\ \(x86\)/WiX\ Toolset\ v3.10/bin/candle.exe -arch x64 windows-connector.wxs dependencies.wxs
/c/Program\ Files\ \(x86\)/WiX\ Toolset\ v3.10/bin/light.exe -ext "C:\Program Files (x86)\WiX Toolset v3.10\bin\WixUIExtension.dll" -ext WixfirewallExtension windows-connector.wixobj dependencies.wixobj -o windows-connector.msi

to dynamically set the MSI version number.
  • Loading branch information
jay0lee authored Nov 11, 2016
1 parent 913d31d commit d353d01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wix/windows-connector.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Id="*"
Name="Google Cloud Print Windows Connector"
Language="1033"
Version="0.9.0"
Version="$(env.CONNECTOR_VERSION)"
Manufacturer="Google, Inc."
UpgradeCode="15C3FD61-B03C-4C04-A56D-CD8424C99D7F">
<Package
Expand Down

0 comments on commit d353d01

Please sign in to comment.