diff options
author | Frederic Hemberger <mail@frederic-hemberger.de> | 2015-07-25 13:33:32 +0200 |
---|---|---|
committer | Rod Vagg <rod@vagg.org> | 2015-08-04 11:56:17 -0700 |
commit | 971de5e4176444b18ba09229eb4c2f33b29b2d3d (patch) | |
tree | 7091fd72fc9a7eedba0592ea7871d9da425ec8a8 /tools/msvs/msi/product.wxs | |
parent | ba9ccf227ec5654999aea38d50dd53ff25ab8259 (diff) | |
download | android-node-v8-971de5e4176444b18ba09229eb4c2f33b29b2d3d.tar.gz android-node-v8-971de5e4176444b18ba09229eb4c2f33b29b2d3d.tar.bz2 android-node-v8-971de5e4176444b18ba09229eb4c2f33b29b2d3d.zip |
build: prepare Windows installer for i18n support
PR-URL: https://github.com/nodejs/io.js/pull/2247
Reviewed-By: Rod Vagg <rod@vagg.org>
Diffstat (limited to 'tools/msvs/msi/product.wxs')
-rwxr-xr-x | tools/msvs/msi/product.wxs | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/tools/msvs/msi/product.wxs b/tools/msvs/msi/product.wxs index c90f77ce54..30de47dad9 100755 --- a/tools/msvs/msi/product.wxs +++ b/tools/msvs/msi/product.wxs @@ -13,17 +13,17 @@ <Product Id="*" Name="$(var.ProductName)" - Language="1033" + Language="!(loc.LocaleId)" Version="$(var.ProductVersion)" Manufacturer="$(var.ProductAuthor)" UpgradeCode="47c07a3a-42ef-4213-a85d-8f5a59077c28"> - <Package InstallerVersion="200" Compressed="yes"/> + <Package Languages="!(loc.LocaleId)" InstallerVersion="200" Compressed="yes"/> <Media Id="1" Cabinet="media1.cab" EmbedCab="yes"/> <MajorUpgrade AllowSameVersionUpgrades="yes" - DowngradeErrorMessage="A later version of io.js is already installed. Setup will now exit."/> + DowngradeErrorMessage="!(loc.MajorUpgrade_DowngradeErrorMessage)"/> <Icon Id="NodeIcon" SourceFile="$(var.RepoDir)\src\res\iojs.ico"/> <Property Id="ARPPRODUCTICON" Value="NodeIcon"/> @@ -40,8 +40,8 @@ <Feature Id="NodeRuntime" Level="1" - Title="io.js runtime" - Description="Install the core io.js runtime (iojs.exe)." + Title="!(loc.NodeRuntime_Title)" + Description="!(loc.NodeRuntime_Description)" Absent="disallow"> <ComponentRef Id="NodeExecutable"/> <ComponentRef Id="NodeVarsScript"/> @@ -51,30 +51,30 @@ <Feature Id="NodeAlias" Level="1" - Title="Alias node to iojs" - Description="Create node.exe as an alias for iojs.exe."> + Title="!(loc.NodeAlias_Title)" + Description="!(loc.NodeAlias_Description)"> <ComponentRef Id="NodeAlias"/> </Feature> <Feature Id="NodePerfCtrSupport" Level="1" - Title="Performance counters" - Description="Installs support for io.js-specific performance counters."> + Title="!(loc.NodePerfCtrSupport_Title)" + Description="!(loc.NodePerfCtrSupport_Description)"> <ComponentRef Id="NodePerfCtrSupport"/> </Feature> <Feature Id="NodeEtwSupport" Level="1" - Title="Event tracing (ETW)" - Description="Installs support for event tracing (ETW) events generated by io.js."> + Title="!(loc.NodeEtwSupport_Title)" + Description="!(loc.NodeEtwSupport_Description)"> <ComponentRef Id="NodeEtwSupport"/> </Feature> </Feature> <Feature Id="npm" Level="1" - Title="npm package manager" - Description="Install npm, the recommended package manager for io.js."> + Title="!(loc.npm_Title)" + Description="!(loc.npm_Description)"> <ComponentRef Id="NpmCmdScript"/> <ComponentRef Id="NpmBashScript"/> <ComponentRef Id="NpmConfigurationFile"/> @@ -84,26 +84,26 @@ <Feature Level="1" Id="DocumentationShortcuts" - Title="Online documentation shortcuts" - Description="Add start menu entries that link the the online documentation for io.js v$(var.FullVersion) and the io.js website."> + Title="!(loc.DocumentationShortcuts_Title)" + Description="!(loc.DocumentationShortcuts_Description)"> <ComponentRef Id="DocumentationShortcuts"/> </Feature> <Feature Id="EnvironmentPath" Level="1" - Title="Add to PATH" - Description="Add io.js, npm, and modules that were globally installed by npm to the PATH environment variable."> + Title="!(loc.EnvironmentPath_Title)" + Description="!(loc.EnvironmentPath_Description)"> <Feature Id="EnvironmentPathNode" Level="1" - Title="io.js and npm" - Description="Add io.js and npm (if installed) to the PATH environment variable."> + Title="!(loc.EnvironmentPathNode_Title)" + Description="!(loc.EnvironmentPathNode_Description)"> <ComponentRef Id="EnvironmentPathNode"/> </Feature> <Feature Id="EnvironmentPathNpmModules" Level="1" - Title="npm modules" - Description="Add modules that are installed globally by npm to the PATH environment variable. This option works for the current user only; other users need to update their PATH manually."> + Title="!(loc.EnvironmentPathNpmModules_Title)" + Description="!(loc.EnvironmentPathNpmModules_Description)"> <ComponentRef Id="EnvironmentPathNpmModules"/> </Feature> </Feature> @@ -329,7 +329,7 @@ <Publish Dialog="CustomizeDlg" Control="Back" Event="NewDialog" Value="InstallDirDlg" Order="2">NOT Installed</Publish> <Publish Dialog="CustomizeDlg" Control="Next" Event="NewDialog" Value="VerifyReadyDlg">1</Publish> - <Property Id="WIXUI_EXITDIALOGOPTIONALTEXT" Value="io.js has been successfully installed."/> + <Property Id="WIXUI_EXITDIALOGOPTIONALTEXT" Value="!(loc.WIXUI_EXITDIALOGOPTIONALTEXT)"/> </UI> <UIRef Id="WixUI_Common"/> |