シナリオ 1: Windows サービスからこのコードを実行すると、Windows イベント ログで失敗します。
「製品: XXX -- 構成に失敗しました」
シナリオ 2: これをプレーンな exe として実行すると、動作します。
私が試したコード:
var installerFilePath = <Path of msi>;
System.Diagnostics.Process installerProcess;
installerProcess = System.Diagnostics.Process.Start(installerFilePath, " /q");
while (installerProcess.HasExited == false)
{
System.Threading.Thread.Sleep(250);
}
Windows MSIInstaller の追加ログをインストールしようとしましたが、何もログに記録されませんでした。
お知らせ下さい。
KG