Skip to content

Commit

Permalink
Lower required privileges and change default install path to user space.
Browse files Browse the repository at this point in the history
  • Loading branch information
dieharders committed Jun 2, 2024
1 parent 5c862a6 commit 14cba0a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions inno-setup-config.iss
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
DefaultDirName={autopf}\ObrewServer
DefaultDirName={userappdata}\ObrewServer
DisableProgramGroupPage=yes
; Uncomment the following line to run in non administrative install mode (install for current user only.)
;PrivilegesRequired=lowest
; the following line to run in non administrative install mode (install for current user only.)
PrivilegesRequired=lowest
OutputDir=C:\Project Files\brain-dump-ai\backend-homebrew-ai\installer
OutputBaseFilename=ObrewServer.WIN.Setup
Compression=lzma
Expand All @@ -41,8 +41,8 @@ Source: "C:\Project Files\brain-dump-ai\backend-homebrew-ai\output\Obrew-Server\
; 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
Name: "{userprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
Name: "{userdesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon

[Run]
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent
Expand Down

0 comments on commit 14cba0a

Please sign in to comment.