summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorBert Belder <bertbelder@gmail.com>2013-03-07 18:01:57 +0100
committerBert Belder <bertbelder@gmail.com>2013-03-08 18:00:39 +0100
commit952d6c5e4c572da84405405f29489b55fb49f256 (patch)
tree7739a9dbfd5a482ed67691298ca2d4c653223c85 /tools
parentfb6253209e0e7d5a09862af1c64ad4596dea0cc6 (diff)
downloadnode-952d6c5e4c572da84405405f29489b55fb49f256.tar.gz
win/msi: clean up the 'documentation shortcuts' feature
Diffstat (limited to 'tools')
-rwxr-xr-xtools/msvs/msi/product.wxs46
1 files changed, 24 insertions, 22 deletions
diff --git a/tools/msvs/msi/product.wxs b/tools/msvs/msi/product.wxs
index ab04c0854..720bee676 100755
--- a/tools/msvs/msi/product.wxs
+++ b/tools/msvs/msi/product.wxs
@@ -73,10 +73,11 @@
<ComponentGroupRef Id="NpmSourceFiles"/>
</Feature>
- <Feature Id="nodejs.shortcuts" Title="node.js shortcuts" Level="1" Description="$(var.ProductDescription) Shortcuts">
- <Feature Id="nodejs.shortcuts.internet" Title="Internet Shortcuts" Level="1" Description="$(var.ProductDescription) internet shortcuts to the project's website and online documentation for this version">
- <ComponentGroupRef Id="internet.shortcuts"/>
- </Feature>
+ <Feature Level="1"
+ Id="DocumentationShortcuts"
+ Title="Online documentation shortcuts"
+ Description="Add start menu entries that link the the online documentation for Node.js $(var.ProductVersion) and the Node.js website.">
+ <ComponentRef Id="DocumentationShortcuts"/>
</Feature>
<Feature Id="EnvironmentPath"
@@ -185,6 +186,25 @@
</Directory>
</DirectoryRef>
+ <DirectoryRef Id="ApplicationProgramsFolder">
+ <Component Id="DocumentationShortcuts">
+ <RegistryValue Root="HKCU"
+ Key="$(var.RegistryKeyPath)\Components"
+ Name="DocumentationShortcuts"
+ Type="integer"
+ Value="1"
+ KeyPath="yes"/>
+ <util:InternetShortcut Id="WebsiteShortcut"
+ Name="Node.js website"
+ Target="http://nodejs.org"
+ Type="url"/>
+ <util:InternetShortcut Id="DocsShortcut"
+ Name="Node.js documentation"
+ Target="http://nodejs.org/dist/v$(var.ProductVersion)/docs/api/"
+ Type="url"/>
+ </Component>
+ </DirectoryRef>
+
<DirectoryRef Id="INSTALLDIR">
<Component Id="EnvironmentPathNode">
<RegistryValue Root="HKLM"
@@ -217,24 +237,6 @@
</Component>
</DirectoryRef>
- <DirectoryRef Id="ApplicationProgramsFolder">
- <Component Id="InternetShortcuts" Guid="3351B877-49BA-4BC0-BF5E-21BA623FD07C">
- <util:InternetShortcut Id="OnlineWebsiteShortcut"
- Name="Node.js website"
- Target="http://nodejs.org"
- Type="url"/>
- <util:InternetShortcut Id="OnlineDocumentationShortcut"
- Name="Node.js documentation"
- Target="http://nodejs.org/dist/v$(var.ProductVersion)/docs/api/"
- Type="url"/>
- <RegistryValue Root="HKCU" Key="$(var.RegistryKeyPath)" Name="installed" Type="integer" Value="1" KeyPath="yes"/>
- </Component>
- </DirectoryRef>
-
- <ComponentGroup Id="internet.shortcuts">
- <ComponentRef Id="InternetShortcuts"/>
- </ComponentGroup>
-
<UI Id="NodeInstallUI">
<TextStyle Id="WixUI_Font_Normal" FaceName="Tahoma" Size="8" />
<TextStyle Id="WixUI_Font_Bigger" FaceName="Tahoma" Size="12" />