Skip to content

Commit

Permalink
Fixed wrong directory for plugins in nsi installer
Browse files Browse the repository at this point in the history
We created the Plugins Directory in the wrong location
before.

Now that is fixed

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
  • Loading branch information
pstorz authored and Marco van Wieringen committed Feb 17, 2015
1 parent 13f7a7d commit 71101c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions platforms/win32/winbareos.nsi
Expand Up @@ -310,8 +310,8 @@ SectionIn 1 2 3

SetOutPath "$INSTDIR"
SetOverwrite ifnewer
CreateDirectory "$INSTDIR\Plugins"
CreateDirectory "$SMPROGRAMS\${PRODUCT_NAME}"
CreateDirectory "$SMPROGRAMS\${PRODUCT_NAME}\Plugins"
CreateDirectory "$APPDATA\${PRODUCT_NAME}"
File "bareos-fd.exe"
File "bpipe-fd.dll"
Expand Down Expand Up @@ -920,8 +920,8 @@ ConfDeleteSkip:

Delete "$SMPROGRAMS\${PRODUCT_NAME}\Website.lnk"
Delete "$SMPROGRAMS\${PRODUCT_NAME}\Uninstall.lnk"
RMDir "$SMPROGRAMS\${PRODUCT_NAME}\Plugins"
RMDir "$SMPROGRAMS\${PRODUCT_NAME}"
RMDir "$INSTDIR\Plugins"
RMDir "$INSTDIR"
DeleteRegKey ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}"
DeleteRegKey HKLM "${PRODUCT_DIR_REGKEY}"
Expand Down

0 comments on commit 71101c1

Please sign in to comment.