Browse Source

Finished Windows installer

tags/v0.5.0
Andrew Belt 7 years ago
parent
commit
e6e9feeff7
3 changed files with 12 additions and 10 deletions
  1. +9
    -7
      Makefile
  2. BIN
      installer-banner.bmp
  3. +3
    -3
      installer.nsi

+ 9
- 7
Makefile View File

@@ -116,6 +116,9 @@ ifeq ($(ARCH), mac)


mkdir -p $(BUNDLE)/Contents/Resources/plugins mkdir -p $(BUNDLE)/Contents/Resources/plugins
cp -R plugins/Fundamental/dist/Fundamental $(BUNDLE)/Contents/Resources/plugins cp -R plugins/Fundamental/dist/Fundamental $(BUNDLE)/Contents/Resources/plugins
# Make DMG image
cd dist && ln -s /Applications Applications
cd dist && hdiutil create -srcfolder . -volname Rack -ov -format UDZO Rack-$(VERSION)-$(ARCH).dmg
endif endif
ifeq ($(ARCH), win) ifeq ($(ARCH), win)
mkdir -p dist/Rack mkdir -p dist/Rack
@@ -135,6 +138,11 @@ ifeq ($(ARCH), win)
cp dep/bin/portaudio_x64.dll dist/Rack/ cp dep/bin/portaudio_x64.dll dist/Rack/
mkdir -p dist/Rack/plugins mkdir -p dist/Rack/plugins
cp -R plugins/Fundamental/dist/Fundamental dist/Rack/plugins/ cp -R plugins/Fundamental/dist/Fundamental dist/Rack/plugins/
# Make ZIP
cd dist && zip -5 -r Rack-$(VERSION)-$(ARCH).zip Rack
# Make NSIS installer
makensis installer.nsi
mv Rack-setup.exe dist/Rack-$(VERSION)-$(ARCH).exe
endif endif
ifeq ($(ARCH), lin) ifeq ($(ARCH), lin)
mkdir -p dist/Rack mkdir -p dist/Rack
@@ -149,16 +157,10 @@ ifeq ($(ARCH), lin)
cp dep/lib/libportaudio.so.2 dist/Rack/ cp dep/lib/libportaudio.so.2 dist/Rack/
cp dep/lib/librtmidi.so.4 dist/Rack/ cp dep/lib/librtmidi.so.4 dist/Rack/
mkdir -p dist/Rack/plugins mkdir -p dist/Rack/plugins
# Make ZIP
cp -R plugins/Fundamental/dist/Fundamental dist/Rack/plugins/ cp -R plugins/Fundamental/dist/Fundamental dist/Rack/plugins/
endif endif


ifeq ($(ARCH), mac)
cd dist && ln -s /Applications Applications
cd dist && hdiutil create -srcfolder . -volname Rack -ov -format UDZO Rack-$(VERSION)-$(ARCH).dmg
else
cd dist && zip -5 -r Rack-$(VERSION)-$(ARCH).zip Rack
endif



# Plugin helpers # Plugin helpers




BIN
installer-banner.bmp View File

Before After

+ 3
- 3
installer.nsi View File

@@ -20,9 +20,9 @@ RequestExecutionLevel admin
!define MUI_ICON "icon.ico" !define MUI_ICON "icon.ico"
!define MUI_HEADERIMAGE !define MUI_HEADERIMAGE
!define MUI_HEADERIMAGE_BITMAP "${NSISDIR}\Contrib\Graphics\Header\nsis.bmp" ; 150x57
!define MUI_WELCOMEFINISHPAGE_BITMAP "${NSISDIR}\Contrib\Graphics\Wizard\win.bmp" ; 164x314
!define MUI_UNWELCOMEFINISHPAGE_BITMAP "${NSISDIR}\Contrib\Graphics\Wizard\win.bmp" ; 164x314
!define MUI_HEADERIMAGE_BITMAP "installer-banner.bmp" ; 150x57
; !define MUI_WELCOMEFINISHPAGE_BITMAP "${NSISDIR}\Contrib\Graphics\Wizard\win.bmp" ; 164x314
; !define MUI_UNWELCOMEFINISHPAGE_BITMAP "${NSISDIR}\Contrib\Graphics\Wizard\win.bmp" ; 164x314
!define MUI_COMPONENTSPAGE_NODESC !define MUI_COMPONENTSPAGE_NODESC


Loading…
Cancel
Save