summaryrefslogtreecommitdiff
path: root/Windows
diff options
context:
space:
mode:
Diffstat (limited to 'Windows')
-rw-r--r--Windows/eSim.spec6
-rw-r--r--Windows/esim-setup-script.nsi15
2 files changed, 11 insertions, 10 deletions
diff --git a/Windows/eSim.spec b/Windows/eSim.spec
index f071ae68..3d289d8c 100644
--- a/Windows/eSim.spec
+++ b/Windows/eSim.spec
@@ -3,8 +3,8 @@
block_cipher = None
-a = Analysis(['..\\eSim-2.0\\src\\frontEnd\\Application.py'],
- pathex=['C:\\Users\\admin\\Desktop\\Python3-eSim-Windows-New\\build'],
+a = Analysis(['src\\frontEnd\\Application.py'],
+ pathex=['C:\\Users\\admin\\Desktop\\FOSSEE-eSim\\eSim-build'],
binaries=[],
datas=[],
hiddenimports=[],
@@ -30,4 +30,4 @@ exe = EXE(pyz,
upx=True,
upx_exclude=[],
runtime_tmpdir=None,
- console=True , icon='..\\logo.ico')
+ console=True , icon='logo.ico')
diff --git a/Windows/esim-setup-script.nsi b/Windows/esim-setup-script.nsi
index daaf4cc1..856a2c39 100644
--- a/Windows/esim-setup-script.nsi
+++ b/Windows/esim-setup-script.nsi
@@ -67,8 +67,8 @@ FunctionEnd
;General
!define PRODUCT_NAME "eSim"
-!define PRODUCT_VERSION "2.0"
-!define VERSION "2.0.0.0"
+!define PRODUCT_VERSION "2.1"
+!define VERSION "2.1.0.0"
!define PRODUCT_PUBLISHER "FOSSEE, IIT Bombay"
!define PRODUCT_WEB_SITE "https://esim.fossee.in/"
!define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}"
@@ -140,7 +140,7 @@ FunctionEnd
;--------------------------------
Name "${PRODUCT_NAME} ${PRODUCT_VERSION}"
-OutFile "eSim-2.0_install.exe"
+OutFile "eSim-2.1_installer.exe"
Function .onVerifyInstDir
@@ -164,7 +164,7 @@ FunctionEnd
Section -NgspiceSim
;Current section needs an additional "size_kb" kilobytes of disk space
- AddSize 2726298
+ ;AddSize 2726298
SetOutPath "$EXEDIR"
@@ -275,7 +275,7 @@ Section -AdditionalIcons
SectionEnd
-!include "installnghdl.nsi"
+!include "nghdl-setup-script.nsi"
Section -Post
@@ -323,7 +323,7 @@ Section Uninstall
Pop $0
DetailPrint "EnVar::AddValue returned=|$0|"
- GetFullPathName $1 $INSTDIR\..\ngspice-nghdl\install_dir\bin
+ GetFullPathName $1 $INSTDIR\..\ngspice-nghdl\bin
EnVar::DeleteValue "Path" $1
Pop $0
DetailPrint "EnVar::AddValue returned=|$0|"
@@ -354,6 +354,7 @@ Section Uninstall
;Removing eSim
RMDir /r "$PROFILE\.esim"
+ RMDir /r "$PROFILE\.nghdl"
RMDir "$SMPROGRAMS\eSim"
RMDir /r "$INSTDIR\..\eSim"
RMDir /r "$INSTDIR\..\KiCad"
@@ -375,4 +376,4 @@ SectionEnd
;!insertmacro MUI_DESCRIPTION_TEXT ${NgspiceSim} $(DESC_NgspiceSim)
;!insertmacro MUI_FUNCTION_DESCRIPTION_END
-;-------------------------------- \ No newline at end of file
+;--------------------------------