Setup Wizard

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
3/8/2012 12:26:15 PM
Gravatar
Total Posts 88

Setup Wizard

Hi,

Im trying to create a Wizard to setup mojo from base.

The steps are:

1 - Login -> Default Keys on WebConfig like "Admin@admin.com" "Admin"

2- Define the database (Server, DataBaseName,User and Passwd) and write on web.config the current connection.

3- Generate a Machine Key and Write on Web.config

4- Common Site Settings - Style,Logo,etc...

but, my first problem is the empty connection because urlrewriter checks allways the connection!

is on roadmap mojo have an Wizard to Setup?

there's a way to remove this validation from urlrewriter?

thanks a lot

3/8/2012 12:33:27 PM
Gravatar
Total Posts 18439

Re: Setup Wizard

See the article Why Features Should Be Installed by FTP which also explains why we will never make a wizard or any web code designed to write to the web.config file.

3/8/2012 1:17:38 PM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: Setup Wizard

I'm pretty sure IIS will want to block programmatic reading of web.config. But if you can figure out a way around that, you might be able to read web.config and create a new web.config and user.config in a writable location (say under /Data). Then you'd need to provide instructions for someone to manually copy those files over the versions in the web root using another tool like FTP or Windows Explorer. I recommend you put every setting you can into user.config to make future upgrades easier.

Jamie

You must sign in to post in the forums. This thread is closed to new posts.