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. Database & SysAdmin
  3. Database
  4. InstallShield - MSAccess

InstallShield - MSAccess

Scheduled Pinned Locked Moved Database
question
4 Posts 3 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.
  • S Offline
    S Offline
    Spiros
    wrote on last edited by
    #1

    I am using InstallShield Developer 7.04 in order to distribute my application. My application is a maintenance application based on MSAccess. Now I want to delete some rows and add some others in one table. Can that be done using InstallShield and if yes how? Thanks, Spiros Prantalos

    D 1 Reply Last reply
    0
    • S Spiros

      I am using InstallShield Developer 7.04 in order to distribute my application. My application is a maintenance application based on MSAccess. Now I want to delete some rows and add some others in one table. Can that be done using InstallShield and if yes how? Thanks, Spiros Prantalos

      D Offline
      D Offline
      David Salter
      wrote on last edited by
      #2

      I don't know if you can call ADO from Installshield script, but you could certainly create a COM object to do your maintenence and then call that from InstallShield. Dave.

      S 1 Reply Last reply
      0
      • D David Salter

        I don't know if you can call ADO from Installshield script, but you could certainly create a COM object to do your maintenence and then call that from InstallShield. Dave.

        S Offline
        S Offline
        Spiros
        wrote on last edited by
        #3

        Ok. That is great!! Assuming that I create a com object to update my database do I have to create a spcial script function in installscript that will call this component? Thank you very much. Now I can a light at the end of the tunnel Spiros Prantalos

        P 1 Reply Last reply
        0
        • S Spiros

          Ok. That is great!! Assuming that I create a com object to update my database do I have to create a spcial script function in installscript that will call this component? Thank you very much. Now I can a light at the end of the tunnel Spiros Prantalos

          P Offline
          P Offline
          Paul Riley
          wrote on last edited by
          #4

          If you're using ISD 7 (Basic MSI Project, as opposed to Standard Project) then why don't you create a custom action that runs an MSI DLL - that can do pretty much anything. You just need a DLL that exports a function in the format __declspec(dllexport) UINT APIENTRY MyFunction(MSIHANDLE hMSI) Inside that you can call anything you could normally call from C++, including the Windows Installer API (if you need to pass any properties in). Paul

          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