diff --git a/package.sh b/package.sh index af1eb744..030cd005 100755 --- a/package.sh +++ b/package.sh @@ -166,6 +166,7 @@ if (( ${ARCHIVE_FOR_DISTRIBUTION} )); then if [ ! -z `which wine` ]; then #if we have wine, try to run our nsis script. + rm -rf scripts/win32/dist ln -sf `pwd`/${TARGET_DIR} scripts/win32/dist wine ~/.wine/drive_c/Program\ Files/NSIS/makensis.exe /DVERSION=${BUILD_NAME} scripts/win32/installer.nsi fi diff --git a/scripts/win32/installer.nsi b/scripts/win32/installer.nsi index b9f080d0..b1db3d44 100644 --- a/scripts/win32/installer.nsi +++ b/scripts/win32/installer.nsi @@ -1,6 +1,7 @@ !ifndef VERSION !define VERSION 'DEV' !endif +!addplugindir "nsisPlugins" ; The name of the installer Name "Cura ${VERSION}" diff --git a/scripts/win32/nsisPlugins/AccessControl.dll b/scripts/win32/nsisPlugins/AccessControl.dll new file mode 100644 index 00000000..4a55ff5c Binary files /dev/null and b/scripts/win32/nsisPlugins/AccessControl.dll differ