How to permanently fix version manager enablement messages using Citrix and App-V?
book
Article ID: KB0077932
calendar_today
Updated On:
Products
Versions
Spotfire Statistica
13.3 and higher
Description
If Citrix and App-V is used to published Statistica to users, users may see the following error when launching Statistica after upgrading from 13.1 to 13.5:
This can be resolved by running Statistica as admin as discussed in this knowledge article: https://support.tibco.com/s/article/Statistica-Version-Management-Version-Manager However, it was discovered users would have to launch Statistica as admin every time, but what is needed is a solution where a standard users would be able to launch Statistica without encountering the errors above.
Cause
The error messages will appear if this fails: "Register desktop STATISTICA if it starts from a different path than where it is registered. " If Statistica run with elevated/as admin permission, the registration will be updated. More specifically, it goes through the files in RegisteredFiles.txt and re-registers them; it checks whether the app folder is the same as the one in this registry entry:
If Statistica is launched as a standard user and the location of the statist.exe file does not match the location, the enablement errors will appear. Clicking "OK" and "Yes" will allow Statistica to still launch and run as usual, until it is closed and re-launched, when the messages will appear again.
Environment
Windows operating systems only.
Resolution
DISCLAIMER : TIBCO Software does not provide support for problems that arise from improper modification of the registry. The Windows registry contains information critical to your computer and applications. Make sure you back up the registry before modifying it. For more information on the Windows Registry Editor and how to back up and restore it, refer to Microsoft Article ID 256986.
With some implementations of Citrix and App-V virtual environments, the registry is "dynamic" and cannot be updated directly. In this case, the registry must be updated via a script. To do so, export the registry entry, as below:
Then with a script, perhaps a Powershell script or batch file, add the following command to update the registry before launching Statistica: