diff --git a/installer/config/config.xml b/installer/config/config.xml deleted file mode 100644 index ada1bf6..0000000 --- a/installer/config/config.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - Openroll - Openroll Installer - 2.0.0 - @HomeDir@/Openroll - diff --git a/installer/packages/com.barkersoftware.openroll/meta/package.xml b/installer/packages/com.barkersoftware.openroll/meta/package.xml deleted file mode 100644 index 8414709..0000000 --- a/installer/packages/com.barkersoftware.openroll/meta/package.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - Openroll - Installs Openroll software. - 2.0.0 - 2019-08-20 - true - diff --git a/installer/windows-binarycreator-script.bat b/installer/windows-binarycreator-script.bat deleted file mode 100644 index 802f5d3..0000000 --- a/installer/windows-binarycreator-script.bat +++ /dev/null @@ -1,15 +0,0 @@ -@echo off -echo Creating installer from release build... -echo Setting correct paths... -set PATH=C:\Qt5\5.12.4\mingw73_64\bin;C:/Qt5/Tools/mingw730_64\bin;C:\Program Files\7-Zip;%PATH% -echo Changing to release build folder... -cd /D C:\Users\cmaceachern\projects\Qt\openroll\build-openroll-Desktop_Qt_5_12_4_MinGW_64_bit-Release\release -echo Running windeployqt on executable... -C:\Qt5\5.12.4\mingw73_64\bin\windeployqt.exe openroll.exe -echo Creating .7z file of everything -"C:\Program Files\7-zip\7z.exe" a -r openroll.7z * -echo Moving .7z to git repository -MOVE /Y openroll.7z C:\Users\cmaceachern\projects\Qt\openroll\openroll\installer\packages\com.barkersoftware.openroll\data\ -cd /D C:\Users\cmaceachern\projects\Qt\openroll\openroll\installer\ -echo Running binarycreator.exe to build openroll installer -C:\Qt5\Tools\QtInstallerFramework\3.1\bin\binarycreator.exe -c config\config.xml -p packages openroll-installer.exe diff --git a/scripts/README.txt b/scripts/README.txt new file mode 100644 index 0000000..76d705f --- /dev/null +++ b/scripts/README.txt @@ -0,0 +1,7 @@ +Windows notes: + +- Run windows-windeployqt.bat file and then manually or use a script +to transfer over the files listing in windows-filelist-for-release-package.txt +into a new directory and zip it up to 'openroll-2.x.x.zip' + + diff --git a/scripts/windows-filelist-for-release-package.txt b/scripts/windows-filelist-for-release-package.txt new file mode 100644 index 0000000..0c8a597 --- /dev/null +++ b/scripts/windows-filelist-for-release-package.txt @@ -0,0 +1,16 @@ +C:\Projects\openroll\build\build-openroll-Desktop_Qt_5_15_2_MinGW_64_bit-Release\audio +C:\Projects\openroll\build\build-openroll-Desktop_Qt_5_15_2_MinGW_64_bit-Release\bearer +C:\Projects\openroll\build\build-openroll-Desktop_Qt_5_15_2_MinGW_64_bit-Release\iconengines +C:\Projects\openroll\build\build-openroll-Desktop_Qt_5_15_2_MinGW_64_bit-Release\imageformats +C:\Projects\openroll\build\build-openroll-Desktop_Qt_5_15_2_MinGW_64_bit-Release\mediaservice +C:\Projects\openroll\build\build-openroll-Desktop_Qt_5_15_2_MinGW_64_bit-Release\platforms +C:\Projects\openroll\build\build-openroll-Desktop_Qt_5_15_2_MinGW_64_bit-Release\playlistformats +C:\Projects\openroll\build\build-openroll-Desktop_Qt_5_15_2_MinGW_64_bit-Release\styles +C:\Projects\openroll\build\build-openroll-Desktop_Qt_5_15_2_MinGW_64_bit-Release\translations +C:\Projects\openroll\build\build-openroll-Desktop_Qt_5_15_2_MinGW_64_bit-Release\*.dll +C:\Projects\openroll\build\build-openroll-Desktop_Qt_5_15_2_MinGW_64_bit-Release\openroll.exe +C:\Projects\openroll\CHANGELOG +C:\Projects\openroll\gpl.txt +C:\Projects\openroll\lgpl.txt +C:\Projects\openroll\LICENSES.txt +C:\Projects\openroll\AUTHORS diff --git a/scripts/windows-windeployqt.bat b/scripts/windows-windeployqt.bat new file mode 100644 index 0000000..9dcc27a --- /dev/null +++ b/scripts/windows-windeployqt.bat @@ -0,0 +1,18 @@ +@echo off +echo Creating installer from release build... +echo Setting correct paths...make sure System Environment Variable QTDIR is set, +echo e.g., C:\Qt\5.15.2\mingw81_64, and add QTDIR\bin and QTDIR\lib to System PATH. +set PATH=%QTDIR%;%QTDIR%\..\..\Tools\mingw810_64\bin;C:\Program Files\7-Zip;%PATH% +echo Changing to release build folder... +cd /D C:\Projects\openroll\build\build-openroll-Desktop_Qt_5_15_2_MinGW_64_bit-Release +echo Running windeployqt on executable, this brings in all necessary .dll files etc. +windeployqt openroll.exe +:: echo Now we need to copy over our extra shipped stuff (license files, etc.) +::echo Creating .7z file of everything +:: "C:\Program Files\7-zip\7z.exe" a -r openroll.7z * +:: old installer stuff +:: echo Moving .7z to git repository +:: MOVE /Y openroll.7z C:\Users\cmaceachern\projects\Qt\openroll\openroll\installer\packages\com.barkersoftware.openroll\data\ +:: cd /D C:\Users\cmaceachern\projects\Qt\openroll\openroll\installer\ +:: echo Running binarycreator.exe to build openroll installer +:: C:\Qt5\Tools\QtInstallerFramework\3.1\bin\binarycreator.exe -c config\config.xml -p packages openroll-installer.exe