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. How do I run my SQL script from .msi ??

How do I run my SQL script from .msi ??

Scheduled Pinned Locked Moved Database
questiondatabasetools
3 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.
  • I Offline
    I Offline
    IrishSonic
    wrote on last edited by
    #1

    Hiya I have a script that I want run when installing my app. How do I do this?? Thanks.

    C 1 Reply Last reply
    0
    • I IrishSonic

      Hiya I have a script that I want run when installing my app. How do I do this?? Thanks.

      C Offline
      C Offline
      Colin Angus Mackay
      wrote on last edited by
      #2

      IrishSonic wrote: How do I do this?? Create a project in .NET that contains an custom installer action. This article from MSDN should guide you in the right direction: Walkthrough: Using a Custom Action to Create a Database During Installation[^]


      "If a man empties his purse into his head, no man can take it away from him, for an investment in knowledge pays the best interest." -- Joseph E. O'Donnell Not getting the response you want from a question asked in an online forum: How to Ask Questions the Smart Way!

      I 1 Reply Last reply
      0
      • C Colin Angus Mackay

        IrishSonic wrote: How do I do this?? Create a project in .NET that contains an custom installer action. This article from MSDN should guide you in the right direction: Walkthrough: Using a Custom Action to Create a Database During Installation[^]


        "If a man empties his purse into his head, no man can take it away from him, for an investment in knowledge pays the best interest." -- Joseph E. O'Donnell Not getting the response you want from a question asked in an online forum: How to Ask Questions the Smart Way!

        I Offline
        I Offline
        IrishSonic
        wrote on last edited by
        #3

        Colin You are a star!! Cheers.

        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