Created
November 3, 2021 15:04
-
-
Save satob/e758311aa71cb89e50dcec7063e079f5 to your computer and use it in GitHub Desktop.
「プログラムと機能」にエントリを追加するだけのMSI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version='1.0' encoding='utf-8'?> | |
<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'> | |
<Product Name='「プログラムと機能」の「名前」' | |
Id='3f0cbfd7-fbe5-45f4-80fc-f4487b757cad' | |
UpgradeCode='5f7bce8e-2bb2-445f-b8da-1748b15913ff' | |
Language='1041' Codepage='932' | |
Version='1.2.3.4' Manufacturer='「プログラムと機能」の「発行元」'> | |
<Package Id='*' Keywords='「ファイルプロパティ」の「タグ」(任意)' | |
Description="「ファイルプロパティ」の「件名」(任意)" | |
Comments='「ファイルプロパティ」の「コメント」(任意)' | |
Manufacturer='「ファイルプロパティ」の「作成者」(任意)' InstallerVersion='100' | |
Languages='1041' Compressed='yes' SummaryCodepage='932' /> | |
<Property Id="INSTALLDIR"> | |
<RegistrySearch Id='PiyoHogeRegistry' Type='raw' | |
Root='HKLM' Key='Software\Piyo\Hoge 1.0' | |
Name='InstallDir' /> | |
</Property> | |
<Directory Id='TARGETDIR' Name='SourceDir'> | |
<Directory Id="ProgramMenuFolder" Name="Programs"> | |
<Directory Id="ProgramMenuDir" Name="ほげ 1.0"> | |
<Component Id="ProgramMenuDir" | |
Guid="e03a03e6-926c-4438-bd8f-a93fd038afd8"> | |
<RemoveFolder Id='ProgramMenuDir' On='uninstall' /> | |
<RegistryValue Root='HKCU' | |
Key='Software\[Manufacturer]\[ProductName]' | |
Type='string' Value='' KeyPath='yes' /> | |
</Component> | |
</Directory> | |
</Directory> | |
<Directory Id="DesktopFolder" Name="Desktop" /> | |
</Directory> | |
<Feature Id='Complete' Level='1'> | |
<ComponentRef Id='ProgramMenuDir' /> | |
</Feature> | |
</Product> | |
</Wix> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment