Files
GS-IPv6-Forwarder/GSv6FwdSetup/Product.wxs
2017-08-27 01:01:30 -07:00

46 lines
2.0 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
xmlns:fire="http://schemas.microsoft.com/wix/FirewallExtension">
<Product Id="*" Name="IPv6 Forwarder for GS Protocol" Language="1033" Version="0.1.0.0" Manufacturer="Cameron Gutman" UpgradeCode="cae27153-26ed-4da2-8dd5-8cddc7126a05">
<Package InstallerVersion="500" Compressed="yes" InstallScope="perMachine" />
<MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." />
<MediaTemplate EmbedCab="yes" />
<Feature Id="ProductFeature" Title="GSv6FwdSetup" Level="1">
<ComponentGroupRef Id="ProductComponents" />
</Feature>
</Product>
<Fragment>
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramFilesFolder">
<Directory Id="INSTALLFOLDER" Name="GS IPv6 Forwarder" />
</Directory>
</Directory>
</Fragment>
<Fragment>
<ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER">
<Component Id="ProductComponent">
<File Source="$(var.GSv6Fwd.TargetPath)" KeyPath="yes">
<fire:FirewallException Id="FwException"
Scope="any"
Name="IPv6 Forwarder for GS Protocol"/>
</File>
<ServiceInstall Type="ownProcess"
Name="GSv6FwdSvc"
DisplayName="IPv6 Forwarder for GS Protocol"
Description="Provides access to GameStream servers over IPv6 networks"
Start="auto"
Account="LocalSystem"
ErrorControl="ignore"
Interactive="no">
<ServiceConfig DelayedAutoStart="yes" OnInstall="yes" OnReinstall="yes" />
</ServiceInstall>
<ServiceControl Id="StartService" Start="install" Stop="both" Remove="uninstall" Name="GSv6FwdSvc" Wait="yes" />
</Component>
</ComponentGroup>
</Fragment>
</Wix>