ClickOnce Apps on writable volume installs in too long path


Please give me new ideas how I can solve my problem:

1. I have my own software for our company and this has been published in the principle of ClickOnce deployment manifest. This software installs in user profile: C:\users\username\AppData\Local\Apps\2.0\obfuscatedfoldername\obfuscatedfoldername\, e.g. C:\Users\rupakov\AppData\Local\Apps\2.0\7XD8OQT3.K9R\QGKCMENG.0JQ\glob..tion_0000000000000000_0001.0003_c190cb9e9fa24b56

2. I use Horizon 8 and App Volumes 4 with Writable Volumes for store user profile data. When this software installs on VDI environment, really install path, includes mount point, is too long, e.g. C:\SnapVolumesTemp\MountPoints\{45c63495-0000-0000-0000-100000000000}\{F1C58EF5-2704-4F90-A106-F013F31EADF8}\SVROOT\Users\rupakov\AppData\Local\Apps\2.0\7XD8OQT3.K9R\QGKCMENG.0JQ\glob..tion_0000000000000000_0001.0003_c190cb9e9fa24b56
At application starts, explorer.exe crashes with error "System detected an overrun of a stack-based buffer in this application".

3. If I manually shorten the installation path - app work well, but when updating, the application is put back to its original path. And the app is frequently updated.
It is not possible to change install path for ClickOnce apps.

4. Adding key [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem]"LongPathsEnabled"=dword:00000001 has no effect, not helps.

5. I tried to add "exclude_path=%localappdata%\Apps" and "exclude_process_name=MyAppName.exe" to \Custom\Snapvol.cfg, but got no effect. It is likely that these directives conflict with "include_path=\Users" in \Default\uia_plus_profile

How i can to do, that "exclude_path=%localappdata%\Apps" and "include_path=\Users" works at the same time?

Or, Its possibly to rename folder SnapVolumesTemp to short name?

Or any different ideas, how to make the app work?
I'm quite satisfied if the application does not persist after the relogon.

Labels (3)
0 Kudos
0 Replies