Product.wxs 3.78 KB
Newer Older
1 2
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"><?define GazeWebSocketServer_TargetDir=$(var.GazeWebSocketServer.TargetDir)?><?define TrackerBridge_TargetDir=$(var.TrackerBridge.TargetDir)?>
3
  <Product Id="9D80C19D-9CF2-4630-A630-CF5F740991C4" Name="Gaze Web Socket Server" Language="1033" Version="1.0.0.2" Manufacturer="OTH Regensburg" UpgradeCode="972c80d8-c2bf-44ac-ae8c-beb6724671e8">
4 5 6
		<Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" />

		<MajorUpgrade DowngradeErrorMessage="A newer version of Gaze Web Socket Server is already installed." />
7
    <MediaTemplate EmbedCab="yes"/>
8

9 10 11 12 13
    <Feature Id="ProductFeature" Title="Gaze Web Socket Server" Level="1">
      <ComponentGroupRef Id="ProductComponents" />
      <ComponentRef Id="ApplicationShortcut"/>
    </Feature>
  </Product>
14

15 16 17 18 19
  <Fragment>
    <Directory Id="TARGETDIR" Name="SourceDir">
      <Directory Id="ProgramFilesFolder">
        <Directory Id="INSTALLFOLDER" Name="GazeWebSocketServer" />
      </Directory>
20 21 22
      <Directory Id="ProgramMenuFolder">
        <Directory Id="ApplicationProgramsFolder" Name="GazeWSS"/>
      </Directory>
23 24
    </Directory>
  </Fragment>
25 26 27 28 29 30 31 32 33 34 35

  <Fragment>
    <DirectoryRef Id="ApplicationProgramsFolder">
      <Component Id="ApplicationShortcut" Guid="F93EE9A7-6BA4-41A9-8BD3-06D3ECD7468C">
        <Shortcut Id="ApplicationStartMenuShortcut" Name="GazeWSS" Description="GazeWSS" Target="[INSTALLFOLDER]GazeWebSocketServer.exe" WorkingDirectory="INSTALLFOLDER"/>
        <RemoveFolder Id="RemoveApplicationProgramsFolder" Directory="ApplicationProgramsFolder" On="uninstall"/>
        <RegistryValue Root="HKCU" Key="Software/GazeWSS" Name="installed" Type="integer" Value="1" KeyPath="yes"/>
      </Component>
    </DirectoryRef>
  </Fragment>

36
  <Fragment>
37 38 39 40 41
		<ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER">
			<!-- TODO: Remove the comments around this Component element and the ComponentRef below in order to add resources to this installer. -->
			<!-- <Component Id="ProductComponent"> -->
				<!-- TODO: Insert files, registry keys, and other resources here. -->
			<!-- </Component> -->
42
			<Component Id="GazeWebSocketServer.exe" Guid="68b4fbd4-c4f0-4cb0-bf52-e0dadff68059">
43 44
			  <File Id="GazeWebSocketServer.exe" Name="GazeWebSocketServer.exe" Source="$(var.GazeWebSocketServer_TargetDir)GazeWebSocketServer.exe" />
			</Component>
45
			<Component Id="GazeWebSocketServer.exe.config" Guid="12a86b5a-e421-40b4-80be-94e41c5795e4">
46 47
			  <File Id="GazeWebSocketServer.exe.config" Name="GazeWebSocketServer.exe.config" Source="$(var.GazeWebSocketServer_TargetDir)GazeWebSocketServer.exe.config" />
			</Component>
48
			<Component Id="websocket_sharp.dll" Guid="737a032d-131b-488d-a0d1-012d117ec7d4">
49 50
			  <File Id="websocket_sharp.dll" Name="websocket-sharp.dll" Source="$(var.GazeWebSocketServer_TargetDir)websocket-sharp.dll" />
			</Component>
51
			<Component Id="TrackerBridge.dll" Guid="1bd7f07f-13ff-4de5-adb8-5fdcf95376d9">
52 53
			  <File Id="TrackerBridge.dll" Name="TrackerBridge.dll" Source="$(var.TrackerBridge_TargetDir)TrackerBridge.dll" />
			</Component>
54
			<Component Id="Tobii.Research.dll" Guid="181547f2-afb8-4d8c-b983-a2a466d2811f">
55 56
			  <File Id="Tobii.Research.dll" Name="Tobii.Research.dll" Source="$(var.GazeWebSocketServer_TargetDir)Tobii.Research.dll" />
			</Component>
57 58 59 60 61 62 63
      <Component Id="tobii_pro.dll" Guid="A8F06B76-3189-4918-B012-252280B9CD30">
        <File Id="tobii_pro.dll" Name="tobii_pro.dll" Source="$(var.GazeWebSocketServer_TargetDir)tobii_pro.dll" />
      </Component>
      <Component Id="tobii_firmware_upgrade.dll" Guid="">
        <File Id="tobii_firmware_upgrade.dll" Name="tobii_firmware_upgrade.dll" Source="$(var.GazeWebSocketServer_TargetDir)tobii_firmware_upgrade.dll" />
      </Component>
    </ComponentGroup>
64 65
	</Fragment>
</Wix>