diff options
author | daid <daid303@gmail.com> | 2015-01-08 10:10:12 +0300 |
---|---|---|
committer | daid <daid303@gmail.com> | 2015-01-08 10:10:12 +0300 |
commit | 36ddd123d01a0b8e04628f33f8264e332c570df5 (patch) | |
tree | 02f17cc3031d66d56c7d1a55f00a8573b7984009 | |
parent | 66075b0f2e039b240c0aa3a2027f6d061f501e32 (diff) |
Remove uninstall other option, as it is broken.
-rw-r--r-- | scripts/win32/installer.nsi | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/scripts/win32/installer.nsi b/scripts/win32/installer.nsi index e1008e33c1..73dc5eaf1e 100644 --- a/scripts/win32/installer.nsi +++ b/scripts/win32/installer.nsi @@ -195,21 +195,6 @@ Section /o "Open AMF files with Cura" WriteRegStr HKCR "Cura AMF model file\shell\open\command" "" '"$INSTDIR\python\pythonw.exe" -c "import os; os.chdir(\"$INSTDIR\"); import Cura.cura; Cura.cura.main()" "%1"' SectionEnd -Section /o "Uninstall other Cura versions" - StrCpy $0 0 - loop: - EnumRegKey $1 HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall" $0 - StrCmp $1 "" done - IntOp $0 $0 + 1 - StrCmp $1 "Cura_${VERSION}" loop - ${StrContains} $2 "Cura_" $1 - StrCmp $2 "" loop - - ReadRegStr $3 HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\$1" "UninstallString" - ExecWait '$3 /S _?=$INSTDIR' - done: -SectionEnd - ;-------------------------------- ; Uninstaller |