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 <!-- バージョンアップ時にはProductVersionとProductのId属性を更新すること -->
\r
6 <?define UpgradeCode = "ABE07AF2-98D1-44B2-A05F-E2A94271F7A7"?>
\r
7 <?define ProductVersion = "1.17.0"?>
\r
9 <Product Name="CompleteEraser"
\r
10 Id="1DE24257-0DE6-4097-ADDF-2CECB70AE443"
\r
11 UpgradeCode="$(var.UpgradeCode)"
\r
12 Language="1041" Codepage="932"
\r
13 Version="$(var.ProductVersion)" Manufacturer="FooProject">
\r
15 <Package Id="*" Keywords="Installer"
\r
16 Description="CompleteEraserインストーラー"
\r
17 Comments="ファイルを復元不能にしてから削除します"
\r
18 Manufacturer="FooProject" InstallerVersion="300"
\r
19 Languages="1041" Compressed="yes" SummaryCodepage="932" />
\r
20 <Media Id="1" Cabinet="Product.cab" EmbedCab="yes" />
\r
22 <PropertyRef Id="NETFRAMEWORK40FULL"/>
\r
23 <Condition Message="このアプリケーションを実行するには.NET Framework4.0が必要です">
\r
24 <![CDATA[Installed OR NETFRAMEWORK40FULL]]>
\r
27 <Directory Id="TARGETDIR" Name="SourceDir">
\r
28 <?if $(sys.BUILDARCH) = "x64"?>
\r
29 <Directory Id="ProgramFiles64Folder">
\r
30 <Directory Id="PFFolder" />
\r
33 <Directory Id="ProgramFilesFolder">
\r
34 <Directory Id="PFFolder" />
\r
39 <DirectoryRef Id="PFFolder">
\r
40 <Directory Id="FooProject" Name="FooProject">
\r
41 <Directory Id="INSTALLDIR" Name="CompleteEraser">
\r
42 <Component Id="RegistryEntries" Guid="0B8DCAC5-6CB0-402A-9D39-66E63A886656" KeyPath="yes">
\r
43 <RegistryKey Root="HKLM"
\r
44 Key="Software\Classes\CLSID\{112143A6-62C1-4478-9E8F-872699255E2E}"
\r
45 Action="createAndRemoveOnUninstall">
\r
46 <RegistryValue Type="string" Value="ShellExtension Sample"/>
\r
48 <RegistryKey Root="HKLM"
\r
49 Key="Software\Classes\CLSID\{112143A6-62C1-4478-9E8F-872699255E2E}\InprocServer32"
\r
50 Action="createAndRemoveOnUninstall">
\r
51 <RegistryValue Type="string" Value="[!File1]"/>
\r
52 <RegistryValue Type="string" Name="ThreadingModel" Value="Apartment"/>
\r
54 <RegistryKey Root="HKLM"
\r
55 Key="Software\Classes\*\shellex\ContextMenuHandlers\{112143A6-62C1-4478-9E8F-872699255E2E}"
\r
56 Action="createAndRemoveOnUninstall">
\r
58 <RegistryKey Root="HKLM"
\r
59 Key="Software\Classes\Directory\shellex\ContextMenuHandlers\{112143A6-62C1-4478-9E8F-872699255E2E}"
\r
60 Action="createAndRemoveOnUninstall">
\r
62 <RegistryKey Root="HKLM"
\r
63 Key="Software\Classes\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\shellex\ContextMenuHandlers\{112143A6-62C1-4478-9E8F-872699255E2E}"
\r
64 Action="createAndRemoveOnUninstall">
\r
68 <Component Id="Main"
\r
69 Guid="C32A3290-9F3B-44BE-9248-A92898846E82" KeyPath="yes">
\r
70 <?if $(sys.BUILDARCH) = "x64"?>
\r
71 <File Id="File1" Name="ShellExtension.dll"
\r
72 DiskId="1" Source="dist\ShellExtension.x64.dll"/>
\r
74 <File Id="File1" Name="ShellExtension.dll"
\r
75 DiskId="1" Source="dist\ShellExtension.x86.dll"/>
\r
77 <File Id="File2" Name="CompleteEraser.exe"
\r
78 DiskId="1" Source="dist\CompleteEraser.exe"/>
\r
79 <File Id="File3" Name="help.txt"
\r
80 DiskId="1" Source="dist\help.txt"/>
\r
81 <File Id="File4" Name="CompleteEraser.exe.config"
\r
82 DiskId="1" Source="dist\CompleteEraser.exe.config"/>
\r
83 <File Id="File5" Name="Trinet.Core.IO.Ntfs.dll"
\r
84 DiskId="1" Source="dist\Trinet.Core.IO.Ntfs.dll"/>
\r
90 <Feature Id="Complete" Title="CompleteEraser" Description="ファイルを復元不能にしてから削除します"
\r
91 Display="expand" Level="1" ConfigurableDirectory="INSTALLDIR">
\r
92 <ComponentRef Id="Main" />
\r
93 <ComponentRef Id="RegistryEntries" />
\r
96 <UIRef Id="WixUI_Mondo" />
\r
97 <UIRef Id="WixUI_ErrorProgressText" />
\r
99 <WixVariable Id="WixUILicenseRtf" Value="License.rtf" />
\r
101 <Property Id="ARPHELPLINK">http://sourceforge.jp/projects/completeeraser/forums/</Property>
\r
102 <Property Id="ARPURLINFOABOUT">http://sourceforge.jp/projects/completeeraser/</Property>
\r
104 <InstallExecuteSequence>
\r
105 <RemoveExistingProducts After="InstallInitialize"/>
\r
106 </InstallExecuteSequence>
\r
108 <Condition Message="[ProductName]の最新バージョンは既にインストールされています">
\r
109 NOT NEWERVERSIONDETECTED OR Installed
\r
112 <Upgrade Id="$(var.UpgradeCode)">
\r
113 <UpgradeVersion Minimum="1.0.0"
\r
114 IncludeMinimum="yes"
\r
115 Maximum="$(var.ProductVersion)"
\r
116 Property="OLDERVERSIONBEINGUPGRADED" />
\r
117 <UpgradeVersion Minimum="$(var.ProductVersion)"
\r
119 Property="NEWERVERSIONDETECTED" />
\r