1. Steen Jakobsen
  2. PowerBuilder
  3. Tuesday, 31 May 2022 16:23 PM UTC

Hi,

 

Can an app deployed using Power Client periodically check for updates then if there are updates then download them, apply them and restart it self ?

 

any clue ? :-)

Thanks

 

// Steen

Tomas Beran Accepted Answer Pending Moderation
  1. Thursday, 2 June 2022 08:51 AM UTC
  2. PowerBuilder
  3. # 1

Hi

What Steen requests would be great. I'm looking for similar option. It would be fine if CloudAppLauncerService periodically checks the new version availability and download it to some cache as a background task. For users connected through i.e. WiFi this would be a significant improvement because currently they have to wait until the application is downloaded.

Comment
There are no comments made yet.
Miguel Leeuwe Accepted Answer Pending Moderation
  1. Wednesday, 1 June 2022 07:32 AM UTC
  2. PowerBuilder
  3. # 2

In powerbuilder there's this "Restart()" command (can't access PB now, so not completely sure about naming and syntax).

Also, you could have a look at Roland Smith's PBUpdater, maybe it could serve you somehow: https://www.topwizprogramming.com/tools.html 

regards.

Comment
  1. Steen Jakobsen
  2. Thursday, 2 June 2022 09:52 AM UTC
I think this is for Appeon to answer :-)
  1. Helpful
  1. Miguel Leeuwe
  2. Thursday, 2 June 2022 10:37 AM UTC
Hi Steen,

That's exactly what they did: See Armeen's answer.

regards.
  1. Helpful
There are no comments made yet.
Steen Jakobsen Accepted Answer Pending Moderation
  1. Wednesday, 1 June 2022 07:25 AM UTC
  2. PowerBuilder
  3. # 3

Hi Armeen,

I understand your point completely.

We would so much like to use the awesome PowerClient. But we have an architecture where we use the Run() command to run different PowerBuilder exe files. Will that work when the "main" exe has been launched using the the Cloud App Launcher ?

 

Also, once the Clod App launcher have started the main application and all is updated etc.  can the exe subsequently be started just by running the exe?

 

Thanks 

Steen :-)

 

ps. Please excuse my ignorance regarding the PowerClient. I have very little knowledge about it but I think the concept is brilliant and I very much would like to use it.

 

 

 

 

Comment
  1. Armeen Mazda @Appeon
  2. Thursday, 2 June 2022 14:15 PM UTC
Yes, you can continue to use the Run() command to launch the other .exe. The only caveat is the .exe has to obviously exist on the user's machine. So either you should always use the URL to launch the other apps from your main app or you need to do some validation logic and judge whether to use URL or Run() .exe.

Yes, the .exe can be subsequently started directly and it will still check for updates and update automatically.
  1. Helpful 1
  1. Steen Jakobsen
  2. Thursday, 2 June 2022 14:48 PM UTC
So, every time the exe runs it is checking for updates ?

  1. Helpful
  1. Armeen Mazda @Appeon
  2. Thursday, 2 June 2022 15:43 PM UTC
Yes
  1. Helpful 1
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 31 May 2022 16:36 PM UTC
  2. PowerBuilder
  3. # 4

Hi Steen;

  No it cannot currently. However, that is what I have been suggesting as an enhancement request in this thread ...

https://community.appeon.com/index.php/webinars/elevate-discussion/powerclient-restrict-download-for-certain-users

Regards ... Chris

Comment
There are no comments made yet.
Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 31 May 2022 16:35 PM UTC
  2. PowerBuilder
  3. # 5

Whenever the user starts the application, the Cloud App Launcher manages the updating process in manner that is seamless to the user and the user does not have option to opt out of updates.  In other words, you as the developer dictate when updates go out.

Our recommended approach is to perform updates during scheduled maintenance periods.  You don't want older instance of the app to be in use while database is being updated.  So the scenario you described of hot updates while app is in use is not something we plan to enhance in our roadmap.

Comment
  1. Steen Jakobsen
  2. Wednesday, 1 June 2022 07:29 AM UTC
Hi Armeen,



I understand your point completely.



We would so much like to use the awesome PowerClient. But we have an architecture where we use the Run() command to run different PowerBuilder exe files. Will that work when the "main" exe has been launched using the the Cloud App Launcher ?







Also, once the Clod App launcher have started the main application and all is updated etc. can the exe subsequently be started just by running the exe?







Thanks



Steen :-)







ps. Please excuse my ignorance regarding the PowerClient. I have very little knowledge about it but I think the concept is brilliant and I very much would like to use it.



  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.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.