Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2004
    Posts
    1

    vb .net & mdac install

    hi,

    i'm subing for someone who is on vacation for a while, and have to send out a vb .net program for installation earlier than expected. the company uses setup factory 6.0 for its installations.

    before the program itself installs, dotnetfx.exe has to be run to install the .net framework 1.1 if it is not yet on the end users machine, and mdac_typ.exe has to be run to install MDAC, if the users machine doesn't have mdac 2.6 or later.

    i'm not well acquainted with installations or with the registry, and don't have virgin machines to test various setups, see what happens, and install/uninstall the .net framework, and the MDAC, and try again and again.

    i think i understand what i need to do but don't know how to do it in setup factory 6.0.

    i think i need to quiz the registry to find out if .net framework 1.1 has been installed, if yes don't run dotnetfx.exe, if not run it.

    with mdac, quiz the registry if any mdac was installed, if not then run mdac_typ.exe. if mdac does exist on the user machine check if the users mdac version is under 2.6. if it is run mdac_typ.exe, if not don't run it.

    i don't know which registry entries to check for this, and against which values to test those entries, and i don't know how to do this in setup factory 6.0.

    these 2 files exist in the 'misc' folder off the root directory of the proposed CD.

    so far what i have in the Actions/Before installing section is:

    Execute(%SrcDrv%\misc\dotnetfx.exe), and /q:a /c:"Install /q" as its command line argument which i was told will make a silent install of .net which is what i want.

    Execute(%SrcDrv%\misc\mdac_typ.exe), comand line arguments /c:"setup.exe /QN1" to again make it a silent install.

    i would appreciate if someone could give me the text that would be in the Actions/Before installing section to do the above, and any other comments about if i'm doing this correctly.

    thanks for your help

    charles cullen

  2. #2
    Join Date
    Apr 2001
    Location
    Haverhill, Suffolk, UK
    Posts
    360
    Not sure about DOT NET but for MDAC see the Runtime Support section of SUF6 (on left) which will auto-install the correct version of MDAC depending upon the end users operating system. If you do not have the MDAC runtime installed, then click the DOWNLOAD MORE MODULES and follow the instructions as to where to place files etc. These work very well. Others may chip in about DOT NET framework installation but what you state sounds about right.

    Rgds John

  3. #3
    SUF6NEWBIE Guest
    have a look at the thread-s in the Setup Factory 7 Beta Forum
    ..looking for .NET posts....have a read of the one which shows
    how to detect and install the .Net Redistributable...
    ( the actions syntax will not be appropriate for SUF6)
    --so change them to suit...

    make note of the switches - which include a NO reboot control..

    if silently installing .Net , you do Not want it trying to autoreboot until
    your Application has fully finished , unless that is ok by you...

    /Q:A /R:N /C:"Install.exe /Q"

    Administrative priveleges on NT based OSs is a general install condition
    for .NET (thats wot the /A switch means...) ..so if not already, must ensure
    the %IsAdmin% variable returns true
    (check the correct variable name) --going on memory here.!

    you can leave 'is installed detection' up to DOTNETFX.EXE if you wish

    you should also be able to run MDAC_TYP.EXE via /C:"DASETUP.EXE /Q /N" /Q

    but yes ..the runtime module for this is Recommend

    another thought is if in doubt if currently installed, there really is nothing 'wrong' with running both regardless..this in a way will ensure
    the correct binary file versions will be installed on the system..(after reboot)

    hope does not 'complicate' and helps a little...

    Martin
    Last edited by SUF6NEWBIE; 08-31-2004 at 12:28 PM.

Similar Threads

  1. INFO: JET and MDAC (Complete) Runtime Notes
    By Desmond in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 11-28-2003, 08:35 AM
  2. INFO: Microsoft Data Access Components 2.8 Runtime Notes
    By Desmond in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 11-28-2003, 08:20 AM
  3. HOWTO: Download and Install Files from the Web
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 10-23-2002, 01:16 PM
  4. INFO: MDAC 2.7 Runtime Support Module
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 10-17-2002, 03:55 PM
  5. HOWTO: Limit the Number of Times an Install can be Run
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 10-17-2002, 02:58 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts