Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Install Error "Could not initialize installation. File size expected="

Status
Not open for further replies.

gnagy

Programmer
Dec 14, 2004
1
US
I have an automated Wise script that builds installation files from a command line utilizing compiler variables. I'm passing in the filename for the compiled output file. Everything works great if the output filename parameter value is 21 characters or less. (When you add the .exe extension the output filename is 25 characters in length.) There are no error messages generated during the compile, however, the following error occurs when executing any installation file (abc...yz.exe) that was generated with an output filename length > 21 characters.
"Could not initialize installation. File size expected=1310720, size returned=112197."

EXAMPLE1 OK: "ABCDEFGHIGKLMNOPQRSTU.exe"
EXAMPLE2 NOT: "ABCDEFGHIJKLMNOPQRSTUV.exe"

Does anyone have an idea what can be done to resolve this situation?
Thanks,
G
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top