Red Gate forums :: View topic - How do I change root folder of deployed sites?
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
Deployment Manager
Deployment Manager forum

How do I change root folder of deployed sites?

Search in Deployment Manager forum
Post new topic   Reply to topic
Jump to:  
Author Message
jakenuts



Joined: 13 Oct 2009
Posts: 8

PostPosted: Wed Sep 18, 2013 12:28 pm    Post subject: How do I change root folder of deployed sites? Reply with quote

I would like to move the deployment folder but keep the automatic folder naming & such for deployed sites. How do I tell DM to use a new folder?
Back to top
View user's profile Send private message
Mike Upton



Joined: 11 May 2011
Posts: 135
Location: Red Gate

PostPosted: Thu Sep 19, 2013 12:18 pm    Post subject: Reply with quote

The deployment folder is set in the registry (on the agent machine). The registry key is HKEY_LOCAL_MACHINE\SOFTWARE\Red Gate\Deployment Manager, and the root deployment path is stored in the string value Agent.Deployment.ApplicationDirectory
_________________
Mike Upton

Software Engineer
Red Gate Software Ltd.
Back to top
View user's profile Send private message
jakenuts



Joined: 13 Oct 2009
Posts: 8

PostPosted: Thu Sep 19, 2013 5:39 pm    Post subject: Reply with quote

Thanks!
Back to top
View user's profile Send private message
jakenuts



Joined: 13 Oct 2009
Posts: 8

PostPosted: Thu Sep 19, 2013 5:41 pm    Post subject: Reply with quote

Thanks!
Back to top
View user's profile Send private message
vidomia



Joined: 24 Sep 2013
Posts: 1
Location: France

PostPosted: Tue Sep 24, 2013 2:09 am    Post subject: Re: How do I change root folder of deployed sites? Reply with quote

jakenuts wrote:
I would like to move the deployment folder but keep the automatic folder naming & such for deployed sites. How do I tell DM to use a new folder?


You could try setting an env variable

RedGatePackageDirectoryPath :
c:\www\$(RedGatePackageName)\$(RedGatePackageVersion)\
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group