Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Active Modules -- Active Forums for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
Salaro -- Skins and more
OnyakTech
The best choice for your web site host, email hosting, and domain registration.
CrystalTech Web Hosting™
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Installer Utili...  Some Ideas
Previous Previous
 
Next Next
New Post 6/17/2005 7:42 AM
User is offline Clinton Frankland
23 posts
www.clintonfrankland.com
10th Ranked




Some Ideas 

This is a module that is near and dear to my heart!  I perform 4-5 installs per day, and I've had a working installer for for about 6-7 months now.  While I'd be embarrassed to post any of the code (scope creep has made it a tangled mess) I can share some lessons learned.

Separate the GUI and the logic: Separating the GUI and the logic has allowed me to have both a windows forms and a web application version.  When I'm at my desk, I always use the windows forms version for speed purposes.  However, when I'm in the field I can always access the web version from any PC.

Providers: I learned this one the hard way.  I currently have five providers: Authentication, File System, SQL Server, Web Service, Permissions.

The authentication provider allows me to authenticate a user against my hosting control panel.  This could be optional because not everyone will need it, but allowing for it now will attract more hosting companies to DotNetNuke.

The file system provider deletes exiting files; modifies files with connection info, user passwords, etc.; and installs the files.  The biggie here is that some installer users will want to the local file system, some may want webDav, and some will want FTP.

The SQL Server provider creates the login and database.  In my installer I allow for upgrades and fresh installs.  During a fresh install if a selected db has tables or sps, the db is dropped and recreated (after user confirmation of course).  My current provider works with my control panel to list logins and dbs, and to create the database.  However hosts can write their own providers and the installer should include a base provider to create the db locally or remotely.

The web service provider just ensures that ASP.NET is enabled and that if a sub-web is selected it's an application folder.  Again, mine is custom for my control panel, but the installer should allow for local and remote usage.

The permissions provider checks the required permissions and sets them if they are not correct.

Optional Files: This is a cool one I just added last week.  By listing optional files, the installer can place chosen modules, skins, containers, and languages in the \install folder.  This allows the user to select optional components during the install.

 

Just my two cents, hope it helps!

 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Installer Utili...  Some Ideas
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Intura Vision / Intura Enterprise
Point-of-Sale and business management applications targeted towards quick service, fast casual and delivery-based restaurant concepts.
www.intura.com
Dnaxp.Net
Dnaxp.Net offers a comprehensive base of information, resources, and support for DotNetNuke.
www.dnaxp.net
DNNMasters - modules, consulting, development
DNNMasters developers are involved in DNN development since DNN 1.0.9 and today we offer a broad range of DNN related products and services including custom development of modules, help with ing third party modules for specific needs, general DNN technical support and administrative services.
www.dnnmasters.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP