Mentions légales du service

Skip to content
Snippets Groups Projects
Commit ff5d1d33 authored by hhakim's avatar hhakim
Browse files

Update NSIS installer: try to uninstall previously installed Faust before...

Update NSIS installer: try to uninstall previously installed Faust before installing the current version.
parent bc4011c6
No related branches found
No related tags found
No related merge requests found
......@@ -89,6 +89,15 @@ Page instfiles
Section "" ; no component so name not needed
ifFileExists "$INSTDIR\uninstall.exe" +1 start_install
MessageBox MB_YESNO "Another Faust install was found on your system. Do you want to uninstall it before to install this one (recommended) ?" IDYES +1 IDNO start_install
; try to uninstall (silently) old install of Faust
ExecWait "$INSTDIR\uninstall.exe /S"
ifErrors +2 0
MessageBox MB_OK "Old version FAuST was uninstalled from $INSTDIR" /SD IDOK IDOK +1
start_install:
CreateDirectory $INSTDIR\matlab
CreateDirectory $INSTDIR\python
CreateDirectory $INSTDIR\doc\html
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment