From 414a519537e9cacb260b08d368d11f296747ea90 Mon Sep 17 00:00:00 2001 From: Corey Butler Date: Thu, 25 Sep 2014 21:54:01 -0500 Subject: [PATCH] Better uninstall notices, node.js absorption. Fixes #3. --- nvm.iss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nvm.iss b/nvm.iss index aa6f62c..7845337 100644 --- a/nvm.iss +++ b/nvm.iss @@ -71,6 +71,8 @@ begin end; end; +//function getInstalledVErsions(dir: string): + function TakeControl(np: string; nv: string): string; var path: string; @@ -191,6 +193,8 @@ var path: string; nvm_symlink: string; begin + MsgBox('Removing NVM for Windows will remove the nvm command and all versions of node.js, including global npm modules.', mbInformation, MB_OK); + // Remove the symlink RegQueryStringValue(HKEY_LOCAL_MACHINE, 'SYSTEM\CurrentControlSet\Control\Session Manager\Environment', -- GitLab