ProVide can store resources that normally live in its installation folder, such as logs, accounts, certificates, and templates, in other locations. You do this by starting ProVide with one or more /config command-line switches. This is useful when you need to move logs or accounts to a drive with more space, or keep certain data on a separate volume.
Available /config switches #
/config "<path>"sets the base path where resources are stored. If this is the only switch you provide, everything is stored here./config-log "<path>"sets the path for logs./config-accounts "<path>"sets the path for accounts./config-extensions "<path>"sets the path for licenses./config-certificates "<path>"sets the path for certificates./config-templates "<path>"sets the path for templates./config-customize "<path>"sets the path for HTTPS customization files./config-customize-admin "<path>"sets the path for Admin GUI customization./config-customize-bin-osx "<path>"sets the path for binaries used by macOS users./config-customize-bin-windows "<path>"sets the path for binaries used by Windows users.
Examples #
Say ProVide is installed in C:\Program Files\ProVide, but space is tight and you want logs in D:\ProVide\Logs and accounts in D:\ProVide\Accounts. Start ProVide like this:
"C:\Program Files\ProVide\ProVide.exe" /config-log "D:\ProVide\Logs" /config-accounts "D:\ProVide\Accounts"
To keep ProVide installed in C:\Program Files\ProVide but store all resources in D:\ProVide, except logs, which you want in E:\Logs\ProVide:
ProVide.exe /config "D:\ProVide" /config-log "E:\Logs\ProVide"
How to supply the switches #
The method depends on how you start ProVide, either by running the .exe directly or as a Windows service.
Running the .exe manually: create a shortcut to ProVide.exe and add the switches in the shortcut’s Target box, in this form:
"<path\to\ProVide.exe>" /config… "<path\to\store>"
Running as a service: edit the registry and change the ImagePath value under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ProVideSvc to:
"<path\to\ProVide.exe>" /service /config… "<path\to\store>"
Important: move your existing data first #
Changing where ProVide stores a resource does not move existing data for you. If you point the accounts path to a new location, your already-configured accounts are not relocated, and ProVide cannot read them. The same applies to logs, customization data, and the rest. Copy or move all relevant data to the custom path before you start ProVide with the new switches.