Skip to content

Commit 1761b82

Browse files
committed
Build - fix windows MSI build script
* Ensure it runs from the script dir * Fix path now things have been restructured * Remove new config.wix * Return back to the script dir at script completion
1 parent 9558212 commit 1761b82

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

install/windows/install.bat

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ REM /I Ensures directories get copied properly
77
REM Pass 'Release' or 'Debug' on the command line
88
REM
99
REM
10+
cd %~dp0
1011
@echo Remember to update version number in wix\sonic-pi.wxs!!
1112

1213
REM Clear previous MSI build artefacts if present
@@ -15,7 +16,7 @@ mkdir app
1516
rmdir /S /Q etc
1617
mkdir etc
1718

18-
xcopy /Y /I /R /E ..\..\app\build\Release app\gui\qt\build\Release
19+
xcopy /Y /I /R /E ..\..\app\build\gui\qt\Release app\gui\qt\build\Release
1920
xcopy /Y /I /R /E ..\..\app\gui\qt\theme app\gui\qt\theme
2021
xcopy /Y /I /R /E ..\..\etc etc\
2122

@@ -42,6 +43,8 @@ ruby prune.rb app/server/ruby/vendor
4243
REM Now we have etc/app folders, generate the installer from them
4344
del gui.wix
4445
del etc.wix
46+
del config.wix
4547
del *.wixobj
4648
call wix\gen_wix.bat
4749
call wix\gen_msi.bat
50+
cd %~dp0

0 commit comments

Comments
 (0)