I think I requested on the wishlist some time ago for data to be moved out of the application directory (or more properly, a definable place). Mainly for my backup (well restore in fact) strategy.
2009-09-11, 01:11 PM (This post was last modified: 2009-09-11, 01:17 PM by Graham.)
Does the datadir registry setting give us the best of all worlds ... We can set it to wherever we want. My choice would be C:\gbpvr to keep everything simple and easy to find.
Which folders would I need to move from Program Files if I set datadir?
Does the current upgrade process handle datadir? For example, would the upgrade to 1.4.7 have been automatic if I had set datadir in 1.3.11 and moved stuff to C:\gbpvr?
Should I assume that most plugins use the installdir registry setting. For example, Aplugin would look for its data file in installdir\plugins\aplugin\?
martint123 Wrote:I think I requested on the wishlist some time ago for data to be moved out of the application directory (or more properly, a definable place). Mainly for my backup (well restore in fact) strategy.
The app itself has been able to handle data being stored elsewhere for at least a couple of years, but I hate making changes in the installer so have never updated it to take advantage of this feature.
Graham Wrote:Does the datadir registry setting give us the best of all worlds ... We can set it to wherever we want. My choice would be C:\gbpvr to keep everything simple and easy to find.
Which folders would I need to move from Program Files if I set datadir?
It looks for the gbpvr.db3, logs\*, plugins\*, media\*, thumbnails\* files in the datadir.
Quote:Does the current upgrade process handle datadir? For example, would the upgrade to 1.4.7 have been automatic if I had set datadir in 1.3.11 and moved stuff to C:\gbpvr?
See previous comment about installe. Its not going handle the datadir at all. It always installs into 'program files'.
Quote:Should I assume that most plugins use the installdir registry setting. For example, Aplugin would look for its data file in installdir\plugins\aplugin\?
Sure - entirely possible some plugins will have some hardcoded rules which will stop them from working correctly. The small number of plugins I've run actually worked fine (WebRadio, DVD Ripper etc...)
I'm not recommending anyone actually move their data directory, mainly because the installer isnt going to like it, but just indicating that it was possible.
If you set this registry key, how do your existing files migrate to the new location? Is this something that needs to be done manually or will GBPVR move them automatically?
I am a Vista user, so having an option move the data files out of program files is very appealing.
Windows 7 Premium 32-Bit, Intel i5 750, ASUS P7P55D, 4gb ram, ATI RADEON HD 4550, 5 sata drives, HVR2250, HDPVR, COMSKIP, PCH A100, EGreat 34a, VideoReDo, SA 4240HDC
steveum Wrote:If you set this registry key, how do your existing files migrate to the new location? Is this something that needs to be done manually or will GBPVR move them automatically?
I am a Vista user, so having an option move the data files out of program files is very appealing.
You'd need to have moved these files yourself.
See comment above about the installer not supporting this though. Given it'll break your next attempted upgrade, I wouldnt recommend it.
as for default use, i'd think a dir common to all users would have to be chosen to avoid each user having to set it up again and having separate settings, etc..
pBS, I was proposing one common directory for data. However the directory name of this is not going to be common across Windows versions or installations. DataDir could do what I want, but it takes too much coordination with all plugin writers and isn't compatible with upgrades so it isn't an option for now.
2009-09-12, 04:25 PM (This post was last modified: 2009-09-12, 04:46 PM by JavaWiz.)
sub Wrote:"DataDir". If not specified, it defaults to the same location as InstallDir.
I didn't even realize this existed. WizTools only looks at InstallDir. Next cut I will update to include a check for DataDir related to any lookups for gbpvr.db3, logs\*, plugins\*, media\*, thumbnails\*.
How about the config.xml, is it in the data dir or installdir?