0

I am trying to build installer using InstallShield's commandline tool IsCmdBld.exe. It builds something, but when I try to open it, it returns following error.

Failing to open

I have used

"C:\Program Files (x86)\InstallShield\2015\System\IsCmdBld.exe" -p "D:\Installation_Builds\MyInstallations\MyInstaller.ism" -r "Compressed EN Build" -c COMP -a "CompEN"

as a command. Seems very straight forward. In fact if I do not insert -c COMP and generate uncompressed installer, it has no problem. However, the size of installer over all becomes 23GB so it is not acceptable.

I do see ISDEV : fatal error 0: followed by nothing else. I googled a bit and found http://flexerasoftware.force.com/ka1G0000000TljoIAC but I cannot seem to understand why this is occuring when I can perfectly build it without the use of commandline tool.

Any inputs would be appreciated. Thank you.

EDIT : after adding -v to the building command, little bit more detailed error showed up.

1627: Error saving the changes to [XX.msi]

I do not know why it is erroring on saving the change.

4

1 回答 1

0

确保您的 .msi 不是只读的。

我们发现使用 isCmdBld 的最佳方法是使用此 cmdline:

ISCmdBld.exe -p "%ProjectName%" -a "%Configuration%" -r "%ReleaseName%" -x -o "%MergeModulePath%" -prqpath "%PRQPath%"

您必须确保 %Configuration% 和 %ReleaseName% 与 ism(区分大小写)(Media|release)中的完全相同。

于 2016-12-09T19:55:49.117 回答