1 <?xml version="1.0" encoding="utf-8"?>
\r
2 <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
\r
3 xmlns:netfx="http://schemas.microsoft.com/wix/NetFxExtension">
\r
5 <Product Name="CompleteEraser"
\r
6 Id="47B6D9D1-FF2F-4ED8-ABFB-9E3F697956FC"
\r
7 UpgradeCode="ABE07AF2-98D1-44B2-A05F-E2A94271F7A7"
\r
8 Language="1041" Codepage="932"
\r
9 Version="1.10.0" Manufacturer="FooProject">
\r
11 <Package Id="*" Keywords="Installer"
\r
12 Description="CompleteEraserインストーラー"
\r
13 Comments="ファイルを復元不能にしてから削除します"
\r
14 Manufacturer="FooProject" InstallerVersion="300"
\r
15 Languages="1041" Compressed="yes" SummaryCodepage="932" />
\r
16 <Media Id="1" Cabinet="Product.cab" EmbedCab="yes" />
\r
18 <PropertyRef Id="NETFRAMEWORK40FULL"/>
\r
19 <Condition Message="このアプリケーションを実行するには.NET Framework4.0が必要です">
\r
20 <![CDATA[Installed OR NETFRAMEWORK40FULL]]>
\r
23 <Directory Id="TARGETDIR" Name="SourceDir">
\r
24 <?if $(sys.BUILDARCH) = "x64"?>
\r
25 <Directory Id="ProgramFiles64Folder">
\r
26 <Directory Id="PFFolder" />
\r
29 <Directory Id="ProgramFilesFolder">
\r
30 <Directory Id="PFFolder" />
\r
35 <DirectoryRef Id="PFFolder">
\r
36 <Directory Id="FooProject" Name="FooProject">
\r
37 <Directory Id="INSTALLDIR" Name="CompleteEraser">
\r
38 <Component Id="RegistryEntries" Guid="0B8DCAC5-6CB0-402A-9D39-66E63A886656" KeyPath="yes">
\r
39 <RegistryKey Root="HKLM"
\r
40 Key="Software\Classes\CLSID\{112143A6-62C1-4478-9E8F-872699255E2E}"
\r
41 Action="createAndRemoveOnUninstall">
\r
42 <RegistryValue Type="string" Value="ShellExtension Sample"/>
\r
44 <RegistryKey Root="HKLM"
\r
45 Key="Software\Classes\CLSID\{112143A6-62C1-4478-9E8F-872699255E2E}\InprocServer32"
\r
46 Action="createAndRemoveOnUninstall">
\r
47 <RegistryValue Type="string" Value="[!File1]"/>
\r
48 <RegistryValue Type="string" Name="ThreadingModel" Value="Apartment"/>
\r
50 <RegistryKey Root="HKLM"
\r
51 Key="Software\Classes\*\shellex\ContextMenuHandlers\{112143A6-62C1-4478-9E8F-872699255E2E}"
\r
52 Action="createAndRemoveOnUninstall">
\r
54 <RegistryKey Root="HKLM"
\r
55 Key="Software\Classes\Directory\shellex\ContextMenuHandlers\{112143A6-62C1-4478-9E8F-872699255E2E}"
\r
56 Action="createAndRemoveOnUninstall">
\r
58 <RegistryKey Root="HKLM"
\r
59 Key="Software\Classes\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\shellex\ContextMenuHandlers\{112143A6-62C1-4478-9E8F-872699255E2E}"
\r
60 Action="createAndRemoveOnUninstall">
\r
64 <Component Id="Main"
\r
65 Guid="C32A3290-9F3B-44BE-9248-A92898846E82" KeyPath="yes">
\r
66 <?if $(sys.BUILDARCH) = "x64"?>
\r
67 <File Id="File1" Name="ShellExtension.dll"
\r
68 DiskId="1" Source="dist\ShellExtension.x64.dll"/>
\r
70 <File Id="File1" Name="ShellExtension.dll"
\r
71 DiskId="1" Source="dist\ShellExtension.x86.dll"/>
\r
73 <File Id="File2" Name="CompleteEraser.exe"
\r
74 DiskId="1" Source="dist\CompleteEraser.exe"/>
\r
75 <File Id="File3" Name="help.txt"
\r
76 DiskId="1" Source="dist\help.txt"/>
\r
77 <File Id="File4" Name="CompleteEraser.exe.config"
\r
78 DiskId="1" Source="dist\CompleteEraser.exe.config"/>
\r
84 <Feature Id="Complete" Title="CompleteEraser" Description="ファイルを復元不能にしてから削除します"
\r
85 Display="expand" Level="1" ConfigurableDirectory="INSTALLDIR">
\r
86 <Feature Id="MainProgram" Title="MainProgram"
\r
87 Description="必須となるコンポーネント" Level="1" AllowAdvertise="no">
\r
88 <ComponentRef Id="Main" />
\r
89 <ComponentRef Id="RegistryEntries" />
\r
93 <UIRef Id="WixUI_Mondo" />
\r
94 <UIRef Id="WixUI_ErrorProgressText" />
\r
96 <WixVariable Id="WixUILicenseRtf" Value="License.rtf" />
\r