Compare commits

...

4 Commits

Author SHA1 Message Date
Alan Rynne fd9054a387 fix: Ensure old .mez connector is removed upon installation (#72) 2024-05-23 00:00:42 +02:00
Alan Rynne 84efce792b Merge pull request #71 from specklesystems/dev
Update `main` with changes from `dev`
2024-05-14 17:20:43 +02:00
Alan Rynne 0bc4da1864 fix: User Shell constant from Innosetup instead of ENV var from system (#70)
Lower admin rights to minimum as we don't need any more.
2024-05-13 16:28:49 +02:00
Alan Rynne d7ea4f217f fix: Installer doesn't need admin rights unless we sign the PQX (currently blocked) (#69) 2024-04-29 12:17:35 +02:00
+6 -3
View File
@@ -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}
@@ -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
@@ -60,3 +59,7 @@ Source: "{#Bin}Speckle.pqx"; DestDir: "{#CustomConnectorFolder}";
; TODO: Including the thumbprint in the registry will enable this running in higher security environments.
; Currently blocked because of MakePQX.exe not being ready to work with online CSP's like Digicert Keylocker.
; #include "includes\registry-thumbprint-edit.iss"
[InstallDelete]
; Remove old .mez file connector to prevent conflicts
Type: filesandordirs; Name: "{#CustomConnectorFolder}\Speckle.mez"