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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a Windows Installer #55

Open
arnobaer opened this issue Jun 5, 2024 · 0 comments
Open

Create a Windows Installer #55

arnobaer opened this issue Jun 5, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@arnobaer
Copy link
Member

arnobaer commented Jun 5, 2024

Preface: while deploying the software on Windows using a self-extracting exe is convenient, there is the caveat that Windows starts to delete the extracted files in the user's TEMP directory after several hours, resulting in disappearing icons and config files that break the software.

To solve this issue I propose to deploy the software on Windows as Installer using Inno Setup.

Key requirements are:

  • permit installing multiple versions of the software at the same time
  • install files to the local user's home directory (AppData)
  • do not require admin privileges
  • create a Desktop shortcut (e.g. "SQC 0.10.2")
  • create a Start Menu entry (e.g. "SQC/SQC 0.10.2")
  • provide an uninstaller for convenient removal

This requires adaption of the workflow windows_app.yml and pyinstaller/windows_app.spec to create a one-dir bundle using PyInstaller (instead if a one-file exe).

@arnobaer arnobaer added the enhancement New feature or request label Jun 5, 2024
arnobaer added a commit that referenced this issue Jun 5, 2024
added inno setup template, updated windows app spec and workflow
@arnobaer arnobaer self-assigned this Jun 6, 2024
arnobaer added a commit that referenced this issue Jun 6, 2024
added publisher info, uninstaller icon, updated pyinstaller
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant