1. Abdul Samad Shaikh
  2. PowerBuilder
  3. Friday, 23 September 2022 15:34 PM UTC

How to create exe file using PBC190.exe, 

I am able to create dll and pbd file by using PBC190.exe utility from command prompt , but it is not creating exe file.

I am using following command

PBC190.exe /d "application.pbt" /o "application.exe" /r "application.pbr" /w y /f /m y /tr n /in n /op 1 /x 32 /bg y /p "PowerBuilder Enterprise Series" /cp "Sybase, Inc." /de "Sybase, Inc. Product File" /v "5,2,7,0" /vn "5.2.7.0" /fv "5,2,7,0" /fvn "5.2.7.0" /ge 0

Thanks in advance .

 

Abdul Samad Shaikh Accepted Answer Pending Moderation
  1. Friday, 23 September 2022 16:34 PM UTC
  2. PowerBuilder
  3. # 1

I am executing PBC190 through command prompt only.

Comment
  1. Chris Pollach @Appeon
  2. Friday, 23 September 2022 16:45 PM UTC
Please make sure then that ...

1) Command prompt Window is running in ADMIN mode

2) You use a Change Directory (CD) command to position the CP window on your App's Workspace's main folder.

3) The PBC190 EXE is run-able via locating the EXE via the O/S's System Path.

4) The workspace main folder, all it's sub-folders and their files are NOT write protected.

Regards ... Chris
  1. Helpful
There are no comments made yet.
Abdul Samad Shaikh Accepted Answer Pending Moderation
  1. Friday, 23 September 2022 16:21 PM UTC
  2. PowerBuilder
  3. # 2

Hi Chris,

Yes, right I am copying the compile information in my Apps Project Object General tab only and executing with PBC190.exe .

 

 

Comment
  1. Chris Pollach @Appeon
  2. Friday, 23 September 2022 16:29 PM UTC
Great ... Are you running the PBC via a DOS command window or a BAT file?



  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Friday, 23 September 2022 16:00 PM UTC
  2. PowerBuilder
  3. # 3

Hi Abdul;

  Your PBC command line entries look quite sparse to me.

For example, here is my PBC command line for my Demo App...

/d "C:\Dev\PB2019R3\OrderEntry\OES_Native.pbt" /o "C:\Dev\PB2019R3\OrderEntry\OrderEntry32P.exe" /w n /i /m n /x 32 /bg y /p "Order Entry System - Author: Chris Pollach" /cp "Software Tool & Die Inc." /de "OrderEntry example application based on the 'Integrated' STD Foundation Classes" /cr "STD Inc. - Contact: Chris.Pollach@ncf.ca" /v "2021.3.0.395 - Product (Integrated 32 bit P-Code)" /vn "2021.3.395.0" /fv "2021.3.0.395 - File (Integrated 32 bit P-Code)" /fvn "2020.3.395.0" /ge 1 /le 0 /ps n /pd nyyyyyyyyyyyyyyyyyyyyyyy /rt 19.2.0.2779

=> Did you create the PBC compile command line by copying the compile information in your App's Project Object's General  tab in the project painter?

Regards ... Chris

 

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.