All source code in .Net Ask a .Net Pro Discussion Forum Categories All jobs in .Net
NET,MDAC,MSDE,code,evolution,from,original,po
   Code/Articles » |  Newest/Best » |  Community » |  Jobs » |  Other » |  Goto » | 
CategoriesSearch Newest CodeCoding ContestCode of the DayAsk A ProJobsUpload
.Net Stats

 Code: 655,633. lines
 Jobs: 796. postings

 How to support the site

 
Sponsored by:
Quick Search for:  in language:    
You are in:
 
Login





Latest postings for .Net.
Click here to see a screenshot of this code!TeamVision Revisted 3.0
By ArkitechEBC on 11/16

(Screen Shot)

Click here to see a screenshot of this code!Simplest Explorer Treeview
By M1K3 on 11/16

(Screen Shot)

Click here to see a screenshot of this code!Lite Brite Application
By Brian McCumber on 11/11

(Screen Shot)

Click here to see a screenshot of this code!CAR DEALER/ CAR SALE
By YESSOUFOU ABDEL RAOUF on 11/10

(Screen Shot)

Click here to see a screenshot of this code!CPU usage tester / benchmark
By Timo Boehme on 11/16

(Screen Shot)

Arrays functions
By Jerome Scott II on 11/15


C# regex example
By Jerome Scott II on 11/15


C# list processes
By Jerome Scott II on 11/15


Click here to see a screenshot of this code!Speak and Spell
By Brian McCumber on 10/31

(Screen Shot)

Click here to see a screenshot of this code!Scratch Pad
By Brian McCumber on 11/15

(Screen Shot)

Click here to see a screenshot of this code!Alarm Clock v8
By Brian McCumber on 10/25

(Screen Shot)

ReadFile
By Does It Even Matter? on 11/14


Insert SQL Writer
By dojsys HEK on 11/13


Function to write SQL Statement
By dojsys HEK on 11/13


Click here to see a screenshot of this code!Save, Retrieve Image from Database (MSSQL)
By brandon teoh on 11/12

(Screen Shot)

Click here to see a screenshot of this code!Pic View Application
By Brian McCumber on 11/11

(Screen Shot)

Secure LAN Communicator
By ASAD SAEED CHOHAN on 11/12


Click here to see a screenshot of this code!Send Mail For CMD With System.Net.Mail
By Jimmy_to on 11/9

(Screen Shot)

sildbconn
By elumalai on 11/12


Tip
By Kaland on 11/11


Click here to see a screenshot of this code!Mail_Text Message
By Mike_ Murphy on 11/11

(Screen Shot)

Click here to see a screenshot of this code!Reaction!
By Brian McCumber on 10/25

(Screen Shot)

Alarm Clock
By bruno_RAM on 11/11


Click here to see a screenshot of this code!Instructions and procedures word or adobe to any Descktop picture icons
By ROD LEWIS on 11/10

(Screen Shot)

Dif Years Between Brothers
By Fvg@ on 11/10


Ejercicio Funcion Now & If
By Fvg@ on 11/10


Excel and VB converting (Automation)
By Kenny28 on 11/9


Click here to see a screenshot of this code!Security Camera
By Mohandes Zalatan on 11/5

(Screen Shot)

Image Resizer
By Ferhat Çetin Akçalý ; on 11/5


Simple notepad by RAJ
By RITU RAJ on 11/4


Click here to put this ticker on your site!


Add this ticker to your desktop!


Daily Code Email
To join the 'Code of the Day' Mailing List click here!



 
 
   

Infrastructure Setup (IE6, MDAC, Windows Installer, .NET Framework, MSDE)

Print
Email
 
winzip icon
Submitted on: 1/30/2005 1:31:17 AM
By: MstrControl  
Level: Advanced
User Rating: By 1 Users
Compatibility:C#, VB.NET, ASP.NET, C++.NET

Users have accessed this code 4997 times.
 
(About the author)
 
     This code is an evolution from the original code posted at "The Code Project" web site by Kevin Moore (http://www.codeproject.com/managedcpp/dotnetsetup.asp). It is an instalation program that verifies if the target computer has all the apropriate infrastructure to run a .NET application. I've changed a few things, including a better version checking about MDAC and IE, as well I've added support to select wich components to install (once not all aplications need MDAC and MSDE for instance).

 
Can't Copy and Paste this?
Click here for a copy-and-paste friendly version of this code!

    //**************************************
    //     
    // for :Infrastructure Setup (IE6, MDAC,
    //     Windows Installer, .NET Framework, MSDE)
    //     
    //**************************************
    //     
    This program refers to a settings.ini file where 
    all the information regarding what install and 
    where to find are stored.
    There are two main sections in the INI file: 
    [Bootstrap] and [WhatInstall].
    [Bootstrap] gathers the information about the 
    location of the setup files for the 
    infrastrucutre components. It has the following 
    keys:
    MSI : (mandatory) Name of the MSI file 
    (.NET application) that will be installed 
    after the infrastructure.
    ProductName : (optional) The name of your product
    CaptionText : (optional) The title of all the 
    message box that will be displayed
    ErrorCaptionText : (optional) The title of the 
    ERROR message boxes.
    FxInstallerPath : (optional) Relative path of 
    the DOTNETFX.EXE file (assumes the path of 
    the SETUP.EXE file)
    .NetVersion : (mandatory) Version of the .NET 
    framework required (can be v1.0 or v1.1)
    IEInstallerPath : (optional) Relative path of 
    the IE6SETUP.EXE file (assumes the path of 
    the SETUP.EXE file)
    MSIInstallerPath : * (optional) Relative path of 
    the Redistributable Windows Installer 
    (assumes the path of the SETUP.EXE file)
    MDACInstallerPath : (optional) Relative path of 
    the MDAC_TYP.EXE file (assumes the path 
    of the SETUP.EXE file)
    MDACVersion : (mandatory, if installing -- see 
    WhatInstall) Version of the MDAC to be 
    checked in the format MAJOR.MINOR
    MSDEInstallerPath : (mandatory, if installing -- 
    see WhatInstall) Relative path of the 
    SETUP.EXE file that will install the MSDE 
    (assumes the path of the SETUP.EXE file)
    MSDEParams : (optional) parameters to be passed 
    to the MSDE setup (see MSDE documentation 
    for greater details)
    (*) The Windows Installer redistributable 
    installation file varies the name conform the 
    plataform (and version). For MSI 2.0 the names 
    are INSTMSIA.EXE for Win9x, INSTMSIW.EXE for Win 
    NT, 2000 and XP. I've included the new version 
    (3.0) of MSI that is WindowsInstaller-KB884016-v2-x86.exe.
    [WhatInstall] configures what is necessary to 
    the current installation. It has the following 
    keys:
    IE6 : Indicates that IE6 is necessary to this 
    application. (1 or 0)
    MDAC : MDAC is necessary (1 or 0)
    MSDE : MSDE is necessary (1 or 0)
    .NETFramework : .NET Framework is necessary (1 or 0)
    WindowsInstaller : Windows Installer is necessary (1 or 0)
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.

Virus note:All files are scanned once-a-day by Planet Source Code for viruses,but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:
1)Re-scan downloaded files using your personal virus checker before using it.
2)NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
1) You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.   
2) You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
3) You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
4) You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 7 submission(s) by this author

 

 
 Report Bad Submission
Use this form to notify us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:
 
Your Vote!

What do you think of this code(in the Advanced category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor See Voting Log
 
Other User Comments

 There are no comments on this submission.
 
Add Your Feedback!
Note:Not only will your feedback be posted, but an email will be sent to the code's author from the email account you registered on the site, so you can correspond directly.

NOTICE: The author of this code has been kind enough to share it with you.  If you have a criticism, please state it politely or it will be deleted.

For feedback not related to this particular code, please click here.
 
To post feedback, first please login.


 

Categories | Articles and Tutorials | Advanced Search | Recommended Reading | Upload | Newest Code | Code of the Month | Code of the Day | All Time Hall of Fame | Coding Contest | Search for a job | Post a Job | Ask a Pro Discussion Forum | Live Chat | Games | Feedback | Customize | .Net Home | Site Home | Other Sites | Open Letter from Moderators | About the Site | Feedback | Link to the Site | Awards | Advertising | Privacy

Copyright© 1997-2009 by Exhedra Solutions, Inc. All Rights Reserved.  By using this site you agree to its Terms and Conditions.   Planet Source Code (tm) and the phrase "Dream It. Code It" (tm) are trademarks of Exhedra Solutions, Inc.