First real stable push since migrating
This commit is contained in:
64
OversightInstaller/Package.wxs
Normal file
64
OversightInstaller/Package.wxs
Normal file
@@ -0,0 +1,64 @@
|
||||
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"
|
||||
xmlns:ui="http://wixtoolset.org/schemas/v4/wxs/ui">
|
||||
|
||||
<Package Name="Oversight" Manufacturer="Paragon Systems Group" Version="1.0.0.0" UpgradeCode="e0e26d46-ed26-425e-a1bb-9bc76523ae6b">
|
||||
<MajorUpgrade DowngradeErrorMessage="A newer version of this application is already installed." />
|
||||
|
||||
<WixVariable
|
||||
Id="WixUILicenseRtf"
|
||||
Value="bpl.rtf"
|
||||
/>
|
||||
<!-- 🔍 Properties -->
|
||||
<Property Id="ARPPRODUCTICON" Value="DLShortcutIcon" />
|
||||
<Property Id="SERVER_URL" Value="http://your-default-server/api/register" />
|
||||
<Property Id="APP_EXECUTABLE" Value="PSG-Oversight.exe" />
|
||||
|
||||
|
||||
<!-- 🔧 UI -->
|
||||
<ui:WixUI Id="WixUI_InstallDir" InstallDirectory="INSTALLFOLDER" />
|
||||
|
||||
<!-- 🎨 Icon for Add/Remove Programs -->
|
||||
<Icon Id="DLShortcutIcon" SourceFile="Assets\DLShortcut.ico" />
|
||||
|
||||
<!-- 📂 Installation Directory -->
|
||||
<StandardDirectory Id="ProgramFiles64Folder">
|
||||
<Directory Id="INSTALLFOLDER" Name="Oversight">
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- 📁 Assets Folder -->
|
||||
|
||||
</Directory>
|
||||
</StandardDirectory>
|
||||
<ComponentGroupRef Id="AppFiles" />
|
||||
|
||||
<!-- 📁 Start Menu Shortcut -->
|
||||
<StandardDirectory Id="ProgramMenuFolder">
|
||||
<Directory Id="ApplicationProgramsFolder" Name="Oversight">
|
||||
<Component Id="StartMenuShortcutComponent" Guid="4C5466A9-CE33-48AE-B80C-08915A864DF2">
|
||||
<Shortcut Id="StartMenuShortcut"
|
||||
Directory="ApplicationProgramsFolder"
|
||||
Name="Oversight"
|
||||
WorkingDirectory="INSTALLFOLDER"
|
||||
Target="[INSTALLFOLDER][APP_EXECUTABLE]"
|
||||
Icon="DLShortcutIcon"
|
||||
IconIndex="0" />
|
||||
<RemoveFile Id="RemoveStartMenuShortcut" Name="Oversight.lnk" On="uninstall" />
|
||||
<RemoveFolder Id="RemoveStartMenuFolder" On="uninstall" />
|
||||
<RegistryValue Root="HKCU" Key="Software\Oversight" Name="StartMenuShortcut" Type="integer" Value="1" KeyPath="yes"/>
|
||||
</Component>
|
||||
</Directory>
|
||||
</StandardDirectory>
|
||||
|
||||
|
||||
<!-- 📦 Feature References -->
|
||||
<Feature Id="Main" Title="DL SysInfo" Level="1">
|
||||
<ComponentGroupRef Id="AppFiles" />
|
||||
<ComponentRef Id="StartMenuShortcutComponent" />
|
||||
</Feature>
|
||||
<!-- 💿 Media -->
|
||||
<Media Id="1" Cabinet="embedded.cab" EmbedCab="yes" />
|
||||
|
||||
</Package>
|
||||
</Wix>
|
||||
Reference in New Issue
Block a user