Improve Windows deployment and CI process#184
Improve Windows deployment and CI process#184corrados merged 4 commits intojamulussoftware:improve_win_cifrom doloopuntil:improve_win_ci
Conversation
The Powershell script provides the following improvements: - Automatic download of Jamulus dependencies (ASIOSDK, NSIS installer) - Automatic detection of Visual Studio/Build Tools installation (version 2017 and above) - Application packaging using Qt deployment tooling (windeployqt) - Easy execution from a standard Command Prompt as: powershell windows\deploy_windows.ps1 "<qt-install-path>"
The rework provides the following improvements: - Correct handling of 64bit and 32bit installations (registry keys, installation paths, disk space requirements) - Safer handling of installation path (only install into a new folder) - Update to Modern UI 2 installer experience - Support for internationalization (installer language selection and translations) - Fix broken detection of Jamulus already running (see https://sourceforge.net/p/llcon/discussion/software/thread/f3174d7f6f/) - Automatic detection of target files and folders to install
Update the Qt installer automation script to account for the latest changes in the installation process. The Qt online installer now requires a valid Qt user account. Also use the updated Windows deployment script.
|
Thank you for the new scripts.
Travis is not so important. We can fix this later on the master if there are any problems with it.
I have VS2015 installed. What do I have to change to support this Visual Studio version?
I had to run "Set-ExecutionPolicy RemoteSigned", otherwise I got an error message. Is there a way to output a help text on the command line to give users a hint if they also run into the same problem?
Is the qt-install-path mandatory or optional? |
|
I saw that you put the .xcf and .bmp in the windows directory. For the Mac installer the installer background image is in src/res. What is your opinion, should we put OS specific resources in the windows/mac/linux directory instead of the src/res? Previously there was the mainicon.ico already in the windows directory which is also a resource file. Maybe we should move the Mac installer background image then also in the mac directory instead of the src/res directory. |
I saw the Travis build is failing but I think I know why -- there are encrypted credentials (via Travis) that I believe must be associated to your repository so I cannot fix that myself but I can send you instructions on how to do it.
Then it may not work. I use VSSetup to detect Visual Studio automatically and the earliest supported version seems to be VS 2017. I tried with 2017 and 2019 (both VS Community Edition and VS Build Tools) and both work. An option is to provide an additional (optional) argument to specify VS's installation path.
I'll check - I didn't have that issue except on Travis.
It's optional and set to
I would agree to have OS-specific resources (maybe in a |
Yes, this is correct. I already have it connected to Travis: https://travis-ci.org/github/corrados/jamulus
Instead of a hard-coded default, could you check in the QT_xxx env variable if it is set, then use that value?
It seems I will need such a thing. I tried to run the script. Here is what I got: .\deploy_windows.ps1 C:\Qt\5.10.1 |
|
Any updates? Do you want me to provide you with more information? |
|
I now merge your pull request to a branch on the main git repo, intended for me to do some testing. |
Three main updates:
Windows deployment via Powershell script. The Powershell script provides the following improvements:
powershell windows\deploy_windows.ps1 "<qt-install-path>"Reworked NSIS installer script. The rework provides the following improvements:
Fixed Fix Travis deployment for Windows, update automation script to account for latest changes in installation UI.
Please test Travis deployment against main GitHub repo prior to merging