/
Setup.g.wxs
70 lines (52 loc) · 2.96 KB
/
Setup.g.wxs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<?xml version="1.0" encoding="Windows-1252"?>
<!--
<auto-generated>
This code was generated by WixSharp.
Changes to this file will be lost if the code is regenerated.
</auto-generated>
-->
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:netfx="http://schemas.microsoft.com/wix/NetFxExtension">
<Product Id="357e0d80-5093-478e-8c11-28b1c72426ed" Name="OBS plugin for digiCamControl" Language="1033" Codepage="Windows-1252" Version="2.0.73.5" UpgradeCode="357e0d80-5093-478e-8c11-28b1a72096e7" Manufacturer="Duka Istvan">
<Package InstallerVersion="200" Compressed="yes" SummaryCodepage="Windows-1252" Languages="1033" InstallScope="perMachine" />
<Media Id="1" Cabinet="OBS_plugin_for_digiCamControl.cab" EmbedCab="yes" />
<Condition Message="Please install .Net 4.5 First"><![CDATA[NETFRAMEWORK45 >= "#378389"]]></Condition>
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramFilesFolder" Name="ProgramFilesFolder">
<Directory Id="ProgramFilesFolder.OBS" Name="OBS">
<Directory Id="ProgramFilesFolder.OBS.plugins" Name="plugins">
<Directory Id="INSTALLDIR" Name="CLRHostPlugin">
<Component Id="Component.INSTALLDIR" Guid="357e0d80-5093-478e-8c11-28b1da4b120a" KeyPath="yes">
<CreateFolder />
<RemoveFolder Id="INSTALLDIR" On="uninstall" />
</Component>
<Component Id="Component.DccObsPlugin.dll" Guid="357e0d80-5093-478e-8c11-28b1a46c7edd">
<File Id="DccObsPlugin.dll" Source="ObsPlugin\CLRHostPlugin\DccObsPlugin.dll" />
</Component>
</Directory>
</Directory>
</Directory>
</Directory>
</Directory>
<PropertyRef Id="NETFRAMEWORK45" />
<WixVariable Id="WixUILicenseRtf" Value="d:\devel\vs2010\CameraControl\CameraControl\bin\Debug\Licenses\DigiCamControlLicence.rtf" />
<Upgrade Id="357e0d80-5093-478e-8c11-28b1a72096e7">
<UpgradeVersion Minimum="0.0.0.0" Maximum="2.0.73.5" IncludeMinimum="yes" IncludeMaximum="no" Property="UPGRADEFOUND" />
<UpgradeVersion Minimum="2.0.73.5" IncludeMinimum="no" Property="NEWPRODUCTFOUND" />
</Upgrade>
<Icon Id="app_icon.ico" SourceFile="..\..\..\Setup\logo.ico" />
<CustomAction Id="PreventDowngrading" Error="Newer version already installed" />
<UIRef Id="WixUI_Minimal" />
<Property Id="ARPPRODUCTICON" Value="app_icon.ico" />
<Feature Id="Obs_Plugin" Title="Obs Plugin" Absent="allow" Level="1">
<ComponentRef Id="Component.INSTALLDIR" />
<ComponentRef Id="Component.DccObsPlugin.dll" />
</Feature>
<InstallExecuteSequence>
<Custom Action="PreventDowngrading" After="FindRelatedProducts">NEWPRODUCTFOUND</Custom>
<RemoveExistingProducts After="InstallInitialize" />
</InstallExecuteSequence>
<InstallUISequence>
<Custom Action="PreventDowngrading" After="FindRelatedProducts">NEWPRODUCTFOUND</Custom>
</InstallUISequence>
</Product>
</Wix>