SoftPro Select has the option to create a development environment using non-production registry entries for new code. This registry key and its children can be deleted and recreated as needed.
If development efforts have made a mess out of registry by not uninstalling packages correctly or polluting registry with crap, you can use the procedure below to delete the old experimental repository and create the new one. The process the tool “sphive.exe
” uses is to copy all the information from the production repository to the new registry hive.
All of this information assumes that everything has been installed into the default installation folders. It also assumes you have installed the SoftPro Select SDK.
Be aware that if you delete the wrong registry key, you can make your machine unbootable. If you have any doubts about what you are doing, do not perform this activity!
- Delete the old development hive.
- Start the “
regedit.exe
” tool (Windows Registry Editor) as administrator. - Navigate to “
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\SoftPro\Select
“ - Right-click on the experimental hive (for instance, “
4.3Exp
“) and delete the key and its subkeys. - Close “
regedit.exe
“
- Start the “
- Create the new development hive.
- Start a command line shell.
- Change directories to “
C:\Program Files (x86)\SoftPro\Select SDK\Tools
“. - Enter the command “
sphive.exe /rootsuffix:Exp
” and press enter. - If successful, the tool will respond with “Experimental hive created successfully”.