WiX インストーラーを使用して PostGreSqlServer をデプロイしようとしていますが、失敗し続け、その理由がわかりません。
私の wxs ファイルの重要な部分:
<Binary SourceFile="postgresql-9.2.1-1-windows.exe" Id="PostGreInstaller" />
<CustomAction Id="InstallPostGre" BinaryKey="PostGreInstaller"
ExeCommand='"--serverport 5432 --servicename postgres_service --locale C --superaccount Myadmin --superpassword Mypassword --unattendedmodeui minimal --debuglevel 2 --mode unattended"'
Execute="deferred" Return="check" Impersonate="yes" />
<InstallExecuteSequence>
<Custom Action="InstallPostGre" Before="InstallFinalize" />
</InstallExecuteSequence>
すでにコマンドシェルでコマンドを試してみましたが、うまくいきました。インストーラーにない理由はありません。
50MB を超える容量があるため、インストーラーがインストーラーを埋め込んでいることは確かです。
また、ログをオンにしてmsiを開始しましたが、それもあまり役に立ちませんでした...
Action 16:34:29: InstallPostGre.
MSI (s) (64:E0) [16:34:29:407]: Executing op: CustomActionSchedule(Action=InstallPostGre,ActionType=1026,Source=BinaryData,Target=--serverport 5432 --servicename postgres_service --locale C --superaccount Myadmin --superpassword Mypassword --unattendedmodeui minimal --debuglevel 2 --mode unattended,)
MSI (s) (64:E0) [16:34:31:698]: Note: 1: 1721 2: InstallPostGre 3: C:\Windows\Installer\MSIE410.tmp 4: --serverport 5432 --servicename postgres_service --locale C --superaccount Myadmin --superpassword Mypassword --unattendedmodeui minimal --debuglevel 2 --mode unattended
MSI (s) (64:E0) [16:34:31:698]: Note: 1: 2205 2: 3: Error
MSI (s) (64:E0) [16:34:31:698]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1721
Error 1721. There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor. Action: InstallPostGre, location: C:\Windows\Installer\MSIE410.tmp, command: --serverport 5432 --servicename postgres_service --locale C --superaccount Myadmin --superpassword Mypassword --unattendedmodeui minimal --debuglevel 2 --mode unattended
MSI (s) (64:E0) [16:34:34:717]: Note: 1: 2205 2: 3: Error
MSI (s) (64:E0) [16:34:34:717]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1709
MSI (s) (64:E0) [16:34:34:717]: Product: Hausverwaltung -- Error 1721. There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor. Action: InstallPostGre, location: C:\Windows\Installer\MSIE410.tmp, command: --serverport 5432 --servicename postgres_service --locale C --superaccount Myadmin --superpassword Mypassword --unattendedmodeui minimal --debuglevel 2 --mode unattended
そこにWiXの達人はいますか?:)