{I+=codeWee;}
[NSIS] NSIS : How to install or uninstall Node.js
!include x64.nsh

Unicode true

; Install

	ExecWait '"msiexec" /i "$INSTDIR\${NodeJSSetupFile}" /qn' 


; Uninstall

${If} ${RunningX64}
  SetRegView 64
	ReadRegStr $NodeJSPath HKLM "SOFTWARE\Node.js" "InstallPath"
  SetRegView LastUsed
${Else}
	ReadRegStr $NodeJSPath HKLM "SOFTWARE\Node.js" "InstallPath"
${EndIf}
	ExecWait '"msiexec" /x "$INSTDIR\${NodeJSSetupFile}" REMOVE=ALL /qn' 
HTML | PHP | C++ | DirectX11 | Javascript | C# | HTML5 | ASP | SQL | General | CSS | Oculus Rift | Unity3d | Virtools SDK | Tip | NSIS | PowerShell | node.js | Web API | RTSP | All
Copyright© 2016 CodeWee.com All rights reserved.