Skip navigation
VMware

This Question is Answered (go to answer)

396 Views 6 Replies Last post: Apr 13, 2009 6:30 AM by hmartin RSS
hmartin Hot Shot 200 posts since
Oct 26, 2005
Currently Being Moderated

Apr 12, 2009 9:22 AM

Is it possible to relocate the BuildCache folder?

I'm running into a filename path length problem in the BuildCache directory, which is currently lcoated at "C:\Documents and Settings\<user>\Local Settings\Application Data\Thinstall\BuildCache."  I would like to move it to a shorter path, but haven't been successful.  I've tried setting the THINAPP_CACHE_DIR env. variable, but it had no affect.  I am running the latest version of ThinApp.  Any help is appreciated.  Thanks.

Pallavis Enthusiast 46 posts since
Jan 19, 2009
Currently Being Moderated
1. Apr 12, 2009 10:20 AM in response to: hmartin
Re: Is it possible to relocate the BuildCache folder?

 

Hi hmartin,

 

 

Instead of setting the environment variable to  THINAPP_CACHE_DIR,   set it  to   THINSTALL_CACHE_DIR and set the respective path as per your need.  Also please go through the following information. I hope it is helpful to you.

 

 

CachePath-Sets the path to the cache directory that stores font files and stub executable files. You can use this parameter when you need to force the cache directory to reside on a different drive.

 

 

This parameter can contain macros, such as %Local AppData%, that expand before use. If the path is relative, ThinApp interprets the path relative to the directory where the package is stored.

 

 

For extra flexibility, you can use the THINSTALL_CACHE_DIR environment variable to override this parameter at runtime.

 

 

If neither the CachePath parameter nor the THINSTALL_CACHE_DIR environment variable is present, ThinApp uses a default locaation. The default location depends on the presence of a SandboxPath parameter in the Package.ini file. If the SandboxPath parameter exists and the path setting is relative, CachePath defaults to the same path.

 

 

If the SandboxPath setting exists and the path setting is absolute, CachePath defaults to %Local AppData%\Thinstall\Cache\Stubs.

 

 

For example, set the cache directory to C:\VirtCache:

 

 

CachePath=C:\VirtCache

 

 

With the package located in C:\VirtApps, the cache is set to C:\VirtApps\Cache:

 

 

CachePath=Cache

 

 

In a typical USB key scenario, you force the sandbox to the USB key. If the packages are stored in the \VirtApps subdirectory on the USB key, enter the following to force the cache directory to the USB key too:

 

 

CachePath=Sandbox

 

 

Thanks and Regards,

 

 

Pallavi S

 

 

 

 

 

Master VMware Employees 700 posts since
Feb 29, 2008
Currently Being Moderated
3. Apr 13, 2009 4:35 AM in response to: hmartin
Re: Is it possible to relocate the BuildCache folder?

It is currently not possible to move the BuildCache folder, it's location is always %Local AppData%\Thinstall\BuildCache.

I'm a bit surprised that you're running into a path length problem. That must mean you either have a very long username or a very long filename (original path doesn't matter, the filename itself needs to be quite large)?

Master VMware Employees 700 posts since
Feb 29, 2008
Currently Being Moderated
5. Apr 13, 2009 5:58 AM in response to: hmartin
Re: Is it possible to relocate the BuildCache folder?

The BuildCache is only used when building a compressed package, so if you don't require compression you might want to try switching it off.

Bookmarked By (0)

Share This Page

Communities