프로젝트

일반

사용자정보

통계
| 브랜치(Branch): | 개정판:

markus / Wix / MARKUS.wxs @ master

이력 | 보기 | 이력해설 | 다운로드 (14.5 KB)

1
<?xml version="1.0" encoding="UTF-8"?>
2
<?define NetFx461MinRelease = 394254 ?>
3
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:util="http://schemas.microsoft.com/wix/UtilExtension" xmlns:netfx="http://schemas.microsoft.com/wix/NetFxExtension" xmlns:bal="http://schemas.microsoft.com/wix/BalExtension">
4
  <?define KCOM_TargetDir=$(var.KCOM.TargetDir)?>
5
  <?define IKCOM_TargetDir=$(var.IKCOM.TargetDir)?>
6
  <?define ZoomAndPan_TargetDir=$(var.ZoomAndPan.TargetDir)?>
7
  <?define MarkupToPDF_TargetDir=$(var.MarkupToPDF.TargetDir)?>
8
  <?define KCOMDataModel_TargetDir=$(var.KCOMDataModel.TargetDir)?>
9
  <?define CommonLib_TargetDir=$(var.CommonLib.TargetDir)?>
10
  <Product Id="*" Name="MARKUS" Language="1033" Version="$VERSION" Manufacturer="DOFTECH(C)" UpgradeCode="83FC35CA-6B7D-40C3-9D5F-E8F76097B25C">
11
    <Package Platform="x64" InstallerVersion="200" Compressed="yes" InstallScope="perMachine" />
12

    
13
    <MajorUpgrade Schedule="afterInstallInitialize" DowngradeErrorMessage="A newer version of [ProductName] is already installed. Setup will now exit." AllowSameVersionUpgrades="yes" />
14
    <MediaTemplate EmbedCab="yes" />
15
    
16
    <WixVariable Id="WixUILicenseRtf" Value="license.rtf" />
17
    <WixVariable Id="WixUIBannerBmp" Value="DOFTECH_LOGO.bmp" />    
18
	
19
    <Feature Id="ProductFeature" Title="MARKUS" Level="1">
20
      <ComponentGroupRef Id="MARKUS" />
21
      <ComponentGroupRef Id="ProductComponents" />
22
    </Feature>    
23
  </Product>      
24
  <Fragment>
25
    <Directory Id="TARGETDIR" Name="SourceDir">
26
      <Directory Id="DesktopFolder" Name="Desktop">
27
        <Component Id="DesktopShortcut" Guid="DF06024A-95FE-43E2-BDF2-7C686EAF391F" Feature="ProductFeature" Win64="yes">
28
          <RegistryValue Root="HKCU" Key="Software\DOFTECH\MARKUS" Name="installed" Type="integer" Value="1" KeyPath="yes" />          
29
          <RemoveFolder Id="DesktopFolder" On="uninstall" />
30
        </Component>
31
      </Directory>
32
      
33
      <Directory Id="ProgramFiles64Folder">
34
        <Directory Id="COMPANYFOLDER" Name="DOFTECH">
35
          <Directory Id="INSTALLFOLDER" Name="MARKUS" />
36
        </Directory>
37
      </Directory>  
38
    </Directory>	
39
    <Property Id="WIXUI_INSTALLDIR" Value="INSTALLFOLDER" />
40
    <UI>
41
		<UIRef Id="WixUI_InstallDir" />
42
			<Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog" Value="InstallDirDlg" Order="2">1</Publish>
43
			<Publish Dialog="InstallDirDlg" Control="Back" Event="NewDialog" Value="WelcomeDlg" Order="2">1</Publish>
44
			<Publish Dialog="ExitDialog" Control="Finish" Event="DoAction" Value="SetupFX">WIXUI_EXITDIALOGOPTIONALCHECKBOX = 1 and NOT Installed and NOT WIX_IS_NETFRAMEWORK_461_OR_LATER_INSTALLED
45
			</Publish>			 	
46
	</UI>	
47
	<Property Id="WIXUI_EXITDIALOGOPTIONALCHECKBOX" Value="1" />
48
	<Property Id="WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT" Value="Install .Net Framework 4.6.1" />
49
    <Property Id="WixShellExecTarget" Value="[INSTALLFOLDER]NDP461-KB3102438-Web.exe" />
50
	<Property Id="NETFRAMEWORK40">
51
		<RegistrySearch Id="NetFramework40" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full" Name="Release" Type="raw" />
52
	</Property>
53
	<Property Id="WIX_IS_NETFRAMEWORK_461_OR_LATER_INSTALLED" Secure="yes" />
54
    <SetProperty Id="WIX_IS_NETFRAMEWORK_461_OR_LATER_INSTALLED" Value="1" After="AppSearch">
55
      NETFRAMEWORK40 &gt;= "#$(var.NetFx461MinRelease)"
56
    </SetProperty>
57
    <CustomAction Id="SetupFX" BinaryKey="WixCA" DllEntry="WixShellExec" Impersonate="yes" />	
58
  </Fragment>
59
	
60
  <Fragment>
61
    <DirectoryRef Id="TARGETDIR">
62
      <Component Id="cmp67889FD2219FCD1ECDA0BD9FE906CD7A" Guid="57D045D4-AFC0-4874-8BA9-A1E8B9C348F9" KeyPath="yes">
63
        <RegistryKey ForceCreateOnInstall="yes" Key="KCOM\shell\open" Root="HKCR" />
64
      </Component>
65
    </DirectoryRef>
66
  </Fragment>
67
  
68
  <Fragment>
69
    <DirectoryRef Id="TARGETDIR">
70
      <Component Id="cmpB2A195FD7387054E641ABB044E70AD31" Guid="CA81C92A-E2BA-4E01-B4A0-6B5E5E5A6C63" KeyPath="yes">
71
        <RegistryKey Key="KCOM\shell\open\command" Root="HKCR">
72
          <RegistryValue Value="&quot;C:\Program Files\DOFTECH\MARKUS\KCOM.exe&quot; &quot;%1&quot;" Type="string" />
73
        </RegistryKey>
74
      </Component>
75
    </DirectoryRef>
76
  </Fragment>
77
  
78
  <Fragment>
79
    <DirectoryRef Id="TARGETDIR">
80
      <Component Id="cmpCA3EA94464F79A1D590AD23EE3921964" Guid="171260E2-66FC-4088-9F1F-3FAEB29250CA" KeyPath="yes">
81
        <RegistryKey ForceCreateOnInstall="yes" Key="KCOM\shell" Root="HKCR" />
82
      </Component>
83
    </DirectoryRef>
84
  </Fragment>
85
  
86
  <Fragment>
87
    <DirectoryRef Id="TARGETDIR">
88
      <Component Id="cmpEB1634EB055BA192F2B44B8310392EAD" Guid="D8795ADA-D3EC-4F34-86C3-7D6BE54420EA" KeyPath="yes">
89
        <RegistryKey Key="KCOM" Root="HKCR">
90
          <RegistryValue Name="URL Protocol" Value="" Type="expandable" />
91
        </RegistryKey>
92
      </Component>
93
    </DirectoryRef>
94
  </Fragment>
95
    
96
  <Fragment>
97
    <ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER">
98
      <!-- TODO: Remove the comments around this Component element and the ComponentRef below in order to add resources to this installer. -->
99
      <!-- <Component Id="ProductComponent"> -->
100
        <!-- TODO: Insert files, registry keys, and other resources here. -->
101
      <!-- </Component> -->
102
      <Component Id="KCOM.exe" Guid="b0595211-c0bf-460e-ae75-45750ec78162">
103
        <File Id="KCOM.exe" Name="KCOM.exe" Source="$(var.KCOM_TargetDir)KCOM.exe" />
104
      </Component>
105
      <Component Id="KCOM.exe.config" Guid="1cd811b1-3b9f-4c04-ba29-e34062731459">
106
        <File Id="KCOM.exe.config" Name="KCOM.exe.config" Source="$(var.KCOM_TargetDir)KCOM.exe.config" />
107
      </Component>
108
      <Component Id="IKCOM.dll" Guid="c3b6b495-878b-447a-95af-2323215dd19f">
109
        <File Id="IKCOM.dll" Name="IKCOM.dll" Source="$(var.IKCOM_TargetDir)IKCOM.dll" />
110
      </Component>
111
      <Component Id="Telerik.Windows.Controls.Docking.dll" Guid="2687bc55-ece8-4f03-9ad6-cd29277df9f2">
112
        <File Id="Telerik.Windows.Controls.Docking.dll" Name="Telerik.Windows.Controls.Docking.dll" Source="$(var.KCOM_TargetDir)Telerik.Windows.Controls.Docking.dll" />
113
      </Component>
114
      <Component Id="Telerik.Windows.Controls.dll" Guid="6f9c5701-2074-426a-aefe-916d89ef2711">
115
        <File Id="Telerik.Windows.Controls.dll" Name="Telerik.Windows.Controls.dll" Source="$(var.KCOM_TargetDir)Telerik.Windows.Controls.dll" />
116
      </Component>
117
      <Component Id="Telerik.Windows.Controls.RibbonView.dll" Guid="7cf03108-e1db-4b29-bfa3-28f241b33832">
118
        <File Id="Telerik.Windows.Controls.RibbonView.dll" Name="Telerik.Windows.Controls.RibbonView.dll" Source="$(var.KCOM_TargetDir)Telerik.Windows.Controls.RibbonView.dll" />
119
      </Component>
120
      <Component Id="Telerik.Windows.Controls.GridView.dll" Guid="647749cb-0bb9-4292-812c-fcac77d3851c">
121
        <File Id="Telerik.Windows.Controls.GridView.dll" Name="Telerik.Windows.Controls.GridView.dll" Source="$(var.KCOM_TargetDir)Telerik.Windows.Controls.GridView.dll" />
122
      </Component>
123
      <Component Id="Telerik.Windows.Data.dll" Guid="034cc86c-1cdd-4e50-a263-be9f03fb538d">
124
        <File Id="Telerik.Windows.Data.dll" Name="Telerik.Windows.Data.dll" Source="$(var.KCOM_TargetDir)Telerik.Windows.Data.dll" />
125
      </Component>
126
      <Component Id="Telerik.Windows.Controls.Input.dll" Guid="40c1a2b2-aaa1-4b85-a5cb-bff05ccc05fa">
127
        <File Id="Telerik.Windows.Controls.Input.dll" Name="Telerik.Windows.Controls.Input.dll" Source="$(var.KCOM_TargetDir)Telerik.Windows.Controls.Input.dll" />
128
      </Component>
129
      <Component Id="Telerik.Windows.Controls.Navigation.dll" Guid="1437bc90-b6a5-4800-8bee-3cd706bcfb91">
130
        <File Id="Telerik.Windows.Controls.Navigation.dll" Name="Telerik.Windows.Controls.Navigation.dll" Source="$(var.KCOM_TargetDir)Telerik.Windows.Controls.Navigation.dll" />
131
      </Component>
132
      <Component Id="System.Windows.Interactivity.dll" Guid="8ce5800c-47fa-45ea-bc2c-a85225dbfaeb">
133
        <File Id="System.Windows.Interactivity.dll" Name="System.Windows.Interactivity.dll" Source="$(var.KCOM_TargetDir)System.Windows.Interactivity.dll" />
134
      </Component>
135
      <Component Id="ZoomAndPan.dll" Guid="2c4aacdc-2a20-468f-8cb1-77815404d7ef">
136
        <File Id="ZoomAndPan.dll" Name="ZoomAndPan.dll" Source="$(var.ZoomAndPan_TargetDir)ZoomAndPan.dll" />
137
      </Component>
138
      <Component Id="ToggleSwitch.dll" Guid="5d10d9aa-267a-4cba-a308-a51b60791961">
139
        <File Id="ToggleSwitch.dll" Name="ToggleSwitch.dll" Source="$(var.KCOM_TargetDir)ToggleSwitch.dll" />
140
      </Component>
141
      <Component Id="MarkupToPDF.dll" Guid="ec831bc9-d9b8-4303-95a2-1b80585b119d">
142
        <File Id="MarkupToPDF.dll" Name="MarkupToPDF.dll" Source="$(var.MarkupToPDF_TargetDir)MarkupToPDF.dll" />
143
      </Component>
144
      <Component Id="Microsoft.Expression.Interactions.dll" Guid="65226f39-1026-4b12-88e4-cfb77abd960d">
145
        <File Id="Microsoft.Expression.Interactions.dll" Name="Microsoft.Expression.Interactions.dll" Source="$(var.KCOM_TargetDir)Microsoft.Expression.Interactions.dll" />
146
      </Component>
147
      <Component Id="log4net.dll" Guid="f3bb347a-7166-4c73-9599-c9b958ca4331">
148
        <File Id="log4net.dll" Name="log4net.dll" Source="$(var.KCOM_TargetDir)log4net.dll" />
149
      </Component>
150
      <Component Id="KCOMDataModel.dll" Guid="5decb200-42fe-4214-a091-e263bb765158">
151
        <File Id="KCOMDataModel.dll" Name="KCOMDataModel.dll" Source="$(var.KCOMDataModel_TargetDir)KCOMDataModel.dll" />
152
      </Component>
153
      <Component Id="itextsharp.dll" Guid="f9a333ec-c38a-4bdb-a234-ae7bd4d42789">
154
        <File Id="itextsharp.dll" Name="itextsharp.dll" Source="$(var.KCOM_TargetDir)itextsharp.dll" />
155
      </Component>
156
      <Component Id="Microsoft.AspNet.SignalR.Client.dll" Guid="7fe21c3d-2fda-4895-b2bf-a98ef4f4cad0">
157
        <File Id="Microsoft.AspNet.SignalR.Client.dll" Name="Microsoft.AspNet.SignalR.Client.dll" Source="$(var.KCOM_TargetDir)Microsoft.AspNet.SignalR.Client.dll" />
158
      </Component>
159
      <Component Id="Bytescout.PDFExtractor.dll" Guid="bcfcab7d-ea29-47a4-80bb-e74c6b515865">
160
        <File Id="Bytescout.PDFExtractor.dll" Name="Bytescout.PDFExtractor.dll" Source="$(var.KCOM_TargetDir)Bytescout.PDFExtractor.dll" />
161
      </Component>
162
      <Component Id="Newtonsoft.Json.dll" Guid="27dd3ddf-6f0a-4dc1-a454-d5ed84237a7e">
163
        <File Id="Newtonsoft.Json.dll" Name="Newtonsoft.Json.dll" Source="$(var.KCOM_TargetDir)Newtonsoft.Json.dll" />
164
      </Component>
165
      <Component Id="CommonLib.dll" Guid="2c0964f5-0873-4745-8a2e-241fb38aed10">
166
        <File Id="CommonLib.dll" Name="CommonLib.dll" Source="$(var.CommonLib_TargetDir)CommonLib.dll" />
167
      </Component>
168
      <Component Id="Svg2Xaml.dll" Guid="628f8174-1a53-4195-a00f-20f73b54459a">
169
        <File Id="Svg2Xaml.dll" Name="Svg2Xaml.dll" Source="$(var.KCOM_TargetDir)Svg2Xaml.dll" />
170
      </Component>
171
      <Component Id="Telerik.Windows.Zip.dll" Guid="a6fad489-eddc-40d4-8380-f21f1eddc036">
172
        <File Id="Telerik.Windows.Zip.dll" Name="Telerik.Windows.Zip.dll" Source="$(var.KCOM_TargetDir)Telerik.Windows.Zip.dll" />
173
      </Component>
174
      <Component Id="Bytescout.PDFExtractor.OCRExtension.dll" Guid="9d6e8e27-0ffb-410e-8420-1119d90ce8d5">
175
        <File Id="Bytescout.PDFExtractor.OCRExtension.dll" Name="Bytescout.PDFExtractor.OCRExtension.dll" Source="$(var.KCOM_TargetDir)Bytescout.PDFExtractor.OCRExtension.dll" />
176
      </Component>
177
    </ComponentGroup>
178
  </Fragment>
179
  
180
    <Fragment>
181
        <DirectoryRef Id="INSTALLFOLDER">
182
            <Directory Id="dir242DC17B8DFC53C13CAF172FC08B730A" Name="de" />
183
            <Directory Id="dir9AE38F4F5CB5E565E774521E138F44FD" Name="es" />
184
            <Directory Id="dirB55DFDA91FEE7CCCBC65CA7493B75748" Name="fr" />
185
            <Directory Id="dir45DE18DD71F3E8DD6BE4A0E2B48778C8" Name="it" />
186
            <Directory Id="dirF152986C1E6339E5EF84FD1370841521" Name="ko" />
187
            <Directory Id="dir2F3D431E0ED26930C4D37E679C7700A1" Name="nl" />
188
            <Directory Id="dir06249C254B8FEA6A37A7C6E4984EF433" Name="tessdata" />
189
            <Directory Id="dirE562A4656FE03253EA39D17E8127BA05" Name="tr" />
190
            <Directory Id="dirD38EDF1F361B4F099EBE0B9D8968D256" Name="x86" />
191
            <Directory Id="dirCFEC9E4F88644EEEA2E2C3669DAF0201" Name="x64" />
192
            <Directory Id="CommonAppDataFolder">
193
              <Directory Id="MyAppDataFolder" Name="MARKUS">
194
                <Component Id="CreateMyAppDataFolder" Guid="697A5A1C-88DB-4D1B-8C7A-614B8A20CD44" Win64="yes">
195
                  <CreateFolder />
196
                </Component>
197
              </Directory>
198
            </Directory>
199
        </DirectoryRef>
200
    </Fragment>
201
    <Fragment>
202
        <ComponentGroup Id="MARKUS">
203
            <ComponentRef Id="CreateMyAppDataFolder" />
204
			<ComponentRef Id="cmp67889FD2219FCD1ECDA0BD9FE906CD7A" />
205
			<ComponentRef Id="cmpB2A195FD7387054E641ABB044E70AD31" />
206
			<ComponentRef Id="cmpCA3EA94464F79A1D590AD23EE3921964" />
207
			<ComponentRef Id="cmpEB1634EB055BA192F2B44B8310392EAD" />
208
            
209
            
210
            
211
                        
212
            
213
            
214
            
215
            
216
            <Component Id="cmp8234C30B57CA4022B9BA108719FDF848" Directory="INSTALLFOLDER" Guid="3E2E60BB-3122-40F5-9A76-BDCF3F88D522" Win64="yes">
217
                <File Id="fil275D1AADC07745DA9912353B6B5FC53F" KeyPath="yes" Source=".\readme.html" />
218
            </Component>            
219
            
220
            
221
            
222
            <Component Id="cmpD3A6FA6C7B0D4A7F8464F61659F02115" Directory="INSTALLFOLDER" Guid="123D40A1-7FF9-4CFB-9837-E1A00E2A7A70" Win64="yes">
223
                <File Id="fil9C8C2AB2B1E142458FBD1EB991F289E1" KeyPath="yes" Source=".\packages\potrace.exe" />
224
            </Component>
225
            
226
			
227
            
228
            
229
            
230
            
231
            
232
            
233
            
234
            
235
            
236
            
237
            
238
            
239
            
240
            
241
            
242
            
243
            
244
            
245
            
246
            
247
            
248
            
249
            
250
            
251
            
252
            
253
            
254
            
255
            
256
            
257
            
258
                        
259
            
260
                        
261
            
262
            
263
            
264
                        
265
            <Component Id="cmpA8E411F92BD54821B9A3CEF8E01BBE63" Directory="MyAppDataFolder" Guid="6BF0D3C5-0684-4E7D-BC53-4CE092A48FFE" Win64="yes">
266
                <File Id="fil49E6FDC6BDFC49A5AB05A71FB2D3A5AE" KeyPath="yes" Source=".\KCOM\MARKUS.ini" />
267
            </Component>
268
			<Component Id="cmp92F6718F031E4AD2810155492929EE55" Directory="INSTALLFOLDER" Guid="CC6B1FD1-0587-4C56-B2F0-437BFA51B673" Win64="yes">
269
                <File Id="fil32BE8515827243CE87971B56055C66F1" KeyPath="yes" Source=".\packages\NDP461-KB3102438-Web.exe" />
270
            </Component>
271
        </ComponentGroup>
272
    </Fragment>
273
</Wix>
클립보드 이미지 추가 (최대 크기: 500 MB)