Migrating Windows Installed version to a Stand-Alone Install

Posted:
Thu Mar 31, 2011 12:55 pm
by daveid
I currently have a nice working standard installation of Subsonic on my Windows machine. However, my C drive is dying (bad blocks, old age) and I need to move everything off of it. My main Windows drive is actually F, and I'd like to have Subsonic there.
Now, I understand how to install the Stand-Alone version... that's not the question. My question is this:
How can I migrate to a standalone installation, and retain my users/settings? Is there anyway to simply change the location of the "subsonic" folder without completely redoing my setup?
Thanks.

Posted:
Thu Mar 31, 2011 1:18 pm
by bushman4
Sure.
- Stop the Subsonic Service.
- Copy the c:\Subsonic directory to the new location. I would recommend no spaces (but that is only because I don't know absolutely how to use a path with spaces, and don't want you to be the guinea pig). Let's say it is "f:\subsonic"
- Rename the old directory (to make sure that this works correctly... it can be deleted once you know this worked)
- Navigate to "%ProgramFiles%\Subsonic"
- Open "Subsonic-service.exe.vmoptions" in a text editor (notepad or something similar)
- Add a line to that file that looks like this: -Dsubsonic.home=f:\subsonic
- Save the file.
- Restart the service.
I believe that the proper way to use a path with spaces in it is to add the following line to the file, quotes included, but I have not tested it:
"-Dsubsonic.home=f:\Path With Spaces"
HTH,

Posted:
Thu Mar 31, 2011 1:35 pm
by daveid
Thank you, I will give this a shot after work today.
EDIT - It worked perfectly, thank you so much. I had looked in that file, but assumed the variable would have been there in the first place. Now I just have to figure out how to get the tiny bits that Windows installed to this drive (which allow the system to boot) onto my actual primary drive (f). That way I can get this last failing IDE drive out of my system for good. But, that is for another day.