The tree adds the installer, service and test paths admitted by this source commit. Nothing else changes about what may cross. Source-Sha: 3e4a3aa4ce092e9e3f51bc78daf3ddc14d9638f8 Policy-Sha: 3e4a3aa4ce092e9e3f51bc78daf3ddc14d9638f8 Tree-Digest: 89d6fce3828a0e0de0c8eeb41ee6750f4462217e2a04b5190297134d7f4a50c3
98 lines
7.1 KiB
XML
98 lines
7.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
|
|
<Fragment>
|
|
<UI Id="RedFlagServerUI">
|
|
<TextStyle Id="Normal" FaceName="Segoe UI" Size="9" />
|
|
<TextStyle Id="Title" FaceName="Segoe UI" Size="14" Bold="yes" />
|
|
<Property Id="DefaultUIFont" Value="Normal" />
|
|
|
|
<Dialog Id="ServerWelcome" Width="370" Height="270" Title="[ProductName] Setup">
|
|
<Control Id="Title" Type="Text" X="20" Y="18" Width="330" Height="24" Text="{\Title}Install RedFlag Server" />
|
|
<Control Id="Scope" Type="Text" X="20" Y="55" Width="330" Height="50" Text="This installs the fleet authority and web dashboard as a Windows service. It does not install RedFlag Desktop, a local Agent, or PostgreSQL." />
|
|
<Control Id="Requirements" Type="Text" X="20" Y="115" Width="330" Height="70" Text="You need administrator rights and an existing PostgreSQL database. After installation, create redflag.env from the supplied example, set your credentials and signing key, then start RedFlagServer." />
|
|
<Control Id="Boundary" Type="Text" X="20" Y="190" Width="330" Height="35" Text="The service remains stopped after setup. Standalone local-machine installation is not part of this package." />
|
|
<Control Id="Next" Type="PushButton" X="230" Y="240" Width="60" Height="18" Default="yes" Text="Next">
|
|
<Publish Event="NewDialog" Value="ServerLicense">1</Publish>
|
|
</Control>
|
|
<Control Id="Cancel" Type="PushButton" X="300" Y="240" Width="60" Height="18" Cancel="yes" Text="Cancel">
|
|
<Publish Event="EndDialog" Value="Exit">1</Publish>
|
|
</Control>
|
|
</Dialog>
|
|
|
|
<Dialog Id="ServerLicense" Width="370" Height="270" Title="[ProductName] License">
|
|
<Control Id="Title" Type="Text" X="20" Y="15" Width="330" Height="24" Text="{\Title}GNU AGPL version 3" />
|
|
<Control Id="License" Type="ScrollableText" X="20" Y="45" Width="330" Height="150" Sunken="yes" TabSkip="no">
|
|
<Text SourceFile="dist/License.rtf" />
|
|
</Control>
|
|
<Control Id="Notice" Type="Text" X="20" Y="202" Width="330" Height="30" Text="RedFlag is free software under the license above. Click Install to install the Server files and register its service." />
|
|
<Control Id="Back" Type="PushButton" X="160" Y="240" Width="60" Height="18" Text="Back">
|
|
<Publish Event="NewDialog" Value="ServerWelcome">1</Publish>
|
|
</Control>
|
|
<Control Id="Install" Type="PushButton" X="230" Y="240" Width="60" Height="18" Default="yes" Text="Install">
|
|
<Publish Event="EndDialog" Value="Return">1</Publish>
|
|
</Control>
|
|
<Control Id="Cancel" Type="PushButton" X="300" Y="240" Width="60" Height="18" Cancel="yes" Text="Cancel">
|
|
<Publish Event="EndDialog" Value="Exit">1</Publish>
|
|
</Control>
|
|
</Dialog>
|
|
|
|
<Dialog Id="ServerMaintenance" Width="370" Height="270" Title="[ProductName] Maintenance">
|
|
<Control Id="Title" Type="Text" X="20" Y="18" Width="330" Height="24" Text="{\Title}Maintain RedFlag Server" />
|
|
<Control Id="Scope" Type="Text" X="20" Y="65" Width="330" Height="100" Text="Repair reinstalls the Server files. Remove stops and removes its service and package files. Your redflag.env, server keys and database are preserved. Neither action changes a separately installed Agent or Desktop. Start the service manually after repair." />
|
|
<Control Id="Repair" Type="PushButton" X="90" Y="200" Width="80" Height="22" Default="yes" Text="Repair">
|
|
<Publish Property="REINSTALL" Value="ALL" Order="1">1</Publish>
|
|
<Publish Property="REINSTALLMODE" Value="omus" Order="2">1</Publish>
|
|
<Publish Event="EndDialog" Value="Return" Order="3">1</Publish>
|
|
</Control>
|
|
<Control Id="Remove" Type="PushButton" X="190" Y="200" Width="80" Height="22" Text="Remove">
|
|
<Publish Property="REMOVE" Value="ALL" Order="1">1</Publish>
|
|
<Publish Event="EndDialog" Value="Return" Order="2">1</Publish>
|
|
</Control>
|
|
<Control Id="Cancel" Type="PushButton" X="300" Y="240" Width="60" Height="18" Cancel="yes" Text="Cancel">
|
|
<Publish Event="EndDialog" Value="Exit">1</Publish>
|
|
</Control>
|
|
</Dialog>
|
|
|
|
<Dialog Id="ServerProgress" Width="370" Height="180" Title="[ProductName] Setup" Modeless="yes">
|
|
<Control Id="Title" Type="Text" X="20" Y="20" Width="330" Height="24" Text="{\Title}Applying package changes" />
|
|
<Control Id="Action" Type="Text" X="20" Y="70" Width="330" Height="30">
|
|
<Subscribe Event="ActionText" Attribute="Text" />
|
|
</Control>
|
|
<Control Id="Progress" Type="ProgressBar" X="20" Y="110" Width="330" Height="16" ProgressBlocks="yes">
|
|
<Subscribe Event="SetProgress" Attribute="Progress" />
|
|
</Control>
|
|
</Dialog>
|
|
|
|
<Dialog Id="ServerComplete" Width="370" Height="270" Title="[ProductName] Setup">
|
|
<Control Id="Title" Type="Text" X="20" Y="18" Width="330" Height="24" Text="{\Title}Package operation complete" />
|
|
<Control Id="NextSteps" Type="Text" X="20" Y="65" Width="330" Height="135" Text="After installing or repairing: copy [CommonAppDataFolder]RedFlag\redflag.env.example to redflag.env in the same folder. Configure PostgreSQL, admin credentials, JWT secret and signing key. Start RedFlagServer in Services, then open http://localhost:8080 (or your configured port). Package completion does not verify database connectivity or application health. After removal, operator configuration and database remain." />
|
|
<Control Id="Finish" Type="PushButton" X="290" Y="240" Width="60" Height="18" Default="yes" Cancel="yes" Text="Finish">
|
|
<Publish Event="EndDialog" Value="Return">1</Publish>
|
|
</Control>
|
|
</Dialog>
|
|
|
|
<Dialog Id="ServerFailed" Width="370" Height="180" Title="[ProductName] Setup">
|
|
<Control Id="Message" Type="Text" X="20" Y="25" Width="330" Height="95" Text="Setup could not complete. Review the Windows Installer log before retrying. Do not assume the Server is installed or running." />
|
|
<Control Id="Finish" Type="PushButton" X="290" Y="145" Width="60" Height="18" Default="yes" Cancel="yes" Text="Finish">
|
|
<Publish Event="EndDialog" Value="Exit">1</Publish>
|
|
</Control>
|
|
</Dialog>
|
|
|
|
<Dialog Id="ServerCancelled" Width="370" Height="180" Title="[ProductName] Setup">
|
|
<Control Id="Message" Type="Text" X="20" Y="25" Width="330" Height="70" Text="Setup was cancelled. You can run this package again when ready." />
|
|
<Control Id="Finish" Type="PushButton" X="290" Y="145" Width="60" Height="18" Default="yes" Cancel="yes" Text="Finish">
|
|
<Publish Event="EndDialog" Value="Exit">1</Publish>
|
|
</Control>
|
|
</Dialog>
|
|
|
|
<InstallUISequence>
|
|
<Show Dialog="ServerWelcome" After="CostFinalize">NOT Installed</Show>
|
|
<Show Dialog="ServerMaintenance" After="ServerWelcome">Installed AND NOT REMOVE</Show>
|
|
<Show Dialog="ServerProgress" Before="ExecuteAction">1</Show>
|
|
<Show Dialog="ServerComplete" OnExit="success">1</Show>
|
|
<Show Dialog="ServerFailed" OnExit="error">1</Show>
|
|
<Show Dialog="ServerCancelled" OnExit="cancel">1</Show>
|
|
</InstallUISequence>
|
|
</UI>
|
|
</Fragment>
|
|
</Wix>
|