Welcome to Rainbow Portal Community Sign in | Join | Help

Rahul's Notes

Rainbow Web Installer v.1.0 As Promised
I promised the Developer team that I'd get one thing done on the Rainbow code base. I have made a simple and easy to use Rainbow Web Installer which can be used by people to
configure the web.config BEFORE the Rainbow DB Installer (The current Installer that populates the database after web.config has the right ConnectionString)

Here's are the screens. Click on them to see upclose. Yes, it looks similar to CS's installer, because I observed what they were doing before I started working on this.




Although the "Installer" Directory I have can be put on any current Rainbow build (1.1 and 2.0), I will commit the code as /Rainbow/Installer/ to DevInt tomorrow.

If anyone has any feedback , comment on this, or email me.

Published giovedì 7 settembre 2006 20.00 by anantatman

Comments

# re: Rainbow Web Installer v.1.0 As Promised @ giovedì 7 settembre 2006 20.13

Great!
Idea: instead of explaining users how to disable the install have a checkbox that users can check to automatically disable the install.

Yannick Smits

# re: Rainbow Web Installer v.1.0 As Promised @ giovedì 7 settembre 2006 20.31

I agree that would be cool. I'll have to store that state outside of the Default.aspx in another file, but it's doable.

anantatman

# re: Rainbow Web Installer v.1.0 As Promised @ sabato 9 settembre 2006 1.23

I get this error from rev 568 when trying to use the installer:
Server Error in '/Rainbow2.0-Trunk' Application.
Format of the initialization string does not conform to specification starting at index 0.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentException: Format of the initialization string does not conform to specification starting at index 0.

Source Error:

Line 291: get
Line 292: {
Line 293: SqlConnection myConnection = new SqlConnection(ConnectionString);
Line 294: return myConnection;
Line 295: }


Source File: D:\Homepages\Rainbow2\devint_trunk_568\Projects\Rainbow.Framework.Core\Settings\Config.cs    Line: 293

Yannick Smits

# re: Rainbow Web Installer v.1.0 As Promised @ sabato 9 settembre 2006 2.54

Only doesnt work for the new Rainbow 2.0 Alpha version.  It works for Rainbow 2006 and an for RainbowDirect on the 2.0 platform.  Easy fix, has to write to the 4 connection strings for Rainbow 2.0 Alpha instead of the one for all the other versions of Rainbow.  I believe Rahul is working on the fix.

ramseur

# re: Rainbow Web Installer v.1.0 As Promised @ sabato 9 settembre 2006 3.40

Thanks Yannick. I am indeed looking into it.

anantatman

# re: Rainbow Web Installer v.1.0 As Promised @ sabato 9 settembre 2006 4.22

http://weblogs.asp.net/scottgu/archive/2005/12/02/432077.aspx

Read this post and remove that line from the <configuration> node.

It's breaking my code, as in i cannot get
configuration/appSettings collection with .SelectSingleNode if I keep that line.

Revision 572 should have working code.

anantatman

# re: Rainbow Web Installer v.1.0 As Promised @ sabato 9 settembre 2006 20.30

Great! I'll try to test that when I get a chance. Another idea: put the code in the setup directory. Having a dir called "installer" and one called "setup" is only confusing.

Yannick Smits

# re: Rainbow Web Installer v.1.0 As Promised @ lunedì 11 settembre 2006 22.48

Great work!
One small thing.
The agreement checkbox is too far on right on wide screens (try it on a 19" display).
Probably the whole installer screen can have a width also...
Manu

manudea

Anonymous comments are disabled
 
Powered by Community Server (Personal Edition), by Telligent Systems