Bug 4985

Making exe using cmd 01 August, 2020

Dipika Patel
27 July, 2020
Product: PowerBuilder Category: Other
Version: 2019 R2 Build:
Classification: Publishing: Public
Priority: P3
Status: Verifying Reason:
armando herrera @Appeon 31 July, 2020
Hi Dipika,

Are you still facing this problem?. 
Is there anything else we can do to help with this case? 

Ken Guo @Appeon 27 July, 2020
Hi Dipika,

Firstly, make sure your application can be deployed successfully under PB IDE. Pay attention to the settings of the version number.

Secondly, I suggest you try to modify the version number. For example, change to 1,1,1,1 and then execute PBC to see if it is OK because there is a known bug in PBC: if the version number is too large and starts with 0, the issue appears easily. 

Dipika Patel 27 July, 2020
*Phenomenon: We try to make exe using the cmd with the commands which are given for making exe for pb2019. But we are getting some error while building exe. When we try same commands with old code it is working fine. So can you please tell me where can be problem?

cmd /c pbc190.exe /d "<path of target>"
/o "<target exe>"
/r "<pbr file>"
/w n /f /m n /x 32 /bg y /p <software name> /cp <company name>
/de <software name> /cr <software copyright>
/v <version> /vn <version> /fv <version> /fvn <version> /ge 0 /pd yyy

*Reproduce Steps: 

Remarks:Is there any way that we can make exe automatically or any setup?
We get error "Creation of executable failed with a link error" in log file while making exe. And we don't get any attached error.
Windows 10
Database Type:
SAP SQL Anywhere
Database Version: