Skip to content

Commit

Permalink
Do not remove previous installation directory
Browse files Browse the repository at this point in the history
  • Loading branch information
dinkypumpkin committed Sep 4, 2016
1 parent fa16a20 commit a00b2bf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions get_iplayer.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
; name and version
!define PRODUCT "get_iplayer"
!define VERSION "2.96"
!define PATCHLEVEL "0"
!define PATCHLEVEL "1"
!define WINVERSION "${VERSION}.${PATCHLEVEL}"
; set version strings in perl scripts
!system "make-version.cmd ${VERSION} ${PATCHLEVEL}"
Expand Down Expand Up @@ -495,11 +495,11 @@ Function UserCleanup
${If} $UserInstallDir != $INSTDIR
${AndIf} ${DirExists} $UserInstallDir
!ifndef TESTERRORS
RMDir /r $UserInstallDir
; RMDir /r $UserInstallDir
!endif
${If} ${DirExists} $UserInstallDir
StrCpy $Errors "$Errors\
$ErrNum. Failed to remove previous installation directory:$\r$\n$\t\
$ErrNum. Detected previous installation directory:$\r$\n$\t\
$UserInstallDir$\r$\n\
Remove manually. This action is not required.$\r$\n$\r$\n"
IntOp $ErrNum $ErrNum + 1
Expand Down

0 comments on commit a00b2bf

Please sign in to comment.