Browse Source

win/msi: don't create empty npm folder in %appdata%

Npm creates this folder when it's needed. Creating it in the installer
violates the per-user / per-machine scope separation.
v0.10.0-release
Bert Belder 12 years ago
parent
commit
0604d9ab93
  1. 13
      tools/msvs/msi/product.wxs

13
tools/msvs/msi/product.wxs

@ -109,18 +109,6 @@
</Component>
</Directory>
</Directory>
<Directory Id="AppDataFolder">
<Directory Id="NPMAppData" Name="npm">
<Component Id="npmappdata_folder" Guid="994B1F7F-60CD-4792-A96D-63BC7FFF29BF" Permanent="yes">
<RegistryKey Key="dummy" Root="HKCU" >
<RegistryValue Type="integer" Value="1" KeyPath="yes" />
</RegistryKey >
<CreateFolder/>
<RemoveFolder Id="RemoveAppData" On="uninstall" />
</Component>
</Directory>
</Directory>
</Directory>
<DirectoryRef Id="ApplicationProgramsFolder">
@ -159,7 +147,6 @@
<ComponentRef Id="npmcmd"/>
<ComponentRef Id="npmsh"/>
<ComponentRef Id="npmrc" />
<ComponentRef Id="npmappdata_folder" />
<ComponentGroupRef Id="NPMFiles" />
<ComponentRef Id="nodejsvars" />
<ComponentRef Id="noderegistry" />

Loading…
Cancel
Save