프로젝트

일반

사용자정보

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

markus / FinalService_daelim.wxs @ 082cbc54

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

1
<?xml version="1.0" encoding="UTF-8"?>
2
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
3
	<Product Id="*" Name="FinalService" Language="1033" Version="$VERSION" Manufacturer="DOFTECH(C)" UpgradeCode="3E187583-A5AF-4DA2-89A1-83C192A0E60A">
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="FinalService" Level="1">
12
			<ComponentGroupRef Id="FinalService" />
13
		</Feature>
14
	</Product>
15

    
16
	<Fragment>
17
		<Directory Id="TARGETDIR" Name="SourceDir">
18
      <Directory Id="DesktopFolder" Name="Desktop">
19
        <Component Id="DesktopShortcut" Guid="D2FB7154-BFE6-4B11-BD62-69CF1E63DA23" Feature="ProductFeature">
20
          <RegistryValue Root="HKCU" Key="Software\DOFTECH\MARKUS\FinalService" Name="installed" Type="integer" Value="1" KeyPath="yes"/>
21
          <Shortcut Id="DesktopShortcut"
22
            Directory="DesktopFolder"
23
            Name="FinalService"
24
            Description="FinalService"
25
            Target="[INSTALLFOLDER]KCOM_FinalService.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="FinalService" />
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 FinalService" />
60
    <Property Id="WixShellExecTarget" Value="[INSTALLFOLDER]KCOM_FinalService.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="E62CA3BD-D561-4554-A4D7-B48D4A2B9D90" Win64='yes'>
78
            <CreateFolder />
79
          </Component>
80
        </Directory>
81
      </Directory>
82
    </DirectoryRef>
83
    
84
    <DirectoryRef Id="TARGETDIR">
85
      <Component Id="RegistryEntries" Guid="66BB5464-863E-4E67-8953-2625EBA52C0A">
86
        <RegistryKey Root="HKLM"
87
                    Key="Software\DOFTECH\MARKUS\FinalService"
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="FinalService"> 
97
      <ComponentRef Id="CreateMyAppDataFolder" />
98
      <ComponentRef Id="RegistryEntries" />
99
      
100
      <Component Id="cmpEFC8E4FEAD65C6F8432B4EB578EBEA5F" Directory="INSTALLFOLDER" Guid="1230238F-1516-4116-92F9-7A8943FF08D7" Win64='yes'>
101
          <File Id="filD04D74C9E941CA5FA1661C44EBD7C811" KeyPath="yes" Source=".\Setup\FinalService\IFinalPDF.dll" />
102
      </Component>
103
      <Component Id="cmp1DE0B23F7942D4E47B62522F774F3C76" Directory="INSTALLFOLDER" Guid="B836FAB1-44B5-4282-A119-1A59FA5655AA" Win64='yes'>
104
          <File Id="filF35DB5A41DFF81B0642F8FCBC3DFB906" KeyPath="yes" Source=".\Setup\FinalService\itextsharp.dll" />
105
      </Component>
106
      <Component Id="cmp93004A2A70CA6CC5550444DB6A0BB24B" Directory="INSTALLFOLDER" Guid="6FF9EACB-DBFE-425B-9C7B-F58F1EA7D7DA" Win64='yes'>
107
          <File Id="fil718E22AC4914F03FC39F7293CDC8C672" KeyPath="yes" Source=".\Setup\FinalService\itextsharp.xml" />
108
      </Component>
109
      <Component Id="cmp40B0E7C91C025AAEEF1F0DEC51A66549" Directory="INSTALLFOLDER" Guid="8D734532-A754-49A0-BCEC-B514661FAFB5" Win64='yes'>
110
          <File Id="filF60CE67197837613CD57BE23CB07368E" KeyPath="yes" Source=".\Setup\FinalService\KCOMDataModel.dll" />
111
      </Component>
112
      <Component Id="cmpEE8E531D52E746388211D454A7B652CD" Directory="INSTALLFOLDER" Guid="92F3D524-0681-4F59-9AFE-8875CE5F2FCC" Win64='yes'>
113
          <File Id="filF33A63AB801D7E78849A4330E53EBD7B" KeyPath="yes" Source=".\Setup\FinalService\KCOMDataModel.dll.config" />
114
      </Component>
115
      <Component Id="cmp599C0D2E83328F2696719B080E32F4DF" Directory="INSTALLFOLDER" Guid="84BB02E7-D578-47DC-A549-4B09FEDA4309" Win64='yes'>
116
          <File Id="fil5A455357091A4ADF7BA95765CC16064C" KeyPath="yes" Source=".\Setup\FinalService\KCOM_FinalService.exe" />
117
          <ServiceInstall Id="ServiceInstaller" 
118
            Type="ownProcess" 
119
            Name="FinalService" 
120
            DisplayName="MARKUS FinalService" 
121
            Description="convert user comments to pdf file" 
122
            Start="auto" 
123
            ErrorControl="normal" />
124
          <!-- Tell WiX to start the Service -->
125
          <ServiceControl Id="StartService" Start="install" Stop="both" Remove="uninstall" Name="FinalService" Wait="yes" />
126
      </Component>
127
      <Component Id="cmp2662FB243DAE8DF43E45C18BBC6963D6" Directory="INSTALLFOLDER" Guid="BEE89177-9874-4FE9-9E4D-8A8B5E04DA13" Win64='yes'>
128
          <File Id="fil310CC5D3573552ED8BE7E9CC58ACB9A1" KeyPath="yes" Source=".\Setup\FinalService\KCOM_FinalService.exe.config" />
129
      </Component>
130
	  <Component Id="cmp009B3F9F0821450E919FFBFB22C1A331" Directory="INSTALLFOLDER" Guid="C33FAD1B-179C-4A6B-8A0E-2FDD479CE18C" Win64='yes'>
131
          <File Id="fil0A767D9110FF4088BA73AD007E7B87CD" KeyPath="yes" Source=".\Setup\FinalService\FinalService_Config.exe" />
132
      </Component>
133
      <Component Id="cmpFE0047A5420B60BC9070B49ED04A3DF7" Directory="INSTALLFOLDER" Guid="4A9C0F5D-36EE-4922-B67F-2768588297D1" Win64='yes'>
134
          <File Id="filDB2B5EE0EF352042DCB528551CFF336A" KeyPath="yes" Source=".\Setup\FinalService\MarkupToPDF.dll" />
135
      </Component>	  
136
      <Component Id="cmpBF387E9588F2B8473B629AAB925D2239" Directory="INSTALLFOLDER" Guid="D32E9C4E-0033-4ECC-B3B0-00E71AB6CC18" Win64='yes'>
137
          <File Id="fil3BBE868726AE8A4E2066B45DD738F0E3" KeyPath="yes" Source=".\Setup\FinalService\MarkupToPDF.dll.config" />
138
      </Component>
139
	  <Component Id="cmpFE0047A5420B60BC9070B49ED04A3DF6" Directory="INSTALLFOLDER" Guid="680810dd-f815-4c72-bffd-a31e18636c4f" Win64='yes'>
140
          <File Id="filDB2B5EE0EF352042DCB528551CFF336B" KeyPath="yes" Source=".\Setup\FinalService\UploadFinal.dll" />
141
      </Component>
142
      <Component Id="cmpBF387E9588F2B8473B629AAB925D2237" Directory="INSTALLFOLDER" Guid="533eb951-9d38-403b-80d6-dbbca7b9e0fc" Win64='yes'>
143
          <File Id="fil3BBE868726AE8A4E2066B45DD738F0E2" KeyPath="yes" Source=".\Setup\FinalService\UploadFinal.dll.config" />
144
      </Component>
145
      <Component Id="cmp7F07F6231918203727082BB6A28CC75F" Directory="INSTALLFOLDER" Guid="2F0F7F57-22BE-4A3C-8CF1-874B48A0F055" Win64='yes'>
146
          <File Id="fil3E19A0F06927704B530947F360809AD8" KeyPath="yes" Source=".\Setup\FinalService\Telerik.Windows.Zip.dll" />
147
      </Component>
148
      <Component Id="cmpFF91FE36548D6FA9C8D0DC80206BE1EF" Directory="INSTALLFOLDER" Guid="28E25268-EB14-44B5-9C70-7A5D620A63F6" Win64='yes'>
149
          <File Id="fil898D8F5BF92067A65BDD539092A9A061" KeyPath="yes" Source=".\Setup\FinalService\Telerik.Windows.Zip.xml" />
150
      </Component>
151
	  <Component Id="commonlib.dll" Directory="INSTALLFOLDER" Guid="a766f7cf-1bc2-4b28-abe5-b35eedc05e01" Win64='yes'>
152
          <File Id="commonlib.dll" KeyPath="yes" Source=".\Setup\FinalService\CommonLib.dll" />
153
      </Component>
154
	  <Component Id="log4net.dll" Directory="INSTALLFOLDER" Guid="c2125b7b-5f96-4cb8-98da-38f410a5ac2c" Win64='yes'>
155
          <File Id="log4net.dll" KeyPath="yes" Source=".\Setup\FinalService\log4net.dll" />
156
      </Component>
157
	  <Component Id="log4net.xml" Directory="INSTALLFOLDER" Guid="4b278837-8a25-4183-b2e0-bf353ce9d6de" Win64='yes'>
158
          <File Id="log4net.xml" KeyPath="yes" Source=".\Setup\FinalService\log4net.xml" />
159
      </Component>
160
	  <Component Id="monitorservice" Directory="INSTALLFOLDER" Guid="44c71fdb-afa5-490e-b111-40a23039f665" Win64='yes'>
161
          <File Id="monitorservice" KeyPath="yes" Source=".\Setup\FinalService\FinalService_Watcher.exe" />
162
          <ServiceInstall Id="MonitorServiceInstaller" 
163
            Type="ownProcess" 
164
            Name="FinalService_Watcher" 
165
            DisplayName="MARKUS FinalService Watcher" 
166
            Description="convert user comments to pdf file monitoring" 
167
            Start="auto" 
168
            ErrorControl="normal" />
169
          <!-- Tell WiX to start the Service -->
170
          <ServiceControl Id="MonitorServiceController" Start="install" Stop="both" Remove="uninstall" Name="FinalService_Watcher" Wait="yes" />
171
      </Component>
172
	  <Component Id="cmpA8E411F92BD54821B9A3CEF8E01BBE63" Directory="MyAppDataFolder" Guid="6BF0D3C5-0684-4E7D-BC53-4CE092A48FFE" Win64='yes'>
173
                <File Id="fil49E6FDC6BDFC49A5AB05A71FB2D3A5AE" KeyPath="yes" Source=".\Site\Daelim\ini\FinalService.ini" />
174
            </Component>
175
    </ComponentGroup>
176
  </Fragment>
177
</Wix>
클립보드 이미지 추가 (최대 크기: 500 MB)