WiX

ショートカットとそのアイコン

WiX

どうもアイコンの参照がうまくいかなかった。いろいろ試した結果アイコン定義をしておくのがいいようだ。 <Icon Id="MySoft.ico" SourceFile="MySoft.exe" /> <Directory> … <Component Id="MySoftMain" Guid="…"> <File Id="MySoft.exe" Name="MySoft.exe" KeyPath="yes" Source="MySoft.exe"> </file></component></directory></icon>

WiXUIExtension

WiX

WiXには標準的なウィザードのUIが付いている。下記を追加するとインストール先の選択が可能になる。 <Product> … <Property Id="WIXUI_INSTALLDIR" Value="INSTALLDIR" /> <UIRef Id="WixUI_InstallDir" /> … </Product> 下記のコマンドを実行すると、作成できる。candle.exe で一旦、wixobj ファイルを生成している。 candle.exe product.wxs light -ext WixUIExtensi…

MSBuild と Windows Installer XML を使ったリリースの自動化

http://msdn.microsoft.com/msdnmag/issues/07/03/WixTricks/default.aspx?loc=jp