Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. deploying an application that uses jet 4.0 for data access

deploying an application that uses jet 4.0 for data access

Scheduled Pinned Locked Moved C#
csharpdatabasedotnetquestionworkspace
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    blakeb_1
    wrote on last edited by
    #1

    Hello, I want to create a setup program to deploy my application, but I'm a little confused on what I need to install on the user's computer in order for my application to work. I have implemented the boot strap sample from Microsoft's website in order to install the .Net framework, but I don't know for sure what to do to make sure that my application will be able to read data from an Access database. At first I thought that I could just use a MDAC merge module in my .msi project, but then I read that MDAC doesn't include Microsoft Jet, which is what I am using to access the database. So, should I use a JET merge module in my project instead? Or will one of the pre-existing merge modules that ship with .Net work? I saw a database_access.msm and a database_access_enu.msm already included with .Net. Would one of these merge modules do what I need? I'll take any suggestions. Thanks! Blake

    H 1 Reply Last reply
    0
    • B blakeb_1

      Hello, I want to create a setup program to deploy my application, but I'm a little confused on what I need to install on the user's computer in order for my application to work. I have implemented the boot strap sample from Microsoft's website in order to install the .Net framework, but I don't know for sure what to do to make sure that my application will be able to read data from an Access database. At first I thought that I could just use a MDAC merge module in my .msi project, but then I read that MDAC doesn't include Microsoft Jet, which is what I am using to access the database. So, should I use a JET merge module in my project instead? Or will one of the pre-existing merge modules that ship with .Net work? I saw a database_access.msm and a database_access_enu.msm already included with .Net. Would one of these merge modules do what I need? I'll take any suggestions. Thanks! Blake

      H Offline
      H Offline
      Heath Stewart
      wrote on last edited by
      #2

      Those assemblies are for the Crystal Reports .NET runtime. You can make your own merge module that just runs the installation (there's documentation included with the Jet download that details the setup switches) as a custom action, but VS.NET's MSI project designer doesn't give you very much flexibility. I did create one for Jet 3.5 a while back which is available on InstallSite at http://www.installsite.org/pages/en/msi/msm.htm[^]. The page also states that InstallShield created a Jet 4.0 MSM and that you can download it from their web site.

      -----BEGIN GEEK CODE BLOCK----- Version: 3.21 GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++ -----END GEEK CODE BLOCK-----

      B 1 Reply Last reply
      0
      • H Heath Stewart

        Those assemblies are for the Crystal Reports .NET runtime. You can make your own merge module that just runs the installation (there's documentation included with the Jet download that details the setup switches) as a custom action, but VS.NET's MSI project designer doesn't give you very much flexibility. I did create one for Jet 3.5 a while back which is available on InstallSite at http://www.installsite.org/pages/en/msi/msm.htm[^]. The page also states that InstallShield created a Jet 4.0 MSM and that you can download it from their web site.

        -----BEGIN GEEK CODE BLOCK----- Version: 3.21 GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++ -----END GEEK CODE BLOCK-----

        B Offline
        B Offline
        blakeb_1
        wrote on last edited by
        #3

        Thanks for the reply. I'm still a little confused though. Here's a little more information. My program needs to be able to open an access database and read data from it. The connection string that I am using for the dataconnection is "@"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=EngSpanGlossary.mdb". I don't really understand how everything works, but I assume that this means I need the Microsoft Jet OLEDB 4.0 to be installed on the computer for my program to work. So, will downloading the merge module from installshield and adding it to my setup project be sufficient for my application to run on other computers? Do I need the MDAC at all? Thanks so much for your help. Blake

        H 1 Reply Last reply
        0
        • B blakeb_1

          Thanks for the reply. I'm still a little confused though. Here's a little more information. My program needs to be able to open an access database and read data from it. The connection string that I am using for the dataconnection is "@"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=EngSpanGlossary.mdb". I don't really understand how everything works, but I assume that this means I need the Microsoft Jet OLEDB 4.0 to be installed on the computer for my program to work. So, will downloading the merge module from installshield and adding it to my setup project be sufficient for my application to run on other computers? Do I need the MDAC at all? Thanks so much for your help. Blake

          H Offline
          H Offline
          Heath Stewart
          wrote on last edited by
          #4

          Yes, .NET requires MDAC 2.6 or higher for ADO.NET (2.7 recommended). What you're using is the OLE DB driver for Jet databases, so OLE DB (part of ADO) is still required. Just include the Jet MSM and the MDAC MSM (mdac27refresh is good) in the setup project and you're good to go. It will prompt for a redirection target, so just specify the [SystemFolder] (\windows\system32).

          -----BEGIN GEEK CODE BLOCK----- Version: 3.21 GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++ -----END GEEK CODE BLOCK-----

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups