<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"\r
xmlns:netfx="http://schemas.microsoft.com/wix/NetFxExtension">\r
\r
+ <!-- バージョンアップ時にはProductVersionとProductのId属性を更新すること -->\r
+ <?define UpgradeCode = "ABE07AF2-98D1-44B2-A05F-E2A94271F7A7"?>\r
+ <?define ProductVersion = "1.15.0"?>\r
+\r
<Product Name="CompleteEraser"\r
- Id="47B6D9D1-FF2F-4ED8-ABFB-9E3F697956FC"\r
- UpgradeCode="ABE07AF2-98D1-44B2-A05F-E2A94271F7A7"\r
+ Id="07A584E0-0A63-49B7-838C-71D664FC2093"\r
+ UpgradeCode="$(var.UpgradeCode)"\r
Language="1041" Codepage="932"\r
- Version="1.10.0" Manufacturer="FooProject">\r
+ Version="$(var.ProductVersion)" Manufacturer="FooProject">\r
\r
<Package Id="*" Keywords="Installer"\r
Description="CompleteEraserインストーラー"\r
DiskId="1" Source="dist\help.txt"/>\r
<File Id="File4" Name="CompleteEraser.exe.config"\r
DiskId="1" Source="dist\CompleteEraser.exe.config"/>\r
+ <File Id="File5" Name="Trinet.Core.IO.Ntfs.dll"\r
+ DiskId="1" Source="dist\Trinet.Core.IO.Ntfs.dll"/>\r
</Component>\r
</Directory>\r
</Directory>\r
\r
<Feature Id="Complete" Title="CompleteEraser" Description="ファイルを復元不能にしてから削除します"\r
Display="expand" Level="1" ConfigurableDirectory="INSTALLDIR">\r
- <Feature Id="MainProgram" Title="MainProgram"\r
- Description="必須となるコンポーネント" Level="1" AllowAdvertise="no">\r
- <ComponentRef Id="Main" />\r
- <ComponentRef Id="RegistryEntries" />\r
- </Feature>\r
+ <ComponentRef Id="Main" />\r
+ <ComponentRef Id="RegistryEntries" />\r
</Feature>\r
\r
<UIRef Id="WixUI_Mondo" />\r
\r
<WixVariable Id="WixUILicenseRtf" Value="License.rtf" />\r
\r
+ <Property Id="ARPHELPLINK">http://sourceforge.jp/projects/completeeraser/forums/</Property>\r
+ <Property Id="ARPURLINFOABOUT">http://sourceforge.jp/projects/completeeraser/</Property>\r
+\r
+ <InstallExecuteSequence>\r
+ <RemoveExistingProducts After="InstallInitialize"/>\r
+ </InstallExecuteSequence>\r
+\r
+ <Condition Message="[ProductName]の最新バージョンは既にインストールされています">\r
+ NOT NEWERVERSIONDETECTED OR Installed\r
+ </Condition>\r
+\r
+ <Upgrade Id="$(var.UpgradeCode)">\r
+ <UpgradeVersion Minimum="1.0.0"\r
+ IncludeMinimum="yes"\r
+ Maximum="$(var.ProductVersion)"\r
+ Property="OLDERVERSIONBEINGUPGRADED" />\r
+ <UpgradeVersion Minimum="$(var.ProductVersion)"\r
+ OnlyDetect="yes"\r
+ Property="NEWERVERSIONDETECTED" />\r
+ </Upgrade>\r
+\r
</Product>\r
</Wix>\r