Skip to content

Commit

Permalink
Merge pull request #5027 from OpenShot/windows-auto-uninstall
Browse files Browse the repository at this point in the history
Windows Installer (AppID + App DisplayName)
  • Loading branch information
jonoomph authored Dec 8, 2022
2 parents 5ba51b3 + 2d355ce commit 8aaee8d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion installer/windows-installer.iss
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
AppName=OpenShot Video Editor
AppVersion={#VERSION}
AppVerName={#MyAppName} {#VERSION}
VersionInfoVersion={#VERSION}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyPublisherURL}
Expand Down Expand Up @@ -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)
Root: HKLM; Subkey: "Software\Microsoft\Windows\CurrentVersion\Uninstall\4BB0DCDC-BC24-49EC-8937-72956C33A470_is1"; ValueName: ""; Flags: deletekey;

[Files]
; Add all frozen files from cx_Freeze build
Expand Down

0 comments on commit 8aaee8d

Please sign in to comment.