Skip to content

Commit 5a5f540

Browse files
authored
Merge pull request #1136 from jdebou/jdb/path
Adds processing to path on windows.
2 parents 4ab2f38 + 9552d9b commit 5a5f540

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

app/windows/Processing.wxs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
<Feature Id="MainApplication" Title="Processing" Level="1">
1414
<Files Include="..\build\compose\binaries\main\app\Processing\**" />
1515
<ComponentRef Id="ApplicationShortcut" />
16+
<ComponentRef Id="PathComponent" />
1617
</Feature>
1718
<Directory Id="ProgramMenuFolder">
1819
<Directory Id="ApplicationProgramsFolder" Name="Processing"/>
@@ -31,5 +32,13 @@
3132
<RemoveFolder Id="CleanUpShortCut" Directory="ApplicationProgramsFolder" On="uninstall"/>
3233
<RegistryValue Root="HKCU" Key="Software\Processing Foundation\Processing" Name="installed" Type="integer" Value="1" KeyPath="yes"/>
3334
</Component>
35+
<Component Id="PathComponent" Guid="795b17d1-6e67-4581-9588-1f80a73c1428">
36+
<Environment Id="AddProcessingToPath"
37+
Action="set"
38+
Name="Path"
39+
Part="last"
40+
Value="[INSTALLFOLDER]">
41+
</Environment>
42+
</Component>
3443
</Package>
3544
</Wix>

0 commit comments

Comments
 (0)