1. Luis Pesaressi
  2. Beta Testing
  3. Friday, 18 December 2020 11:54 AM UTC

Hi

How can I automate the installation of the new microsoft sql driver with power client

 

Thanks

Luis

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 22 December 2020 15:01 PM UTC
  2. Beta Testing
  3. # 1

Hi Luis;

  FWIW: You cannot just copy the new SS driver across to the client machine. It must be installed via it's corresponding MSI installation file as provided from the Microsoft SQL Server website.

Regards ... Chris

Comment
  1. Luis Pesaressi
  2. Saturday, 26 December 2020 06:37 AM UTC
well yes..

but automatic is better

thanks



Luis
  1. Helpful
There are no comments made yet.
Kai Zhao @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 22 December 2020 08:15 AM UTC
  2. Beta Testing
  3. # 2

Hi Luis,

Judging from the screenshot you provided, the IACCEPTMSOLEDBSQLLICENSETERMS parameter is missing. Please add it to solve the issue. For example:

msoledbsql.msi /quiet /passive IACCEPTMSOLEDBSQLLICENSETERMS=YES

Regards,
ZhaoKai

Comment
  1. Luis Pesaressi
  2. Tuesday, 22 December 2020 09:36 AM UTC
HI,

I put too, but not work :(



thanks

Luis
  1. Helpful
  1. Kai Zhao @Appeon
  2. Wednesday, 23 December 2020 01:05 AM UTC
Hi Luis,



It works well on our end. What's the detailed PowerBuilder version you are using? Are you using PowerBuilder 2019 R3 Beta2(Build 2622) below:

https://file.appeon.com/download/Installer/PowerBuilder/Beta/PowerBuilderInstaller_bootstrapper.exe



Please follow the steps below.



1 Create install.bat with the line below under the folder in which msolddbsql.msi is located.

msoledbsql.msi /quiet /passive /l* install.log IACCEPTMSOLEDBSQLLICENSETERMS=YES



2 Run install.bat directly without 'Run as administrator'.



3 Check the install.log generated in the same folder to see if there is any error. If yes, please provide it to us for more study, thanks.



Regards,

ZhaoKai

  1. Helpful
  1. Kai Zhao @Appeon
  2. Tuesday, 29 December 2020 05:16 AM UTC
Is there any update on this issue? Did you get it resolved?
  1. Helpful
There are no comments made yet.
Luis Pesaressi Accepted Answer Pending Moderation
  1. Sunday, 20 December 2020 14:04 PM UTC
  2. Beta Testing
  3. # 3

Hi Govinda
I following steps of the video but not working, Not install the msoledbsql.msi driver

Thanks
Luis

Attachments (2)
Comment
  1. Armeen Mazda @Appeon
  2. Tuesday, 22 December 2020 15:42 PM UTC
This problem happens on all machines or only specific one?
  1. Helpful
  1. Luis Pesaressi
  2. Tuesday, 29 December 2020 23:11 PM UTC
hi

all machines.....



Luis
  1. Helpful
  1. Armeen Mazda @Appeon
  2. Tuesday, 29 December 2020 23:31 PM UTC
Please contact your sales person to arrange for free tech session so we can help you troubleshoot.
  1. Helpful
There are no comments made yet.
Govinda Lopez @Appeon Accepted Answer Pending Moderation
  1. Friday, 18 December 2020 15:36 PM UTC
  2. Beta Testing
  3. # 4

Hi Luis,

 

As John mentioned, I did talk about this in the Elevate Keynote demo. But you may find a little more info on the Webinar too https://www.appeon.com/developers/library/videos/powerbuilder-2019-r3-preview-part-4-new-sql-server-driver.html (min 23:06).

 

You can also find both .msi installers from the official website: https://docs.microsoft.com/en-us/sql/connect/oledb/download-oledb-driver-for-sql-server?view=sql-server-ver15 

 

Of course, the examples I showed on the videos are only basic. You would need to create your own scripts and you would want to check if the driver has already been installed on the end user's machine. Otherwise, there's no need to install it again every time the application starts. So you can check the radio button "Only run when the app is launched for the first time or when the app version is updated" in the Project object's "Run options" tab in the "Preload event" section of PowerBuilder 2019 R3. Now, this setting will run the Preload event's script once the app has been downloaded for the first time. But every time you do an update to your application, this event will get triggered again. So you would also want to create your bash script accordingly.

 

You may find more information about the parameters the .msi installer finds by running this command in your CMD prompt: msoledbsql.msi /? or you may find more documentation about it here: https://docs.microsoft.com/en-us/sql/connect/oledb/applications/installing-oledb-driver-for-sql-server?view=sql-server-ver15

 

I hope this helps.

 

Regards,

 

Comment
  1. Luis Pesaressi
  2. Sunday, 20 December 2020 14:03 PM UTC
Hi Govinda

I following steps of the video but not working, Not install the msoledbsql.msi driver



Thanks

Luis

  1. Helpful
There are no comments made yet.
John Fauss Accepted Answer Pending Moderation
  1. Friday, 18 December 2020 14:46 PM UTC
  2. Beta Testing
  3. # 5

Greetings, Luis -

Govinda Lopez covered this in his portion of the Elevate keynote session:

https://www.appeon.com/conference/elevate-2020/session-catalog.html

His discussion on this topic begins at approximately 1:34:00 into the replay.

If I recall correctly, Microsoft provides an .msi that can be run silently, so its installation should not be dependent on PowerClient. And since this is a MS product, it is independent of PB 2019 R3.

That being said, please keep in mind that PB 2019 R3 has not yet been released for production use. IMHO, it would not be wise to install beta-release software into a production environment.

Regards, John

Comment
  1. Armeen Mazda @Appeon
  2. Friday, 18 December 2020 15:41 PM UTC
Absolutely do NOT use the beta for real life. It is just to learn and test out the feature. The final releases has made significant changes for the better to PowerClient. We are still on track to release the final version end of January.
  1. Helpful
  1. Luis Pesaressi
  2. Monday, 25 January 2021 23:28 PM UTC
I know, but I use I local network, and has a lot to adjust
  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.