Skip to content

Commit

Permalink
fix: User Shell constant from Innosetup instead of ENV var from system (
Browse files Browse the repository at this point in the history
#70)

Lower admin rights to minimum as we don't need any more.
  • Loading branch information
AlanRynne authored May 13, 2024
1 parent 1392070 commit 0bc4da1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tools/powerbi.iss
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#define AppURL "https://speckle.systems"
#define UninstallerFolder "{autoappdata}\Speckle\Uninstallers\" + Slug

#define CustomConnectorFolder "{%USERPROFILE}\Documents\Power BI Desktop\Custom Connectors"
#define CustomConnectorFolder "{userdocs}\Power BI Desktop\Custom Connectors"

[Setup]
AppId={{6759e9e1-8c6b-4974-87c3-bb3c8b8ce619}
Expand All @@ -34,14 +34,13 @@ AppCopyright=Copyright (C) 2020-2024 AEC SYSTEMS LTD
DefaultDirName={#UninstallerFolder}
VersionInfoVersion={#InfoVersion}
CloseApplications=false
PrivilegesRequired=admin
OutputDir={#Bin}
OutputBaseFilename={#Slug}-{#Version}
; UI
WindowShowCaption=no
WizardSizePercent=100,100
; SetupIconFile=.\InnoSetup\speckle.ico

PrivilegesRequired=lowest
; Disable wizard pages
DisableDirPage=yes
DisableProgramGroupPage=yes
Expand Down

0 comments on commit 0bc4da1

Please sign in to comment.