Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new Windows installer based on Inno Setup #1340

Merged
merged 2 commits into from Mar 26, 2024
Merged

Conversation

ubruhin
Copy link
Member

@ubruhin ubruhin commented Mar 23, 2024

In addition to the Qt5/x86 installer currently built with QtIFW, this PR also builds an installer for Qt6/x86_64 which is now based on Inno Setup. In contrast to the old online installer, this is an offline installer and allows silent install/uninstall from command line as required by package managers like Chocolatey or winget. For the complete evaluation process and more details, see #1256.

image

The intention is that for the next release both installers are provided, a QtIFW based installer for 32-bit and this new installer for 64-bit. Any following release will only be available for 64-bit and QtIFW will be removed from our build process. When running in GUI mode (non-silent), the new installer even detects an old installation and opens its uninstaller for a clean upgrade path.

Like the old installer, the new one also adds a startmenu entry and registers the file extensions .lpp and .lppz.

Luckily I was able to get the installer version number extracted from the CMake project setup, so there's no need anymore to define the version number manually 馃檪

Built in the new Docker image created for Qt6 (LibrePCB/docker-librepcb-dev#35).

Tested on Windows 10 & 11.

Closes #1256

@ubruhin ubruhin added ci deployment os-windows Issues affecting Microsoft Windows build system Things affecting the build system (qmake, libraries, etc) labels Mar 23, 2024
@ubruhin ubruhin added this to the 1.1.0 milestone Mar 23, 2024
@ubruhin ubruhin self-assigned this Mar 23, 2024
@ubruhin ubruhin force-pushed the 1256-new-installer branch 2 times, most recently from dcbf73b to 02acbdc Compare March 24, 2024 20:09
@ubruhin ubruhin marked this pull request as ready for review March 24, 2024 20:28
@ubruhin ubruhin merged commit ace89bc into master Mar 26, 2024
11 checks passed
@ubruhin ubruhin deleted the 1256-new-installer branch March 26, 2024 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build system Things affecting the build system (qmake, libraries, etc) ci deployment os-windows Issues affecting Microsoft Windows
Development

Successfully merging this pull request may close these issues.

Evaluate new installer framework for Windows
1 participant