Skip to content

Commit

Permalink
fix nsi file
Browse files Browse the repository at this point in the history
  • Loading branch information
pstorz committed Jan 18, 2019
1 parent 5c6715f commit 0574255
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/platforms/win32/winbareos.nsi
Expand Up @@ -554,7 +554,7 @@ Section Sourcecode SEC_SOURCE
SetShellVarContext all
SetOutPath "C:\"
SetOverwrite ifnewer
File /r "bareos-${BAREOS_NUMERIC_VERSION}"
File /r "bareos-${VERSION}"
SectionEnd
!Endif

Expand Down Expand Up @@ -1107,7 +1107,7 @@ ${EndIf}

; Sourcecode
!If ${WIN_DEBUG} == yes
!insertmacro MUI_DESCRIPTION_TEXT ${SEC_SOURCE} "Sourcecode for debugging will be installed into C:\bareos-${BAREOS_NUMERIC_VERSION}"
!insertmacro MUI_DESCRIPTION_TEXT ${SEC_SOURCE} "Sourcecode for debugging will be installed into C:\bareos-${VERSION}"
!Endif

!insertmacro MUI_FUNCTION_DESCRIPTION_END
Expand Down Expand Up @@ -2283,7 +2283,7 @@ ConfDeleteSkip:
${EndIf}

# remove sourcecode
RMDir /r "C:\bareos-${BAREOS_NUMERIC_VERSION}"
RMDir /r "C:\bareos-${VERSION}"

# install log
Delete "$INSTDIR\install.txt"
Expand Down

0 comments on commit 0574255

Please sign in to comment.