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

Windows Installer (AppID + App DisplayName) #5027

Merged
merged 9 commits into from
Dec 8, 2022

Conversation

jonoomph
Copy link
Member

@jonoomph jonoomph commented Dec 8, 2022

Fix our 3.0.0 release candidate Windows installer to use the same AppID in the registry as our previous stable builds (2.5.1, 2.6.0, and 2.6.1). This prevents multiple entries in the Add / Remove Programs screen.

@jonoomph jonoomph changed the base branch from develop to release-20221201 December 8, 2022 21:28
@@ -24,9 +24,10 @@
; NOTE: The value of AppId uniquely identifies this application.
; Do not use the same AppId value in installers for other applications.
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
AppId={code:GetAppId|4BB0DCDC-BC24-49EC-8937-72956C33A470}
AppId={code:GetAppId|{{4BB0DCDC-BC24-49EC-8937-72956C33A470}}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

{{ is escaped to "{"

AppName=OpenShot Video Editor
AppVersion={#VERSION}
AppVerName={#MyAppName} {#VERSION}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This updates the name of OpenShot displayed in the installer and Add/Remove Programs screens. "OpenShot Video Editor 3.0.0" for example.

@@ -134,6 +135,8 @@ Root: HKLM; Subkey: "Software\Classes\.osp"; ValueType: string; ValueName: ""; V
Root: HKLM; Subkey: "Software\Classes\OpenShotProject"; ValueType: string; ValueName: ""; ValueData: "{#MyAppProjectFileDesc}"; Flags: uninsdeletekey; Tasks: fileassoc
; Launcher association for data files of type OpenShotProject
Root: HKLM; Subkey: "Software\Classes\OpenShotProject\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\{#MyAppExeName}"" ""%1"""; Tasks: fileassoc
; Clean-up old, incorrect AppID Uninstaller (used in 2.6.1-dev builds)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For a while now our daily builds have been using a different AppID key in the registry, missing { } curly brackets. This line removes this old entry from the registry.

@jonoomph jonoomph merged commit 8aaee8d into release-20221201 Dec 8, 2022
@jonoomph jonoomph deleted the windows-auto-uninstall branch December 8, 2022 21:31
@jonoomph
Copy link
Member Author

jonoomph commented Dec 8, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant