Help Viewer 2.0 enables you to specify and move the location of the local content store from the "Manage Content" tab. However, there are two issues with doing this in your specific scenario (reusing downloaded content across install/uninstall cycles):
- When you uninstall Help Viewer, it is likely that your downloaded content will be deleted. Help Viewer holds a ref count per language and, when the last reference is removed, it uninstalls that content to keep things clean.
- When you use the UI to move your local store to a new location, Help Viewer will force the directory to be empty before moving the content.
To work around these issues, use this approach:
- Install VS Express/Help Viewer and select your local store location (e.g. "D:\msdn")
- Download content via the Manage Content UI
- Before uninstalling VS Express/Help Viewer, backup the content folder
- Uninstall VS Express/Help Viewer
- Restore the backed up help folder to your desired local store location (e.g. "D:\msdn")
- Install Express/Help Viewer
Modify the registry key to set the content store to your desired location:
Key location: HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Help\v2.0\Catalogs\VisualStudio11
Key name: LocationPath (e.g. "D:\msdn")