THESE FORUMS ARE NOW FROZEN
Please choose "Forums" from the Main menu of www.entityspaces.net to get to our new forums.

Update connectionString in Custom Action Installer

rated by 0 users
This post has 0 Replies | 1 Follower

Top 50 Contributor
Posts 41
mfreidge Posted: 11-08-2007 4:49 PM

I am writing   Installer class that will be called as custom action from Web Setup Project. I want to modify "Initial Catalog" and "Data Source"  based on user provided values.
Has anyone done similar task?

Is it a good idea to use esConfigSettings class and  ConfigurationSection.Save function?
Or it is simpler  to read web.config as XML DOM, replace connectionString as string and Save  file?

Michael Freidgeim Blog: http://geekswithblogs.net/mnf/
Page 1 of 1 (1 items) | RSS
Copyright © 2005 - 2009, EntitySpaces, LLC