Skip to content

Commit 94b7a36

Browse files
committed
Update OctoPrint Setup.iss
1 parent c62cd6e commit 94b7a36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

OctoPrint Setup.iss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ Filename: "{sys}\netsh.exe"; Parameters: "advfirewall firewall delete rule name=
7474
[Registry]
7575
Root: "HKLM"; Subkey: "Software\{#MyAppName}\Instances"; ValueType: string; ValueName: "{code:GetOctoPrintPort}"; ValueData: "{code:GetServiceWrapperPath}"; Flags: uninsdeletekeyifempty uninsdeletevalue
7676
Root: "HKLM"; Subkey: "Software\{#MyAppName}"; ValueType: string; ValueName: "InstallPath"; ValueData: "{app}"
77-
Root: HKLM; Subkey: "SYSTEM\CurrentControlSet\Control\Session Manager\Environment"; ValueType: string; ValueName: "Path"; ValueData: "{olddata};{app}"; Flags: preservestringtype; Check: NeedsAddPath(ExpandConstant('{app}'))
77+
Root: HKLM; Subkey: "SYSTEM\CurrentControlSet\Control\Session Manager\Environment"; ValueType: string; ValueName: "Path"; ValueData: "{olddata};{app}"; Flags: preservestringtype; Check: NeedsAddPathHKLM(ExpandConstant('{app}'))
7878

7979
[Components]
8080
Name: "initial_instance"; Description: "Initial Install"; Flags: exclusive; Check: not InstalledOnce

0 commit comments

Comments
 (0)