1. Walther Rodirguez
  2. PowerServer
  3. Friday, 2 September 2022 17:51 PM UTC

How can I get the name and path of the executable file of the application that runs the client and that is downloaded with the AppCloudLauncher

For powerserver.

 

thanks

Roland Smith Accepted Answer Pending Moderation
  1. Friday, 2 September 2022 18:02 PM UTC
  2. PowerServer
  3. # 1
Comment
  1. Francisco Martinez @Appeon
  2. Friday, 2 September 2022 18:03 PM UTC
This guide uses the function Roland linked to in his answer
  1. Helpful
  1. Roland Smith
  2. Friday, 2 September 2022 18:13 PM UTC
The C++ constant MAX_PATH has a value of 260 so I would use that when allocating the buffer instead of 255. I don't think it is necessary to pass one less to the function. It will truncate the output to nSize - 1 if it needs to. Some functions (not this one) will accept up to 32,767.
  1. Helpful
  1. Logan Liu @Appeon
  2. Tuesday, 6 September 2022 01:54 AM UTC
I want to add a tip about configuring App Path in PowerServer 2022:

If you use the default app launcher, "Allow the user to change the path" is not selected by default, the path %appdata%\pbapps\ will be the installing path of the cloud apps. So the install path of a specified app (E.g.: %appdata%\pbapps\Applications\demo.appeon.com_googlecharts) is basically fixed on the Client by default.

If you want to customize the Cloud App launcher, please refer to: https://docs.appeon.com/ps2022/Customize_cloud_app_launcher.html
  1. Helpful 1
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.