Results 1 to 2 of 2

Thread: VB Installer and MDAC/DCOM

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2000
    Location
    Auburn Hills, MI
    Posts
    6

    Exclamation

    Anyone:

    I am using Visual Basic Installer to create my installation package (.msi). However, I need to check 3 things and run some programs outside the installer before installing the main application. It goes as follows:

    1) check for mdac version
    2) install correct/newer version of mdac (if needed)
    3) check for dcom
    4) install correct/newer version of dcom (if needed)
    5) check for Microsof Windows Installer (if present or version)
    6) install MS Installer.

    I've searched the MS kb and came up with a few things.
    For starters, I have the wrappersetup.exe which will check and install the mdac and dcom, but I have no idea how to get Visual Basic Installer to do this. Then there is the issue with the MS Windows Installer to run the .msi package.

    HELP!!!!!

    Thanks,

    Roy H.
    "Make something foolproof, and nature will invent a better fool."

  2. #2
    New Member
    Join Date
    Nov 2000
    Posts
    1

    Cool

    I have succesfully done this task using the wrapper code from Microsoft.

    You have to recompile their code if you want to customise a 'Setup.exe' file.

    Wrapper.exe in its current form accepts a command line that will install your .MSI windows installer archive. It will check for DCOM and MDAC automatically for you.

    By default MDAC and DCOM must be in the same directory as the wrapper.exe file. You must also create a Win9x and WinNT directory with the appropriate versions of the windows installer in each. These files must both have the name InstMSI.exe

    You basically have 2 options. Write a batch file (.bat) that will execute Wrapper.exe /i MyMsi.MSI

    or

    Recompile the Include code that MicroSoft have provided. You must have C++ to do this.

    Hope this helps!

Posting Permissions

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



Click Here to Expand Forum to Full Width