とっちゃん's Blog

WindowsInstaller に WiX はいかがですか~

目次

Blog 利用状況

ニュース

とっちゃんって?

コミュニティ

@ITの記事

CodeZineの記事

WiX チュートリアル

Windows ユーザー エクスペリエンス ガイドライン

唯一の日本語書籍

記事カテゴリ

書庫

日記カテゴリ

インストーラ関連

旧館

アクセスできないじゃないか。。。

むぅ。。。わんくまブログのエンジン(.Textの独自カスタマイズバージョンなんだって)がまたこけた。。。わんくま68資料公開 の記事が直接参照できなくなってる(RSSリーダーなどであればエントリーもコメント表示も可能)。最後が質問で、ISとWiXのビルド時間のことだったんですが。。。

平たく言えば、単純にビルド時間だけを比較すれば、WiXに比べいろいろなことをするISのほうが、ビルド時間が圧倒的に長いです。実際移植した当時(IS9 vs WIX2+NMAKE)では、ISで30分以上かかっていたビルドが、5分程度で終わっていました。

ちなみに、最新バージョンは、コンポーネント数が477、ファイルが1929、ビルド後の出来上がりサイズが671,391,744バイトあります(現在の最新イメージ)。ビルド時間はSSDなのもあって1分か2分ですけどね(ちなみに、ビルドを最速になるようにマシン構成自体が最適化されています)。年間千回以上ビルドするんで、最適化しておかないときついんでねw

ただし、ISでは当然のようにやっていることでも、WiXではできていない(仕組みとして用意されていない)部分が多数あります。なので単にビルド時間だけを推しにすることはできません。下にリンク貼ってますが、事例でWiXからISに移行するような場合も普通にあるので。

ちなみに、文字列処理ですが、ISは自身のプロジェクトファイル(.ism)を.msiと同じフォーマットで(WindowsInstallerのエンジン)保持しています(xml形式もありますが、こちらはソース管理用のもので、読み込むと内部的にバイナリデータ化しています。今もそうなのかはわかりませんが)。この部分で任意の文字コードを取扱いできるようにするため、文字列データについてはかなり冗長な管理を行っています(日本語は何らかのエンコード処理がなされているなどなど)。この時に一度エクスポートしてそれをインポートする形をとっているみたいです。

こちらも、WiX3.6でも、制御しきれない部分がありますので、多国語展開するなら、WiXよりISのほうが圧倒的に有利ですし、楽です。

他にも、WiXは、そもそもオープンソースなのでそれを許可できない企業には導入できないという大きな障壁があります。それ以外にも日本語リファレンスがない、日本的意味でのサポート体制がない(オープンソースのユーザーコミュニティとしてのMLはあります)など、日本の企業が導入しない○の理由に最初に出てきそうなものがいくつもあります。

一応。。。http://www.flexerasoftware.jp/products/installshield/resources.asp の下のほうに、ユーザーの声というのがあります。企業で導入するのなら、ぜひとも参考にしていただきたいと思います。実際 WiXからISに変更したという事例も出てます。

個人的にはWiXを使いこなせるくらいになってようやく一人前を名乗れる程度なのが、Setup Authoring の世界だと痛感してます。WiX使うようになって5年以上になるけど、いまだによくわからんことがいっぱいあるし、使ったことがない部分とかまだまだたくさんあるもの。

投稿日時 : 2012年2月23日 16:37

コメントを追加

# re: アクセスできないじゃないか。。。 2012/02/28 16:33 参加者A

お忙しい中、ご丁寧にご回答いただきありがとうございます。

確かに単純にビルド時間だけでは推し量れない点は多々ありますね。

> ちなみに、文字列処理ですが、ISは自身のプロジェクトファイル(.ism)を.msiと同じフォーマットで(WindowsInstallerのエンジン)
> 保持しています(xml形式もありますが、こちらはソース管理用のもので、読み込むと内部的にバイナリデータ化しています。
> 今もそうなのかはわかりませんが)。この部分で任意の文字コードを取扱いできるようにするため、文字列データについてはかなり
> 冗長な管理を行っています(日本語は何らかのエンコード処理がなされているなどなど)。この時に一度エクスポートしてそれを
> インポートする形をとっているみたいです。

こちらの点も何となく分かりました。たしかに InstallShield のプロジェクトファイル(ism)ファイルは、バイナリ形式で保存した
場合、Orca を使って編集できますね。InstallShield の Express Edition は、ダイレクトエディタが付属しないので結構重要な
テクニックだったような記憶があります。

> 個人的にはWiXを使いこなせるくらいになってようやく一人前を名乗れる程度なのが、Setup Authoring の世界だと痛感してます。
> WiX使うようになって5年以上になるけど、いまだによくわからんことがいっぱいあるし、使ったことがない部分とかまだまだたくさんあるもの。

まさにその通りですね。Windows Installer という技術は正直複雑すぎる気がします。 片手間でやるのは中々難しいものがあります。

いずれにしても Wix ツールについては、これから使い込んで行きたいと思います。 いろいろありがとうございました。

# When someone writes an piece of writing he/she retains the plan of a user in his/her brain that how a user can know it. So that's why this article is perfect. Thanks! 2021/09/03 5:01 When someone writes an piece of writing he/she ret

When someone writes an piece of writing he/she retains the plan of a user in his/her brain that
how a user can know it. So that's why this article is perfect.
Thanks!

# When someone writes an piece of writing he/she retains the plan of a user in his/her brain that how a user can know it. So that's why this article is perfect. Thanks! 2021/09/03 5:02 When someone writes an piece of writing he/she ret

When someone writes an piece of writing he/she retains the plan of a user in his/her brain that
how a user can know it. So that's why this article is perfect.
Thanks!

# When someone writes an piece of writing he/she retains the plan of a user in his/her brain that how a user can know it. So that's why this article is perfect. Thanks! 2021/09/03 5:03 When someone writes an piece of writing he/she ret

When someone writes an piece of writing he/she retains the plan of a user in his/her brain that
how a user can know it. So that's why this article is perfect.
Thanks!

# WOW just what I was searching for. Came here by searching for C# ps4 games https://bit.ly/3z5HwTp ps4 2021/09/12 14:07 WOW just what I was searching for. Came here by se

WOW just what I was searching for. Came here by searching for C# ps4 games https://bit.ly/3z5HwTp ps4

# You really make it seem so easy with your presentation but I find this topic to be actually something that I think I would never understand. It seems too complex and very broad for me. I'm looking forward for your next post, I'll try to get the hang of 2021/10/26 21:11 You really make it seem so easy with your presenta

You really make it seem so easy with your presentation but I find this
topic to be actually something that I think I would never understand.
It seems too complex and very broad for me. I'm looking forward for your next post,
I'll try to get the hang of it!

# You really make it seem so easy with your presentation but I find this topic to be actually something that I think I would never understand. It seems too complex and very broad for me. I'm looking forward for your next post, I'll try to get the hang of 2021/10/26 21:12 You really make it seem so easy with your presenta

You really make it seem so easy with your presentation but I find this
topic to be actually something that I think I would never understand.
It seems too complex and very broad for me. I'm looking forward for your next post,
I'll try to get the hang of it!

# You really make it seem so easy with your presentation but I find this topic to be actually something that I think I would never understand. It seems too complex and very broad for me. I'm looking forward for your next post, I'll try to get the hang of 2021/10/26 21:13 You really make it seem so easy with your presenta

You really make it seem so easy with your presentation but I find this
topic to be actually something that I think I would never understand.
It seems too complex and very broad for me. I'm looking forward for your next post,
I'll try to get the hang of it!

# You really make it seem so easy with your presentation but I find this topic to be actually something that I think I would never understand. It seems too complex and very broad for me. I'm looking forward for your next post, I'll try to get the hang of 2021/10/26 21:14 You really make it seem so easy with your presenta

You really make it seem so easy with your presentation but I find this
topic to be actually something that I think I would never understand.
It seems too complex and very broad for me. I'm looking forward for your next post,
I'll try to get the hang of it!

# Greetings! Very helpful advice in this particular post! It is the little changes which will make the biggest changes. Thanks for sharing! 2021/11/13 9:03 Greetings! Very helpful advice in this particular

Greetings! Very helpful advice in this particular post!
It is the little changes which will make the biggest changes.
Thanks for sharing!

# Greetings! Very helpful advice in this particular post! It is the little changes which will make the biggest changes. Thanks for sharing! 2021/11/13 9:04 Greetings! Very helpful advice in this particular

Greetings! Very helpful advice in this particular post!
It is the little changes which will make the biggest changes.
Thanks for sharing!

# Greetings! Very helpful advice in this particular post! It is the little changes which will make the biggest changes. Thanks for sharing! 2021/11/13 9:04 Greetings! Very helpful advice in this particular

Greetings! Very helpful advice in this particular post!
It is the little changes which will make the biggest changes.
Thanks for sharing!

# Greetings! Very helpful advice in this particular post! It is the little changes which will make the biggest changes. Thanks for sharing! 2021/11/13 9:05 Greetings! Very helpful advice in this particular

Greetings! Very helpful advice in this particular post!
It is the little changes which will make the biggest changes.
Thanks for sharing!

# clomid 100 mg tablet https://clomiden.fun/ 2022/04/12 13:06 Clomids

clomid 100 mg tablet https://clomiden.fun/

# prednisone uk buy http://prednisoneen.store/ 2022/04/16 23:01 Prednisone

prednisone uk buy http://prednisoneen.store/

# NXGfDOmMLvkt 2022/04/19 10:18 johnansaz

http://imrdsoacha.gov.co/silvitra-120mg-qrms

# generic lasix https://buylasix.icu/
generic lasix 2022/06/24 17:17 LasixRx

generic lasix https://buylasix.icu/
generic lasix

# purchase clomiphene https://clomidonline.icu/ 2022/07/08 13:46 Clomidj

purchase clomiphene https://clomidonline.icu/

# Urispas https://allpharm.store/ 2022/07/21 22:14 AllPharm

Urispas https://allpharm.store/

# does ivermectin kill hookworms https://stromectolbestprice.com/ 2022/07/30 0:40 BestPrice

does ivermectin kill hookworms https://stromectolbestprice.com/

# comfortis without vet prescription: https://medrxfast.com/ 2022/08/03 19:16 MedsRxFast

comfortis without vet prescription: https://medrxfast.com/

# prednisone online india https://deltasone.icu/
order prednisone 10 mg tablet 2022/08/22 9:51 Prednisone

prednisone online india https://deltasone.icu/
order prednisone 10 mg tablet

# ed pills https://ed-pills.xyz/
best pill for ed 2022/09/16 19:46 EdPills

ed pills https://ed-pills.xyz/
best pill for ed

# ed pills cheap https://ed-pills.xyz/
ed medications 2022/09/17 20:03 EdPills

ed pills cheap https://ed-pills.xyz/
ed medications

タイトル
名前
URL
コメント