diff options
Diffstat (limited to 'installer/installer.wxs')
-rw-r--r-- | installer/installer.wxs | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/installer/installer.wxs b/installer/installer.wxs deleted file mode 100644 index b2f22034..00000000 --- a/installer/installer.wxs +++ /dev/null @@ -1,66 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:difx='http://schemas.microsoft.com/wix/DifxAppExtension'> - <Product Id="*" Name="WireGuard" Language="1033" Version="0.0.0.1" Manufacturer="WireGuard LLC" UpgradeCode="5e5a1da5-ba36-404d-92ec-41050d1c799c"> - <!-- TODO: uninstall before installing --> - <Package InstallerVersion="200" Compressed="yes" Platform="x64" InstallScope="perMachine" Description="WireGuard: Fast, Modern, Secure VPN Tunnel" ReadOnly="yes" /> - - <MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." AllowDowngrades="no" IgnoreRemoveFailure="no" AllowSameVersionUpgrades="yes" /> - <MediaTemplate EmbedCab="yes" CompressionLevel="high" /> - - <Icon Id="icon.ico" SourceFile="..\ui\icon\icon.ico" /> - <Property Id="ARPPRODUCTICON" Value="icon.ico" /> - <Property Id="ARPURLINFOABOUT" Value="https://www.wireguard.com/" /> - <Property Id="ARPNOREPAIR" Value="yes" /> - <Property Id="ARPNOMODIFY" Value="yes" /> - <Property Id="DISABLEADVTSHORTCUTS" Value="yes" /> - - <Feature Id="WireGuardFeature" Title="WireGuard" Level="1"> - <ComponentGroupRef Id="WireGuardComponents" /> - </Feature> - <Feature Id="WintunFeature" Title="Wintun" Level="1"> - <ComponentGroupRef Id="WintunComponents" /> - </Feature> - </Product> - - <Fragment> - <Directory Id="TARGETDIR" Name="SourceDir"> - <Directory Id="ProgramFiles64Folder"> - <Directory Id="INSTALLFOLDER" Name="WireGuard" /> - </Directory> - <Directory Id="ProgramMenuFolder" Name="ProgramMenuFolder" /> - </Directory> - </Fragment> - - <Fragment> - <ComponentGroup Id="WireGuardComponents"> - <Component Directory="INSTALLFOLDER" Id="WireGuardExecutable" Win64="yes"> - <File Source="..\wireguard.exe" KeyPath="yes"> - <Shortcut Id="WireGuardStartMenuShortcut" Directory="ProgramMenuFolder" Name="WireGuard" Description="WireGuard: Fast, Modern, Secure VPN Tunnel" WorkingDirectory="INSTALLFOLDER" Advertise="yes" /> - </File> - <ServiceControl Id="RemoveWireGuardManagerService" Name="WireGuardManager" Remove="both" Stop="both"></ServiceControl> - <ServiceControl Id="RemoveWireGuardTunnelServices" Name="WireGuardTunnel$test" Remove="both" Stop="both"></ServiceControl> - <!-- TODO: "test" is just a temporary hack. We need to enumerate all services that are "WireGuardTunnel$*" and remove those. --> - </Component> - </ComponentGroup> - - <ComponentGroup Id="WintunComponents"> - <Component Directory="INSTALLFOLDER" Id="WintunComponent" Guid="f84ff766-d154-44a3-9c50-371503f46ce6" Win64="yes" Shared="yes" SharedDllRefCount="yes"> - <!-- TODO: make sure we're installing the latest one. --> - <difx:Driver DeleteFiles="yes" ForceInstall="yes" Legacy="yes" PlugAndPlayPrompt="no" AddRemovePrograms="no" /> <!-- TODO: Remove legacy once we start signing drivers. --> - <!-- TODO: These should not end up staying in programfiles after the driver is installed. --> - <File Source="..\wintun\x64\Release\wintun\wintun.inf" /> - <File Source="..\wintun\x64\Release\wintun\wintun.cat" /> - <File Source="..\wintun\x64\Release\wintun\wintun.sys" /> - </Component> - </ComponentGroup> - - <InstallExecuteSequence> - <!-- TODO: this should not launch when msiexec is called with whatever flag means it shouldn't launch. --> - <Custom Action="LaunchApplication" After="PublishProduct">NOT Installed</Custom> - </InstallExecuteSequence> - <CustomAction Id="LaunchApplication" HideTarget="yes" Impersonate="no" Execute="deferred" FileKey="wireguard.exe" ExeCommand="" Return="asyncNoWait" /> - - <!-- TODO: On uninstall remove system32\config\wireguard. --> - <!-- TODO: On install and uninstall, kill services. --> - </Fragment> -</Wix> |