correct uninstall
This commit is contained in:
parent
8a739d8170
commit
6fe899a7fd
@ -23,13 +23,13 @@ if (($INST_SystemType$ = "x86 System") and ($INST_architecture$ = "system specif
|
|||||||
Set $UninstallProgramOld32$ = $InstallDir32$ + "\" + $UninstallProg32$
|
Set $UninstallProgramOld32$ = $InstallDir32$ + "\" + $UninstallProg32$
|
||||||
if FileExists($UninstallProgramOld32$)
|
if FileExists($UninstallProgramOld32$)
|
||||||
comment "Uninstall program found, starting uninstall"
|
comment "Uninstall program found, starting uninstall"
|
||||||
Winbatch_uninstall_old_32
|
Winbatch_uninstall_old_32 /WaitforProcessending "Au_.exe" /Timeoutseconds 10
|
||||||
sub_check_exitcode
|
sub_check_exitcode
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
if FileExists($UninstallProgram32$)
|
if FileExists($UninstallProgram32$)
|
||||||
comment "Uninstall program found, starting uninstall"
|
comment "Uninstall program found, starting uninstall"
|
||||||
Winbatch_uninstall_32
|
Winbatch_uninstall_32 /WaitforProcessending "Au_.exe" /Timeoutseconds 10
|
||||||
sub_check_exitcode
|
sub_check_exitcode
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@ -52,13 +52,13 @@ if ($INST_SystemType$ = "64 Bit System") and (($INST_architecture$ = "system spe
|
|||||||
Set $UninstallProgramOld64$ = $InstallDir64$ + "\" + $UninstallProg64$
|
Set $UninstallProgramOld64$ = $InstallDir64$ + "\" + $UninstallProg64$
|
||||||
if FileExists($UninstallProgramOld64$)
|
if FileExists($UninstallProgramOld64$)
|
||||||
comment "Uninstall program found, starting uninstall"
|
comment "Uninstall program found, starting uninstall"
|
||||||
Winbatch_uninstall_old_64
|
Winbatch_uninstall_old_64 /WaitforProcessending "Au_.exe" /Timeoutseconds 10
|
||||||
sub_check_exitcode
|
sub_check_exitcode
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
if FileExists($UninstallProgram64$)
|
if FileExists($UninstallProgram64$)
|
||||||
comment "Uninstall program found, starting uninstall"
|
comment "Uninstall program found, starting uninstall"
|
||||||
Winbatch_uninstall_64
|
Winbatch_uninstall_64 /WaitforProcessending "Au_.exe" /Timeoutseconds 10
|
||||||
sub_check_exitcode
|
sub_check_exitcode
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@ -72,26 +72,10 @@ comment "Delete program shortcuts"
|
|||||||
LinkFolder_uninstall
|
LinkFolder_uninstall
|
||||||
|
|
||||||
[Winbatch_uninstall_old_32]
|
[Winbatch_uninstall_old_32]
|
||||||
; Choose one of the following examples as basis for program uninstall
|
"$UninstallProgramOld32$" /S
|
||||||
;
|
|
||||||
; === Nullsoft Scriptable Install System ================================================================
|
|
||||||
; maby better Call as
|
|
||||||
; Winbatch_uninstall /WaitforProcessending "Au_.exe" /Timeoutseconds 10
|
|
||||||
; "$UninstallProgramOld32$" /S
|
|
||||||
;
|
|
||||||
; === Inno Setup ========================================================================================
|
|
||||||
; "$UninstallProgramOld32$" /silent /norestart /SUPPRESSMSGBOXES /nocancel
|
|
||||||
|
|
||||||
[Winbatch_uninstall_32]
|
[Winbatch_uninstall_32]
|
||||||
; Choose one of the following examples as basis for program uninstall
|
"$UninstallProgram32$" /S
|
||||||
;
|
|
||||||
; === Nullsoft Scriptable Install System ================================================================
|
|
||||||
; maby better Call as
|
|
||||||
; Winbatch_uninstall /WaitforProcessending "Au_.exe" /Timeoutseconds 10
|
|
||||||
; "$UninstallProgram32$" /S
|
|
||||||
;
|
|
||||||
; === Inno Setup ========================================================================================
|
|
||||||
; "$UninstallProgram32$" /silent /norestart /SUPPRESSMSGBOXES /nocancel
|
|
||||||
|
|
||||||
[Files_uninstall_32]
|
[Files_uninstall_32]
|
||||||
; Example for recursively deleting the installation directory (don't forget the trailing backslash):
|
; Example for recursively deleting the installation directory (don't forget the trailing backslash):
|
||||||
@ -99,26 +83,10 @@ LinkFolder_uninstall
|
|||||||
delete -sf "$InstallDir32$\"
|
delete -sf "$InstallDir32$\"
|
||||||
|
|
||||||
[Winbatch_uninstall_old_64]
|
[Winbatch_uninstall_old_64]
|
||||||
; Choose one of the following examples as basis for program uninstall
|
"$UninstallProgramOld64$" /S
|
||||||
;
|
|
||||||
; === Nullsoft Scriptable Install System ================================================================
|
|
||||||
; maby better Call as
|
|
||||||
; Winbatch_uninstall /WaitforProcessending "Au_.exe" /Timeoutseconds 10
|
|
||||||
; "$UninstallProgramOld64$" /S
|
|
||||||
;
|
|
||||||
; === Inno Setup ========================================================================================
|
|
||||||
; "$UninstallProgramOld64$" /silent /norestart /SUPPRESSMSGBOXES /nocancel
|
|
||||||
|
|
||||||
[Winbatch_uninstall_64]
|
[Winbatch_uninstall_64]
|
||||||
; Choose one of the following examples as basis for program uninstall
|
"$UninstallProgram64$" /S
|
||||||
;
|
|
||||||
; === Nullsoft Scriptable Install System ================================================================
|
|
||||||
; maby better Call as
|
|
||||||
; Winbatch_uninstall /WaitforProcessending "Au_.exe" /Timeoutseconds 10
|
|
||||||
; "$UninstallProgram64$" /S
|
|
||||||
;
|
|
||||||
; === Inno Setup ========================================================================================
|
|
||||||
; "$UninstallProgram64$" /silent /norestart /SUPPRESSMSGBOXES /nocancel
|
|
||||||
|
|
||||||
[Files_uninstall_64]
|
[Files_uninstall_64]
|
||||||
; Example for recursively deleting the installation directory:
|
; Example for recursively deleting the installation directory:
|
||||||
|
Loading…
Reference in New Issue
Block a user