Hi
Can I suppress Powerclient Error 3010 (the folder is locked)? Expected behavior would be simply start the old version of the application (especially if the app version is marked as compatible).
The reason is: An user has an app already running and he simply wants to start another one. In case there's a new version on the server this is not possible.
Another scenario: The computer is shared between users and the app folder is locked by the second user.
Thank you
"When a new version is available, starting the application will pop up the 'Upgrade app' message as attached."
- When I do a bugfix I don't increase the version number. So the app doesn't show this message. Is it possible to simply disable 3010?
For the multi-user scenario, the default application directory is %appdata%\PBApps.
- Unfortunately I can't use it. I have to install to ProgramData because if I install the app to user profile then OCX, DB driver and other DLLs are registered to the current user and another user (without admin rights) fails because these objects are inaccessible to him.
- Another issue with %appdata% I'm afraid of is that %appdata% ends in roaming profile. In case an user have roaming turned in then he will migrate the whole application through the AD roaming strategy.
First of all, application upgrade requires terminating the currently running instances and making sure no other process is using the application directory or files.
Secondly, if you don’t increase the deployment version number, the application will force the update without any notification or message.
If your application needs upgrading online, I suggest you increase the deployment version number every time you deploy the application so the users can choose to run the older version. You can also set the available time for the new version as needed.
If you don’t want to increase the deployment version number, you can try the following solutions:
#1 Manually notify all users and stop the server for updating. After the server files are updated, if the end users have a multi-instance running, they need to close all instances first, and then start the application to avoid the problem of file locking.
#2 Use a separate web root name as the web server path to deploy the updated application. And then notify the users to use the new URL.
Regards,Kai