Files
inno-installers/LobbyDisplay/LobbyDisplay.iss
cproudlock 0887caabb7 Update Dashboard and LobbyDisplay kiosk installers for FQDN migration
Migrate URLs from tsgwp00525.rd.ds.ge.com to tsgwp00525.wjs.geaerospace.net.
Bump version to 1.1, add PrepareToInstall to kill Edge before updating
shortcuts and registry for clean remote deployment via WinRM.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 17:21:03 -05:00

60 lines
2.8 KiB
Plaintext

; Script for GE Aerospace Lobby Display Kiosk Installer
; Creates Edge kiosk shortcut to tv-dashboard on Desktop and Startup
[Setup]
AppId={{42FFB952-0B72-493F-8869-D957344CA305}}
AppName=GE Aerospace Lobby Display
AppVersion=1.1
AppPublisher=WJDT
AppPublisherURL=http://tsgwp00525.wjs.geaerospace.net
AppSupportURL=http://tsgwp00525.wjs.geaerospace.net
AppUpdatesURL=http://tsgwp00525.wjs.geaerospace.net
DefaultDirName={autopf}\GE Aerospace Lobby Display
CreateAppDir=yes
DisableDirPage=yes
ChangesAssociations=no
PrivilegesRequired=admin
OutputDir=Output
OutputBaseFilename=GEAerospaceLobbyDisplaySetup
SolidCompression=yes
WizardStyle=modern
SetupIconFile=gea-logo.ico
WizardImageFile=patrick.bmp
WizardSmallImageFile=patrick-sm.bmp
DisableWelcomePage=no
Uninstallable=yes
[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
[Messages]
WelcomeLabel2=This will install the GE Aerospace Lobby Display shortcut on your computer.%n%nThe lobby display will open Microsoft Edge in kiosk mode and display the TV dashboard.%n%nA shortcut will be placed on your Desktop and in your Startup folder so it launches automatically when you log in.
[Icons]
; Desktop shortcut (common - all users)
Name: "{commondesktop}\GE Aerospace Lobby Display"; Filename: "{commonpf32}\Microsoft\Edge\Application\msedge.exe"; Parameters: "-kiosk https://tsgwp00525.wjs.geaerospace.net/shopdb/tv-dashboard/ --edge-kiosk-type=fullscreen"; IconFilename: "{commonpf32}\Microsoft\Edge\Application\msedge.exe"; Comment: "GE Aerospace TV Dashboard"
; Startup folder shortcut (common - launches on any user login)
Name: "{commonstartup}\GE Aerospace Lobby Display"; Filename: "{commonpf32}\Microsoft\Edge\Application\msedge.exe"; Parameters: "-kiosk https://tsgwp00525.wjs.geaerospace.net/shopdb/tv-dashboard/ --edge-kiosk-type=fullscreen"; IconFilename: "{commonpf32}\Microsoft\Edge\Application\msedge.exe"; Comment: "GE Aerospace TV Dashboard"
[Registry]
; Auto-start via Run key (backup to startup folder)
Root: HKLM; Subkey: "SOFTWARE\Microsoft\Windows\CurrentVersion\Run"; ValueType: string; ValueName: "GE Aerospace Lobby Display"; ValueData: """{commonpf32}\Microsoft\Edge\Application\msedge.exe"" -kiosk https://tsgwp00525.wjs.geaerospace.net/shopdb/tv-dashboard/ --edge-kiosk-type=fullscreen"; Flags: uninsdeletevalue
[UninstallDelete]
Type: files; Name: "{commondesktop}\GE Aerospace Lobby Display.lnk"
Type: files; Name: "{commonstartup}\GE Aerospace Lobby Display.lnk"
[Code]
function PrepareToInstall(var NeedsRestart: Boolean): String;
var
ResultCode: Integer;
begin
Result := '';
NeedsRestart := False;
// Kill any running Edge instances so shortcuts and registry can be updated cleanly
Exec('taskkill.exe', '/F /IM msedge.exe', '', SW_HIDE, ewWaitUntilTerminated, ResultCode);
// Brief pause to let processes fully exit
Sleep(1000);
end;