WiXhttp://blogs.wankuma.com/tocchann/category/455.aspxWiXとっちゃんja-JP.Text Version 0.95.2004.102とっちゃん[WiX][msi] In-Script(deferred) で動くカスタムアクションにプロパティを渡すときには。。。http://blogs.wankuma.com/tocchann/archive/2019/05/28/1057047.aspx2019年5月28日 11:38:00 GMThttp://blogs.wankuma.com/tocchann/archive/2019/05/28/1057047.aspxhttp://blogs.wankuma.com/tocchann/comments/1057047.aspxhttp://blogs.wankuma.com/tocchann/archive/2019/05/28/1057047.aspx#Feedback259http://blogs.wankuma.com/tocchann/comments/commentRss/1057047.aspx
http://blogs.wankuma.com/tocchann/services/trackbacks/1057047.aspx<p>すっかりと忘れ去っていたのでメモ。</p><p>CustomAction DLL を、In-Script(主に管理者権限で動かしたい場合などに使う)で動作させると、プロパティにアクセスできません。</p><p>そんなことはもうすっかりと忘れ去っていたので。。。</p><p>じゃぁどうするか?</p><p>というと、カスタムアクションのIDと同じIDを持つプロパティに値をセットしてやることで、パラメータを渡すことができます。</p><p>受け取るDLL側は、"CustomActionData" (IPROPNAME_CUSTOMACTIONDATA で msiDefs.h に定義)という専用のプロパティとして受け取ります。</p><p>1つしかないので、複数渡したい場合は、なにかしらのセパレータで区切る、コマンドラインのように /hoge=foo /huga=bar とするなど、工夫する必要があります。</p><p>CustomActionDataなんて扱ったの何年振りよ?というくらい前のことなので、思い出すまでにすげー時間がかかった。。。orz</p><p>ちなみに、WiX 3.x の場合はこんな感じ。</p><p><a title="https://gist.github.com/Tocchann/e30105bb09d23cad6f386057deb0484e" href="https://gist.github.com/Tocchann/e30105bb09d23cad6f386057deb0484e">https://gist.github.com/Tocchann/e30105bb09d23cad6f386057deb0484e</a></p><img src ="http://blogs.wankuma.com/tocchann/aggbug/1057047.aspx" width = "1" height = "1" />とっちゃんWiX 3.14 始動?http://blogs.wankuma.com/tocchann/archive/2017/06/05/553747.aspx2017年6月05日 13:38:00 GMThttp://blogs.wankuma.com/tocchann/archive/2017/06/05/553747.aspxhttp://blogs.wankuma.com/tocchann/comments/553747.aspxhttp://blogs.wankuma.com/tocchann/archive/2017/06/05/553747.aspx#Feedback1http://blogs.wankuma.com/tocchann/comments/commentRss/553747.aspx
http://blogs.wankuma.com/tocchann/services/trackbacks/553747.aspx<p><a title="Let's Code - WiX: v3.14" href="http://robmensching.com/blog/posts/2017/6/4/lets-code-wix-v3.14/">Let's Code - WiX: v3.14</a></p> <p>3.11 もリリースされたので、3.14 が動き始めたようです。なんで 3.14 なのかって?</p> <p>Sound goo? I thought so. だそうです。</p> <p>なんか、バージョニングルールに苦労してるみたい。確かに細かくリリース仕様と思うと難しいのよねぇ。。。</p><img src ="http://blogs.wankuma.com/tocchann/aggbug/553747.aspx" width = "1" height = "1" />とっちゃん[WiX] WiX v3.11 Releasedhttp://blogs.wankuma.com/tocchann/archive/2017/05/09/549568.aspx2017年5月09日 10:55:00 GMThttp://blogs.wankuma.com/tocchann/archive/2017/05/09/549568.aspx<p><a title="WiX Toolset v3.11 Released" href="http://robmensching.com/blog/posts/2017/5/5/wix-toolset-v3.11-released/">WiX Toolset v3.11 Released</a></p> <p>5/5 に Stable 版がリリースされました。ブログに書くのすっかり忘れてた。</p> <p>3.11 の主な対応項目は、VS2017対応。</p> <p>それと、大きな変更点としては、VS機能拡張が独立して、特定バージョンごとにばらばらになったこと。</p> <p>ちなみに、AppX ビルドは有償版(日本に代理店はないので、直接購入のみだと思います)で別提供されている機能拡張(WiXのExtension)なので、WiX 本体だけでは対応できませんのでご注意をw</p> <p>そろそろ、VS2017.2 も出てくる気がするし、周りもほぼほぼ対応が進みつつあるので、そろそろ本腰入れて2017環境移行を検討しないといけないなぁ。。。</p> <p>ダウンロードは、<a title="http://wixtoolset.org/releases/" href="http://wixtoolset.org/releases/">http://wixtoolset.org/releases/</a></p> <p>リリースノートは、<a title="https://github.com/wixtoolset/wix3/releases/tag/wix311rtm" href="https://github.com/wixtoolset/wix3/releases/tag/wix311rtm">https://github.com/wixtoolset/wix3/releases/tag/wix311rtm</a></p><img src ="http://blogs.wankuma.com/tocchann/aggbug/549568.aspx" width = "1" height = "1" />とっちゃん[WiX] WiX v3.11 RC2http://blogs.wankuma.com/tocchann/archive/2017/03/29/544515.aspx2017年3月29日 12:00:00 GMThttp://blogs.wankuma.com/tocchann/archive/2017/03/29/544515.aspxhttp://blogs.wankuma.com/tocchann/comments/544515.aspxhttp://blogs.wankuma.com/tocchann/archive/2017/03/29/544515.aspx#Feedback3http://blogs.wankuma.com/tocchann/comments/commentRss/544515.aspx
http://blogs.wankuma.com/tocchann/services/trackbacks/544515.aspx<p><a title="WiX v3.11 Release Candidate 2" href="http://robmensching.com/blog/posts/2017/3/28/wix-v3.11-release-candidate-2/">WiX v3.11 Release Candidate 2</a> にあるとおり、RC2(v3.11.0.1528)がでました。まだVS Template周りに問題が残っているようですがあらかたバグフィックスできてるらしいです。</p> <p>ちなみに、VS2017対応はこの3.11からになります。3.10までは、VS2017を認識しません。</p><img src ="http://blogs.wankuma.com/tocchann/aggbug/544515.aspx" width = "1" height = "1" />とっちゃん[WiX] WiX Toolset v3.10.3 リリースhttp://blogs.wankuma.com/tocchann/archive/2016/07/06/536951.aspx2016年7月06日 18:18:00 GMThttp://blogs.wankuma.com/tocchann/archive/2016/07/06/536951.aspxhttp://blogs.wankuma.com/tocchann/comments/536951.aspxhttp://blogs.wankuma.com/tocchann/archive/2016/07/06/536951.aspx#Feedback0http://blogs.wankuma.com/tocchann/comments/commentRss/536951.aspx
http://blogs.wankuma.com/tocchann/services/trackbacks/536951.aspx<a title="WiX v3.10.3 released" href="http://www.joyofsetup.com/2016/07/04/wix-v3-10-3-released/" target="_blank">WiX v3.10.3 released</a> <p>独立記念日に合わせて、WiX 3.10.3 がStableになりました。</p> <p>修正したバグの一覧:</p> <ul> <li><a href="https://github.com/wixtoolset/issues/issues/5193">layout: Default directory broken with clean room implementation. #5193</a> with fix by <a href="https://github.com/jchoover">@jchoover</a> <li><a href="https://github.com/wixtoolset/issues/issues/5234">WiX 3.10.1 failing to update to 3.10.2 #5234</a> with fix by <a href="https://github.com/rseanhall">@rseanhall</a> <li><a href="https://github.com/wixtoolset/issues/issues/5238">New bootstrapper fails to run when performing an UpdateReplace #5238</a> with fix by <a href="https://github.com/rseanhall">@rseanhall</a> <li><a href="https://github.com/wixtoolset/issues/issues/5282">System.ArgumentException: Font '?' cannot be found. In the BootstapperApplication #5282</a> with fix by <a href="https://github.com/robmen">@robmen</a> <li><a href="https://github.com/wixtoolset/issues/issues/5277">Layout to custom directory doesn't copy bundle payload #5277</a> with fix by <a href="https://github.com/res2k">@res2k</a> <li><a href="https://github.com/wixtoolset/issues/issues/5301">Regression in attached container issues in clean room #5301</a> with fix by <a href="https://github.com/rseanhall">@rseanhall</a> <li><a href="https://github.com/wixtoolset/issues/issues/5302">Extra argument in burn command line #5302</a> with fix by <a href="https://github.com/rseanhall">@rseanhall</a> <li><a href="https://github.com/wixtoolset/issues/issues/5308">Custom burn application throws exception when accessing .NET dll when uninstalling #5308</a> with fix by <a href="https://github.com/rseanhall">@rseanhall</a></li></ul> <p>このリリースで、3.10 シリーズは終了です。約9か月にわたって続いた各種脆弱性の修正対応と、Burn のレイアウト機能のバグ修正が行われています。</p> <p>今後の 3.x 系の更新は 3.11 になります。開発の主軸は v4 だと思います。</p><img src ="http://blogs.wankuma.com/tocchann/aggbug/536951.aspx" width = "1" height = "1" />とっちゃんWiX toolset joins the .NET Foundationhttp://blogs.wankuma.com/tocchann/archive/2016/05/05/534182.aspx2016年5月05日 11:03:00 GMThttp://blogs.wankuma.com/tocchann/archive/2016/05/05/534182.aspxhttp://blogs.wankuma.com/tocchann/comments/534182.aspxhttp://blogs.wankuma.com/tocchann/archive/2016/05/05/534182.aspx#Feedback0http://blogs.wankuma.com/tocchann/comments/commentRss/534182.aspx
http://blogs.wankuma.com/tocchann/services/trackbacks/534182.aspx<p><a title="WiX toolset joins the .NET Foundation" href="http://robmensching.com/blog/posts/2016/5/4/wix-toolset-joins-the-.net-foundation/">WiX toolset joins the .NET Foundation</a></p> <p>一瞬解散?と思ったけど、そうじゃなくて単に WiX toolset を移管するってことでした。</p> <p>彼らのお仕事的には、特に大きな変更があるわけじゃないみたいで、今までとの違いは、ライセンス表記が ".NET Foundation" 変わる程度。</p> <p>MS から Outercurve に変更されたときも、使う側的には変わらなかったし、今回も同様。</p> <p>使ってる側からすれば、MS-RL は明示なライセンス表示も求められないし、そもそも使ってることすら謳う必要がないので(ツールの性格的にもだけどねw)何がどう変わるというところはないと思います。</p> <p>&nbsp;</p> <p>発表のタイミングを計っていたらしいけど、5/4 って向こうでは、star wars の日らしいですね。</p> <p>でも ms-translater は、"May the Force be with you!" を、"あなたとあらんことを!" と訳してた。</p> <p>仕方ないので、Google にも訳してもらった。。。"フォースがあなたと一緒かもしれません!"</p> <p>こっちは、もっと直訳だったw</p> <p>このあたりが機械翻訳の限界なんですかねぇ。。。ま、これ会社で書いてるんですが、日本では今日はこどもの日。</p> <p>&nbsp;</p> <p>"フォースとともにあらんことを!"</p><img src ="http://blogs.wankuma.com/tocchann/aggbug/534182.aspx" width = "1" height = "1" />とっちゃん[WiX] v3.10.1 Released.http://blogs.wankuma.com/tocchann/archive/2015/11/02/523656.aspx2015年11月02日 11:30:00 GMThttp://blogs.wankuma.com/tocchann/archive/2015/11/02/523656.aspxhttp://blogs.wankuma.com/tocchann/comments/523656.aspxhttp://blogs.wankuma.com/tocchann/archive/2015/11/02/523656.aspx#Feedback0http://blogs.wankuma.com/tocchann/comments/commentRss/523656.aspx
http://blogs.wankuma.com/tocchann/services/trackbacks/523656.aspx<p><a title="WiX Toolset v3.10.1 Released" href="http://robmensching.com/blog/posts/2015/10/31/wix-toolset-v3.10.1-released/" target="_blank">WiX Toolset v3.10.1 Released</a></p> <p>XP/Server 2003 対応&ちょっとしたバグ修正のメンテナンスリリースが出ました。</p> <p>修正項目は、こちら。</p> <ul> <li><a href="http://wixtoolset.org/issues/4902/">Bug 4902</a> and <a href="http://wixtoolset.org/issues/4908/">Bug 4908</a> - workaround for a Visual Studio 2015 issue that caused certain WiX standard custom actions to fail when run on Windows XP and Windows Server 2003. <li><a href="http://wixtoolset.org/issues/4772/">Bug 4772</a> - fixed hyperlinks in WixStdBA on Windows XP and Windows Server 2003. <li><a href="http://wixtoolset.org/issues/4899/">Bug 4899</a> - fixed parsing of some attributes of the WixStandardBootstrapperApplication element.</li></ul> <p>Bug 4899 以外は、XP/2003 関連の不具合。VC++コンパイラ変更に伴う問題への対応だそうです。</p> <blockquote> <p>Finally, as with most maintenance releases, if you are on <a href="http://robmensching.com/blog/posts/2015/9/7/wix-toolset-v3.10-released/">WiX v3.10</a> you do not need to upgrade to v3.10.1 unless you hit one of these issues.</p></blockquote> <p>とのことなので、すでに3.10で、現状で問題がない人は更新しなくてもいいそうです。</p><img src ="http://blogs.wankuma.com/tocchann/aggbug/523656.aspx" width = "1" height = "1" />とっちゃん[WiX] WiX Toolset v3.10 Releasedhttp://blogs.wankuma.com/tocchann/archive/2015/09/08/521711.aspx2015年9月08日 10:55:00 GMThttp://blogs.wankuma.com/tocchann/archive/2015/09/08/521711.aspxhttp://blogs.wankuma.com/tocchann/comments/521711.aspxhttp://blogs.wankuma.com/tocchann/archive/2015/09/08/521711.aspx#Feedback0http://blogs.wankuma.com/tocchann/comments/commentRss/521711.aspx
http://blogs.wankuma.com/tocchann/services/trackbacks/521711.aspx<p>Windows 10 がリリースされてから一か月ちょっと。v3.10 がリリースされました。</p> <p>バージョンは 3.10.0.2103。ということで、9/3 リリース版がそのままRTWとして使われたようです。</p> <p>ダウンロードは<a href="https://wix.codeplex.com/releases/view/617257" target="_blank">こちら</a>からどうぞ。</p> <p>リリースノートも張り付けてありました(リンクじゃなくてDLしてくるのはCodePlex的ななにか?w)。</p><img src ="http://blogs.wankuma.com/tocchann/aggbug/521711.aspx" width = "1" height = "1" />とっちゃん[WiX] WiX v3.10 Relase Candidate 2http://blogs.wankuma.com/tocchann/archive/2015/08/27/521224.aspx2015年8月27日 11:35:00 GMThttp://blogs.wankuma.com/tocchann/archive/2015/08/27/521224.aspxhttp://blogs.wankuma.com/tocchann/comments/521224.aspxhttp://blogs.wankuma.com/tocchann/archive/2015/08/27/521224.aspx#Feedback0http://blogs.wankuma.com/tocchann/comments/commentRss/521224.aspx
http://blogs.wankuma.com/tocchann/services/trackbacks/521224.aspx<p><a title="WiX v3.10 Release Candidate 2" href="http://robmensching.com/blog/posts/2015/8/26/wix-v3.10-release-candidate-2/" target="_blank">WiX v3.10 Release Candidate 2</a></p> <p>RC2の登場だそうです。いくつか細かなバグ修正(と、VS2015RTMでのビルドエラー修正)が入ってるみたいですね。</p> <p>何もなければこれが最終的にStableなバージョンになるのかな?</p> <p>&nbsp;</p> <p>Win10周りは何も書かれていなかったので、そっちは影響点がなかったんだろうな。。。w</p><img src ="http://blogs.wankuma.com/tocchann/aggbug/521224.aspx" width = "1" height = "1" />とっちゃん[WiX] WiX v3.10 Release Candidatehttp://blogs.wankuma.com/tocchann/archive/2015/06/24/518920.aspx2015年6月24日 10:44:00 GMThttp://blogs.wankuma.com/tocchann/archive/2015/06/24/518920.aspxhttp://blogs.wankuma.com/tocchann/comments/518920.aspxhttp://blogs.wankuma.com/tocchann/archive/2015/06/24/518920.aspx#Feedback0http://blogs.wankuma.com/tocchann/comments/commentRss/518920.aspx
http://blogs.wankuma.com/tocchann/services/trackbacks/518920.aspx<p>ネタ元:<a title="WiX v3.10 Release Candidate" href="http://robmensching.com/blog/posts/2015/6/23/wix-v3.10-release-candidate/" target="_blank">WiX v3.10 Release Candidate</a>(Rob) <a title="WiX v3.10 Release Candidate build available" href="http://www.joyofsetup.com/2015/06/23/wix-v3-10-release-candidate-build-available/">WiX v3.10 Release Candidate build available</a>(Bob)</p> <p>ついにRC。あとで、チェンジリストチェックしなきゃ。。。</p> <p>WiX 3.10 はサポート対象に VS2015 &amp; Windows 10 があるので、最終版はこの二つがRTMしてからになるそうです。</p> <p>もっとも RC なので RTM版で問題なく動作するならそのバージョンのまま Stable することもありますけどね。</p><img src ="http://blogs.wankuma.com/tocchann/aggbug/518920.aspx" width = "1" height = "1" />

AltStyle によって変換されたページ (->オリジナル) /