Skip to content

Commit

Permalink
update installer files
Browse files Browse the repository at this point in the history
  • Loading branch information
marticliment committed Jun 20, 2021
1 parent 06a30ac commit 87506e6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ wingetui/dist/
"WingetUI Store.ex"e
WingetUI Store Installer.exe
WingetUI Store.exe
WingetUI Store.exe
installer.iss
Output/
6 changes: 4 additions & 2 deletions installer.iss
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
[Setup]
; 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={{889610CC-4337-4BDB-AC3B-4F21806C0BDC}
AppId={{889610CC-4337-4BDB-AC3B-4F21806C0BDD}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
;AppVerName={#MyAppName} {#MyAppVersion}
Expand All @@ -35,13 +35,15 @@ Name: "english"; MessagesFile: "compiler:Default.isl"
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked

[Files]
Source: "C:\Users\marti\SPTPrograms\WinGetUI\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Users\marti\SPTPrograms\WinGetUI\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Users\marti\SPTPrograms\WinGetUI\remove-old.cmd"; DestDir: "{app}"; Flags: deleteafterinstall
; NOTE: Don't use "Flags: ignoreversion" on any shared system files

[Icons]
Name: "{autoprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon

[Run]
Filename: "{app}\remove-old.cmd"; Flags: runhidden
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall

1 change: 1 addition & 0 deletions remove-old.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"%AppData%/../Local/Programs/wingetUI Store/unins000.exe" /verysilent

0 comments on commit 87506e6

Please sign in to comment.