summaryrefslogtreecommitdiff
path: root/Windows/installnghdl.nsi
diff options
context:
space:
mode:
authorRahul P2020-08-02 01:10:08 +0530
committerGitHub2020-08-02 01:10:08 +0530
commit002c6450cde02732a527dc577e7b3ff664c612da (patch)
tree0600d59762883e85007b7e1176c264e13756aba0 /Windows/installnghdl.nsi
parent60193294ec39b84023cdbfe0ee1999a5ed4855c9 (diff)
parent64b6576e0770258f599c9ec7eb8c4dc5bba18a4d (diff)
downloadnghdl-002c6450cde02732a527dc577e7b3ff664c612da.tar.gz
nghdl-002c6450cde02732a527dc577e7b3ff664c612da.tar.bz2
nghdl-002c6450cde02732a527dc577e7b3ff664c612da.zip
Merge pull request #4 from bladen-martin/installers
Installer for NGHDL using 7z
Diffstat (limited to 'Windows/installnghdl.nsi')
-rw-r--r--Windows/installnghdl.nsi30
1 files changed, 15 insertions, 15 deletions
diff --git a/Windows/installnghdl.nsi b/Windows/installnghdl.nsi
index 0ab7da4..2d5de99 100644
--- a/Windows/installnghdl.nsi
+++ b/Windows/installnghdl.nsi
@@ -76,52 +76,52 @@
Section "nghdl-loadsource"
SetOutPath $EXEDIR
- File "ghdl.zip"
- File "mingw.7z"
- File "MSYS.zip"
- File "nghdl-src.zip"
- File "ngspice-nghdl.zip"
+ File "ghdl.7z"
+ File "mingw64.7z"
+ File "MSYS.7z"
+ File "nghdl-src.7z"
+ File "ngspice-nghdl.7z"
SectionEnd
Section "nghdl-src"
SetOutPath $INSTDIR
- ZipDLL::extractall "$EXEDIR\nghdl-src.zip" "$INSTDIR\"
+ Nsis7z::ExtractWithDetails "$EXEDIR\nghdl-src.7z" "Extracting NGHDL %s..."
EnVar::SetHKLM
DetailPrint "EnVar::SetHKLM"
EnVar::AddValue "Path" "$INSTDIR\eSim\nghdl\src"
Pop $0
DetailPrint "EnVar::AddValue returned=|$0|"
- Delete "$EXEDIR\nghdl-src.zip"
+ Delete "$EXEDIR\nghdl-src.7z"
SectionEnd
Section "nghdl-mingw"
SetOutPath $INSTDIR
- Nsis7z::ExtractWithDetails "$EXEDIR\mingw.7z" "Extracting MinGW %s..."
+ Nsis7z::ExtractWithDetails "$EXEDIR\mingw64.7z" "Extracting MinGW %s..."
EnVar::SetHKLM
EnVar::AddValue "Path" "$INSTDIR\mingw64\bin"
Pop $0
DetailPrint "EnVar::AddValue returned=|$0|"
- Delete "$EXEDIR\mingw.7z"
+ Delete "$EXEDIR\mingw64.7z"
SectionEnd
Section "nghdl-msys"
SetOutPath $INSTDIR\mingw64
- ZipDLL::extractall "$EXEDIR\MSYS.zip" "$INSTDIR\mingw64\"
+ Nsis7z::ExtractWithDetails "$EXEDIR\MSYS.7z" "Extracting MSYS %s..."
EnVar::SetHKLM
EnVar::AddValue "Path" "$INSTDIR\mingw64\msys\bin"
Pop $0
DetailPrint "EnVar::AddValue returned=|$0|"
- Delete "$EXEDIR\MSYS.zip"
+ Delete "$EXEDIR\MSYS.7z"
SectionEnd
Section "nghdl-GHDL"
SetOutPath $INSTDIR\mingw64
- ZipDLL::extractall "$EXEDIR\ghdl.zip" "$INSTDIR\mingw64\"
+ Nsis7z::ExtractWithDetails "$EXEDIR\ghdl.7z" "Extracting GHDL %s..."
EnVar::SetHKLM
EnVar::AddValue "Path" "$INSTDIR\mingw64\GHDL\bin"
Pop $0
DetailPrint "EnVar::AddValue returned=|$0|"
- Delete "$EXEDIR\ghdl.zip"
+ Delete "$EXEDIR\ghdl.7z"
SectionEnd
Section "envar-refresh"
@@ -133,7 +133,7 @@ SectionEnd
Section "nghdl-installNgspice"
SetOutPath $INSTDIR
- ZipDLL::extractall "$EXEDIR\ngspice-nghdl.zip" "$INSTDIR\"
+ Nsis7z::ExtractWithDetails "$EXEDIR\ngspice-nghdl.7z" "Extracting GHDL %s..."
CopyFiles $INSTDIR\eSim\nghdl\src\outitf.c $INSTDIR\ngspice-nghdl\src\frontend
@@ -160,7 +160,7 @@ Section "nghdl-installNgspice"
FileClose $0
nsExec::ExecToLog "$INSTDIR\mingw64\msys\bin\bash.exe installngspice.sh"
- Delete "$EXEDIR\ngspice-nghdl.zip"
+ Delete "$EXEDIR\ngspice-nghdl.7z"
Delete $INSTDIR\ngspice-nghdl\release\installngspice.sh
SetOutPath $INSTDIR