Skip to content

Commit

Permalink
update vcsetup.iss
Browse files Browse the repository at this point in the history
- removed VersionInfoVersion to fix non-binary version numbers causing errors
- implemented a fix for #104
  • Loading branch information
radj307 committed Oct 28, 2023
1 parent 800ba68 commit d032056
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion vcsetup.iss
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ AppUpdatesURL={#AppURL}

VersionInfoDescription={#AppName} installer
VersionInfoProductName={#AppName}
VersionInfoVersion={#AppVersion}

UninstallDisplayIcon={app}\{#AppExeName}
UninstallDisplayName={#AppName}
Expand All @@ -42,6 +41,7 @@ LanguageDetectionMethod=uilanguage
WizardStyle=modern
WizardSizePercent=100

PrivilegesRequired=lowest
PrivilegesRequiredOverridesAllowed=dialog

LicenseFile=LICENSE
Expand Down Expand Up @@ -79,6 +79,12 @@ Filename: "{app}\{#AppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(
[UninstallDelete]
Type: dirifempty; Name: "{app}"

[Registry]
; All Users
Root: HKLM; Subkey: "Software\Microsoft\Windows\CurrentVersion\Uninstall\{{#AppID}_is1"; ValueType: string; ValueName: "DisplayVersion"; ValueData: "{#AppVersion}"; Flags: uninsdeletevalue; Check: IsAdmin
; Current User
Root: HKCU; Subkey: "Software\Microsoft\Windows\CurrentVersion\Uninstall\{{#AppID}_is1"; ValueType: string; ValueName: "DisplayVersion"; ValueData: "{#AppVersion}"; Flags: uninsdeletevalue; Check: not IsAdmin

[Code]
function GetUninstallString(): String;
var
Expand Down

0 comments on commit d032056

Please sign in to comment.