public:computer:nsis

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
public:computer:nsis [2022/07/20 15:21] alexpublic:computer:nsis [2022/07/20 17:05] (current) alex
Line 1: Line 1:
 ====== NSIS ====== ====== NSIS ======
 +> Make Install Package using Nullsoft Install System.
  
 ===== Setting Environment ===== ===== Setting Environment =====
Line 11: Line 11:
  
 ===== Preparing Files ===== ===== Preparing Files =====
-  * 설치 패키지를 위한 파일을 준비한다.  +  * 설치 패키지를 위한 파일을 준비한다.  (ustra.7z = VSCode + STS4 + git + node.js + yarn + ..., ustra.ico) 
-  * NSIS Script file; 설치 패키지를 만드는 스크립트, *.nsi+  * NSIS Script file; 설치 패키지를 만드는 스크립트, *.nsi (ustra-dev-tools.nsi)
   * Prepare files to install; 설치할 파일을 준비한다.   * Prepare files to install; 설치할 파일을 준비한다.
-    * make 7z file into Input directory <sxh plain; gutter: false>+    * make 7z file into Input directory; 생성한 ustra.7z 파일을 Input 디렉토리에 넣는다. <sxh plain; gutter: false>
     ├─tools     ├─tools
     │  ├─apache-maven-3.8.1     │  ├─apache-maven-3.8.1
Line 165: Line 165:
 Function InstallNodejs Function InstallNodejs
   ; Install Node.js v12.22.9   ; Install Node.js v12.22.9
 +  ReadRegStr $R0 HKLM "SOFTWARE\Node.js" "Version"
 +
   ${If} $R0 == ""   ${If} $R0 == ""
     ;ExecWait 'C:\Windows\SysWOW64\msiexec.exe /i "$INSTDIR\tools\node-v12.22.9-x64.msi"'     ;ExecWait 'C:\Windows\SysWOW64\msiexec.exe /i "$INSTDIR\tools\node-v12.22.9-x64.msi"'
  • public/computer/nsis.1658298118.txt.gz
  • Last modified: 2022/07/20 15:21
  • by alex