1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
|
3
|
<Product Id="*" Name="ConvertService" Language="1033" Version="1.0.0.0" Manufacturer="DOFTECH(C)" UpgradeCode="4E7427BB-6120-45EB-852E-5AE6190AA8F8">
|
4
|
<Package Platform="x64" InstallerVersion="200" Compressed="yes" InstallScope="perMachine" />
|
5
|
|
6
|
<MajorUpgrade Schedule="afterInstallInitialize" DowngradeErrorMessage="A newer version of [ProductName] is already installed. Setup will now exit." AllowSameVersionUpgrades="yes"/>
|
7
|
<MediaTemplate EmbedCab="yes"/>
|
8
|
|
9
|
<WixVariable Id="WixUIBannerBmp" Value="DOFTECH_LOGO.bmp" />
|
10
|
|
11
|
<Feature Id="ProductFeature" Title="ConvertService" Level="1">
|
12
|
<ComponentGroupRef Id="ConvertService" />
|
13
|
</Feature>
|
14
|
</Product>
|
15
|
|
16
|
<Fragment>
|
17
|
<Directory Id="TARGETDIR" Name="SourceDir">
|
18
|
<Directory Id="DesktopFolder" Name="Desktop">
|
19
|
<Component Id="DesktopShortcut" Guid="051FBDC5-775B-42D5-A484-A9E6D3546F2E" Feature="ProductFeature">
|
20
|
<RegistryValue Root="HKCU" Key="Software\DOFTECH\MARKUS\ConvertService" Name="installed" Type="integer" Value="1" KeyPath="yes"/>
|
21
|
<Shortcut Id="DesktopShortcut"
|
22
|
Directory="DesktopFolder"
|
23
|
Name="ConvertService"
|
24
|
Description="ConvertService"
|
25
|
Target="[INSTALLFOLDER]Markus.Service.Station.exe"
|
26
|
WorkingDirectory="INSTALLFOLDER" />
|
27
|
<RemoveFolder Id="DesktopFolder" On="uninstall"/>
|
28
|
</Component>
|
29
|
</Directory>
|
30
|
|
31
|
<Directory Id="ProgramFiles64Folder">
|
32
|
<Directory Id="COMPANYFOLDER" Name="DOFTECH">
|
33
|
<Directory Id="PRODUCTFOLDER" Name="MARKUS">
|
34
|
<Directory Id="INSTALLFOLDER" Name="ConvertService" />
|
35
|
</Directory>
|
36
|
</Directory>
|
37
|
</Directory>
|
38
|
</Directory>
|
39
|
|
40
|
<Property Id="WIXUI_INSTALLDIR" Value="INSTALLFOLDER" />
|
41
|
<UI>
|
42
|
<UIRef Id="WixUI_InstallDir"/>
|
43
|
<Publish Dialog="WelcomeDlg"
|
44
|
Control="Next"
|
45
|
Event="NewDialog"
|
46
|
Value="InstallDirDlg"
|
47
|
Order="2">1</Publish>
|
48
|
<Publish Dialog="InstallDirDlg"
|
49
|
Control="Back"
|
50
|
Event="NewDialog"
|
51
|
Value="WelcomeDlg"
|
52
|
Order="2">1</Publish>
|
53
|
<Publish Dialog="ExitDialog"
|
54
|
Control="Finish"
|
55
|
Event="DoAction"
|
56
|
Value="LaunchApplication">WIXUI_EXITDIALOGOPTIONALCHECKBOX = 1 and NOT Installed
|
57
|
</Publish>
|
58
|
</UI>
|
59
|
<Property Id="WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT" Value="Launch ConvertService" />
|
60
|
<Property Id="WixShellExecTarget" Value="[INSTALLFOLDER]Markus.Service.Station.exe" />
|
61
|
<CustomAction Id="LaunchApplication" BinaryKey="WixCA" DllEntry="WixShellExec" Impersonate="yes" />
|
62
|
</Fragment>
|
63
|
|
64
|
<Fragment>
|
65
|
<ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER">
|
66
|
<!-- TODO: Remove the comments around this Component element and the ComponentRef below in order to add resources to this installer. -->
|
67
|
<!-- <Component Id="ProductComponent"> -->
|
68
|
<!-- TODO: Insert files, registry keys, and other resources here. -->
|
69
|
<!-- </Component> -->
|
70
|
</ComponentGroup>
|
71
|
</Fragment>
|
72
|
|
73
|
<Fragment>
|
74
|
<DirectoryRef Id="INSTALLFOLDER">
|
75
|
<Directory Id="CommonAppDataFolder">
|
76
|
<Directory Id="MyAppDataFolder" Name="MARKUS" >
|
77
|
<Component Id="CreateMyAppDataFolder" Guid="C010C456-730A-40F8-BBFC-B7CE1713F923" Win64='yes'>
|
78
|
<CreateFolder />
|
79
|
</Component>
|
80
|
</Directory>
|
81
|
</Directory>
|
82
|
</DirectoryRef>
|
83
|
|
84
|
<DirectoryRef Id="TARGETDIR">
|
85
|
<Component Id="RegistryEntries" Guid="A3390364-AD35-4F89-ADAF-F6527CA8D519">
|
86
|
<RegistryKey Root="HKLM"
|
87
|
Key="Software\DOFTECH\MARKUS\ConvertService"
|
88
|
Action="createAndRemoveOnUninstall">
|
89
|
<RegistryValue Type="string" Name="Path" Value="[INSTALLFOLDER]"/>
|
90
|
</RegistryKey>
|
91
|
</Component>
|
92
|
</DirectoryRef>
|
93
|
</Fragment>
|
94
|
|
95
|
<Fragment>
|
96
|
<ComponentGroup Id="ConvertService">
|
97
|
<ComponentRef Id="CreateMyAppDataFolder" />
|
98
|
<ComponentRef Id="RegistryEntries" />
|
99
|
|
100
|
<Component Id="cmpE5B102FA5798C87322EB9A5F1791B419" Directory="INSTALLFOLDER" Guid="3C786461-FAD0-4917-B66E-918921521B4B">
|
101
|
<File Id="fil6C46219B8985F6C8BEA03BA8155A40C7" KeyPath="yes" Source=".\Setup\ConvertService\ConfigParser.dll" />
|
102
|
</Component>
|
103
|
<Component Id="cmp0BFABD100B4065787B40AA6B05938DF7" Directory="INSTALLFOLDER" Guid="AA90E610-B36E-4F4F-8FC6-5FA1328DD968">
|
104
|
<File Id="fil1D38723F4A034EDE78B6A3B94EFB99F2" KeyPath="yes" Source=".\Setup\ConvertService\EntityFramework.dll" />
|
105
|
</Component>
|
106
|
<Component Id="cmpB8E7B130B6B78399B39307530A3D65B2" Directory="INSTALLFOLDER" Guid="2469F212-AF1A-4AA4-AFC0-923D484B4DAD">
|
107
|
<File Id="fil55247FAD2E00E96001D9F9C3E501E9FA" KeyPath="yes" Source=".\Setup\ConvertService\EntityFramework.SqlServer.dll" />
|
108
|
</Component>
|
109
|
<Component Id="cmp7EE89B380F7C8EC18AABE62FC78AC9AB" Directory="INSTALLFOLDER" Guid="2FAB1107-1AC3-427F-84DC-C2BFD2489081">
|
110
|
<File Id="fil54D1D9F81A7598FA61D2D90AFB5F5D01" KeyPath="yes" Source=".\Setup\ConvertService\Log.config" />
|
111
|
</Component>
|
112
|
<Component Id="cmp13D58469BCB864EB53214ED46E622188" Directory="INSTALLFOLDER" Guid="569AE1C4-9AC5-466B-87D4-C4855537200D">
|
113
|
<File Id="fil28F7A9478894C77C5F6C2A95DAA4B459" KeyPath="yes" Source=".\Setup\ConvertService\log4net.dll" />
|
114
|
</Component>
|
115
|
<Component Id="cmp742785C9A7B88BE6B2E81C2322E3D2EE" Directory="INSTALLFOLDER" Guid="E026695A-EBB4-4C58-9AA1-BFFB982D7C9D">
|
116
|
<File Id="filA307C00D897BECB908C510DE71A3AD29" KeyPath="yes" Source=".\Setup\ConvertService\log4net.xml" />
|
117
|
</Component>
|
118
|
<Component Id="cmpE6B261D353EBAF7475E6FD27AB239525" Directory="INSTALLFOLDER" Guid="9C5481DE-CDC8-44B5-84C7-FC03CFA209EA">
|
119
|
<File Id="fil54A9004D73D1406DDFD2353A8ABD4B6F" KeyPath="yes" Source=".\Setup\ConvertService\Markus.LibraryInstaller.dll" />
|
120
|
</Component>
|
121
|
<Component Id="cmpFD4EDF2D57DF8729C368DE5269DE73EE" Directory="INSTALLFOLDER" Guid="C8B1376D-9C33-47F6-93D9-C775374D2317">
|
122
|
<File Id="filC000414FAAA7B47AB5A6A7440C40C2B9" KeyPath="yes" Source=".\Setup\ConvertService\Markus.Message.dll" />
|
123
|
</Component>
|
124
|
<Component Id="cmp5CC7826A8FAE63A5D68EC5C066ED3F09" Directory="INSTALLFOLDER" Guid="088F25D6-2FE6-477F-9477-892B61D10D3A">
|
125
|
<File Id="fil85662EC86AB2EA663F53A980A0A1DC48" KeyPath="yes" Source=".\Setup\ConvertService\Markus.Service.Convert.dll.config" />
|
126
|
</Component>
|
127
|
<Component Id="cmpF0A672D47EC9040EF22050FEA1C32689" Directory="INSTALLFOLDER" Guid="96FA61A2-5026-45BE-AF8E-670635551430">
|
128
|
<File Id="fil8D88F5C1AAFDF5BD5712F12B305F80F0" KeyPath="yes" Source=".\Setup\ConvertService\Markus.Service.ConvertProcess.exe.config" />
|
129
|
</Component>
|
130
|
<Component Id="cmp6CB65174E007700721D1700E2FD321BF" Directory="INSTALLFOLDER" Guid="C6475419-3773-4A18-A07C-9C059C3F168E">
|
131
|
<File Id="fil5DD642F7AB0D20FA4EF3431302115B81" KeyPath="yes" Source=".\Setup\ConvertService\Markus.Service.DataBase.dll.config" />
|
132
|
</Component>
|
133
|
<Component Id="cmpE3BD678E13772C47C141B2DE266B331E" Directory="INSTALLFOLDER" Guid="EFB632F3-EBC5-4ADE-BC83-0AF38C02CCAF">
|
134
|
<File Id="filE3503714175539DE4DEF06E112AAA8E2" KeyPath="yes" Source=".\Setup\ConvertService\Markus.Service.Interface.dll" />
|
135
|
</Component>
|
136
|
<Component Id="cmp5FD92E2C3B206FE95E855BAF12B40B1D" Directory="INSTALLFOLDER" Guid="99F64F39-B67D-44D6-B370-99178771442E">
|
137
|
<File Id="fil8AB2C6915BD35C045F44E38D2B1CD17F" KeyPath="yes" Source=".\Setup\ConvertService\Markus.Service.IWcfService.dll" />
|
138
|
</Component>
|
139
|
<Component Id="cmp2FAAC73FD02E22C73B243176AEBCBC35" Directory="INSTALLFOLDER" Guid="D759BCE9-6258-4DBE-BF02-889B09F32932">
|
140
|
<File Id="filFFC0522802E614CE5807DC09F26EE359" KeyPath="yes" Source=".\Setup\ConvertService\Markus.Service.IWcfService.dll.config" />
|
141
|
</Component>
|
142
|
<Component Id="cmpB87287F5227E64CA16D04044EE3A9FD3" Directory="INSTALLFOLDER" Guid="1C1BE84A-AA5D-4ECC-971E-E27790F43203">
|
143
|
<File Id="filFAFF699E467B29D8095C01EB272388CF" KeyPath="yes" Source=".\Setup\ConvertService\Markus.Service.Station.exe" />
|
144
|
</Component>
|
145
|
<Component Id="cmp1A10D588DACCD00808281F6CB5528CD5" Directory="INSTALLFOLDER" Guid="892B7D88-0177-456D-BD1D-40D524AFE2C6">
|
146
|
<File Id="fil54F71DF2D8138098731E4004A6404234" KeyPath="yes" Source=".\Setup\ConvertService\Markus.Service.Station.exe.config" />
|
147
|
</Component>
|
148
|
<Component Id="cmpA056D807B555EB9DF7C114BF337F9528" Directory="INSTALLFOLDER" Guid="852F227E-0346-47BC-A010-852093500A96">
|
149
|
<File Id="fil7ECB74CDDEFEF0F3ED3AA28E1C76A24B" KeyPath="yes" Source=".\Setup\ConvertService\MarkusPDF.dll" />
|
150
|
</Component>
|
151
|
<Component Id="cmpBC4FC00A26E7D32479D42D3411317FC5" Directory="INSTALLFOLDER" Guid="627133DD-0E84-4A63-A860-43407649D4D3">
|
152
|
<File Id="fil90A8AAD9FC612906D405476D61CEA3F4" KeyPath="yes" Source=".\Setup\ConvertService\Newtonsoft.Json.dll" />
|
153
|
</Component>
|
154
|
<Component Id="cmp125C379E185231EFADA4CB4301BD0A9E" Directory="INSTALLFOLDER" Guid="4C9C540B-37CF-4080-A760-FCF4C102B246">
|
155
|
<File Id="fil3A2F44A7730E98D18E0948B3261DFABD" KeyPath="yes" Source=".\Setup\ConvertService\Newtonsoft.Json.xml" />
|
156
|
</Component>
|
157
|
<Component Id="cmp457D07D7B195DF70C5151CB37BA04021" Directory="INSTALLFOLDER" Guid="E95712E1-30CF-4FB2-B359-0D1E929B6B35">
|
158
|
<File Id="fil93E77D65AABE961F248549D738F3DD1E" KeyPath="yes" Source=".\Setup\ConvertService\obfuscar.xml" />
|
159
|
</Component>
|
160
|
<Component Id="cmp02F71C7C6D367B824AE93BC8AAAC6D24" Directory="INSTALLFOLDER" Guid="2AAC661A-CA19-4475-8B20-47009B586A05">
|
161
|
<File Id="filC967D57279D73C6402DD23D49F90D943" KeyPath="yes" Source=".\Setup\ConvertService\ServiceStation.ini" />
|
162
|
</Component>
|
163
|
<Component Id="cmp07569CB5AB9CC837FA4C24F07D3CB63A" Directory="dirF11A32C1D9800180BB1B466CB65F5579" Guid="B400C4BB-F602-499A-883F-AA1359D251B3">
|
164
|
<File Id="fil7F346CE65A7EBB6702C6F00D0F80D9D6" KeyPath="yes" Source=".\Setup\ConvertService\Obfuscator_Output\Mapping.txt" />
|
165
|
</Component>
|
166
|
<Component Id="cmp14B25B17FA12AE332F05C39618810A70" Directory="dirF11A32C1D9800180BB1B466CB65F5579" Guid="A0B2571A-28EF-4BFE-8AFB-39FAF4DB9A74">
|
167
|
<File Id="fil56AD76521C6DEEDCC3721D35F9400254" KeyPath="yes" Source=".\Setup\ConvertService\Obfuscator_Output\Markus.Service.Convert.dll" />
|
168
|
</Component>
|
169
|
<Component Id="cmp24B565AA62C79F3CEEF4268CB2055EA8" Directory="dirF11A32C1D9800180BB1B466CB65F5579" Guid="C83764B3-8264-4DAC-AF9E-8A8DD7B54C5E">
|
170
|
<File Id="fil129A9EA2C17C3549B885476A6BB4F348" KeyPath="yes" Source=".\Setup\ConvertService\Obfuscator_Output\Markus.Service.ConvertProcess.exe" />
|
171
|
</Component>
|
172
|
<Component Id="cmp5BB6007326E8B1F4A2C42E05089D5C15" Directory="dirF11A32C1D9800180BB1B466CB65F5579" Guid="90AD6C84-568D-4FE9-9AF6-2B765D9C3FF9">
|
173
|
<File Id="fil1F49AB955049D80A125F48E696AD3020" KeyPath="yes" Source=".\Setup\ConvertService\Obfuscator_Output\Markus.Service.DataBase.dll" />
|
174
|
</Component>
|
175
|
<Component Id="cmpC6AB2AAEF4C2BEC7379C467385749226" Directory="dirF11A32C1D9800180BB1B466CB65F5579" Guid="8C0435EA-3451-4492-96F8-88FF70423F66">
|
176
|
<File Id="fil6A27D8889BD153603E061268C9CD2706" KeyPath="yes" Source=".\Setup\ConvertService\Obfuscator_Output\Markus.Service.Extensions.dll" />
|
177
|
</Component>
|
178
|
<Component Id="cmp849A10A719DD371EC1AFE17D50B96F99" Directory="dirF11A32C1D9800180BB1B466CB65F5579" Guid="174D57E7-65C9-46D3-8D0F-7AFBDF52343B">
|
179
|
<File Id="fil3F50B5E5FA46EF0C97DE6101AFA9DEB8" KeyPath="yes" Source=".\Setup\ConvertService\Obfuscator_Output\Markus.Service.Station.exe" />
|
180
|
<ServiceInstall Id="ServiceInstaller"
|
181
|
Type="ownProcess"
|
182
|
Name="ConvertService"
|
183
|
DisplayName="MARKUS ConvertService"
|
184
|
Description="convert pdf file to MARKUS format"
|
185
|
Start="auto"
|
186
|
ErrorControl="normal" />
|
187
|
<!-- Tell WiX to start the Service -->
|
188
|
<ServiceControl Id="StartService" Start="install" Stop="both" Remove="uninstall" Name="ConvertService" Wait="yes" />
|
189
|
</Component>
|
190
|
</ComponentGroup>
|
191
|
</Fragment>
|
192
|
</Wix>
|