diff --git a/windows/ardupilot_methodic_configurator.iss b/windows/ardupilot_methodic_configurator.iss index 0f754e0..e1bedb3 100644 --- a/windows/ardupilot_methodic_configurator.iss +++ b/windows/ardupilot_methodic_configurator.iss @@ -66,8 +66,8 @@ Name: "{group}\ArduPilot MethodicConfigurator Forum"; Filename: "https://discuss Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; WorkingDir: "{userappdata}\.ardupilot_methodic_configurator"; IconFilename: "{app}\MethodicConfigurator.ico" [Run] +Filename: "{app}\_internal\set_permissions.bat"; WorkingDir: "{app}"; StatusMsg: "Setting file permissions..."; Flags: runhidden runasoriginaluser Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent -Filename: "{app}\_internal\set_permissions.bat"; WorkingDir: "{app}"; StatusMsg: "Setting file permissions..."; Flags: runhidden [Registry] Root: HKLM; Subkey: "SYSTEM\CurrentControlSet\Control\Session Manager\Environment"; \