Wise Failed with Return Code: 740

Upgraded my PC to windows 7 64-bit and now my iPhone build fails with the above error. I can run the .wse script ok both from within Wise 9 and also from the command prompt using the same command line contained in the FB error message:

Using command line : /c /d_INST_VER_=3.0.2.0 /d_PROD_VER_=3.02 /d_DIR_VER_=V302 /d_CONDUIT_DIR_VER_=V302 "E:\iPhone Project\Skylog Pro\V302\Install\InstiPhone302_P.wse"
 

It's just the FB 6.3.0.2172 script which fails. Have you seen this before?

Regards...Andrew

This looks like a UAC error… exit code 740 is ERROR_ELEVATION_REQUIRED - http://msdn.microsoft.com/en-us/library/ms681388(VS.85).aspx

It seems Wise is requesting elevated privileges, not sure why but your only choice is to turn off UAC or run FinalBuilder as Administrator (right click and select the Run as administrator menu) … it’s not possible to programmatically execute a program with elevated privileges and capture stdout (the only way is with shell execute, not at all useful).

Thanks Vincent, that was indeed the problem. As you say, can't think why Wise is requesting admin privileges only when run from FB - and in W7.

Regards...Andrew

 

For anyone else who may have this problem in the future, running FB in Windows XP SP2 compatibility mode fixes the problem.

Regards...Andrew