Skip to content

Commit 2b446d0

Browse files
committed
Skip the "Run cmd.exe" option on silent install.
1 parent d2ac5ea commit 2b446d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nvm.iss

+1-1
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ end;
306306
307307
[Run]
308308
Filename: "{cmd}"; Parameters: "/C ""mklink /D ""{code:getSymLink}"" ""{code:getCurrentVersion}"""" "; Check: isNodeAlreadyInUse; Flags: runhidden;
309-
Filename: "{cmd}"; Parameters: "/K ""set PATH={app};%PATH% && cls && nvm"""; Flags: runasoriginaluser postinstall;
309+
Filename: "{cmd}"; Parameters: "/K ""set PATH={app};%PATH% && cls && nvm"""; Flags: runasoriginaluser postinstall skipifsilent;
310310

311311
[UninstallDelete]
312312
Type: files; Name: "{app}\nvm.exe";

0 commit comments

Comments
 (0)