1. Luis Pesaressi
  2. PowerBuilder
  3. Tuesday, 25 January 2022 04:31 AM UTC

Hi,

I have a application CS that when I instlla via Web Client , that for can that work needa MSQL Driver and fonts for barrcode, how can make automatic this instalation of apliicaction, driver and fonts, in one installations

 

Thanks

Luis

Miguel Leeuwe Accepted Answer Pending Moderation
  1. Tuesday, 25 January 2022 08:14 AM UTC
  2. PowerBuilder
  3. # 1

Hi,

Which powerbuilder version are you using?

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 25 January 2022 16:12 PM UTC
  2. PowerBuilder
  3. # 2

Hi Luis;

  In the Run Options of the PC Project, you can define a job(s) to that get performed when the App starts. For example:

 

   In the above example, I used a Batch file that runs in order to install other external software that the PC App will need - like the fonts & DB Client that you mentioned that your PC App also needs.

HTH

Regards ... Chris

Comment
There are no comments made yet.
Luis Pesaressi Accepted Answer Pending Moderation
  1. Tuesday, 25 January 2022 21:47 PM UTC
  2. PowerBuilder
  3. # 3

HI

 

 

Thanks

 

Luis

Comment
  1. Miguel Leeuwe
  2. Wednesday, 26 January 2022 00:18 AM UTC
In that case, I think Chris' answer should be aplicable :)

Have you watched the Elevate videos and checked the documentation?

regards
  1. Helpful
  1. Miguel Leeuwe
  2. Wednesday, 26 January 2022 07:00 AM UTC
*applicable
  1. Helpful
There are no comments made yet.
Miguel Leeuwe Accepted Answer Pending Moderation
  1. Wednesday, 26 January 2022 07:24 AM UTC
  2. PowerBuilder
  3. # 4

Here's some information from https://docs.appeon.com/pb2021/pbug/ug58941.html :

Tip

Advanced usage of External Files and Preload Event

The combination of External Files and Preload Event can streamline the process of deploying a setup package to the server, installing the package and registering the file on the client machine. In the External Files page, you add the folders and/or files that make up of the setup package, and in the Preload Event field, you add commands to run the setup file and register any component if necessary.

Take Microsoft OLE DB Driver for SQL Server (MSOLEDBSQL) as an example. Suppose the MSOLEDBSQL setup package includes the following folders and files: msoledbsql folder, sqlncli folder, CheckDBDriver.bat file, and Install.bat file.

Step 1: Copy the msoledbsql folder, sqlncli folder, CheckDBDriver.bat file, and Install.bat file to the same folder as the application target file.

Step 2: In the External Files page, select Files (Download at startup) in the list, and then click Add Folder to add the folders: msoledbsql and sqlncli and click Add Files to add the files: CheckDBDriver.bat and Install.bat.

The selected folders and files will be first deployed to the server and then downloaded to the application directory on the client machine.

Step 3: In the Run Options page, add the following command in the Preload Event field: .\CheckDBDriver.bat.

The command will be executed automatically when the application is first installed or upgraded. The CheckDBDriver.bat file checks whether MSOLEDBSQL is installed on the client machine. If MSOLEDBSQL is not installed, then Install.bat is automatically run to install MSOLEDBSQL. Administrator rights are required to run the Install.bat file, so the end user will be prompted for that if Install.bat is run.

Comment
  1. Georgios Papageorgiou
  2. Thursday, 26 May 2022 22:58 PM UTC
Hi PowerSphere



the files CheckDBDriver.bat and Install.bat can be found here:

https://download.appeon.com/software/InstallDBDriver.zip



/Georgios
  1. Helpful
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.