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. Visual Basic
  4. Run msi thru bat file...

Run msi thru bat file...

Scheduled Pinned Locked Moved Visual Basic
question
4 Posts 4 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.
  • P Offline
    P Offline
    p_1960
    wrote on last edited by
    #1

    Hi, May i know how can i invoke msi thru a batch file....

    R D N 3 Replies Last reply
    0
    • P p_1960

      Hi, May i know how can i invoke msi thru a batch file....

      R Offline
      R Offline
      Ravi Kumar Tyagi
      wrote on last edited by
      #2

      Edit the bat file with following command msiexec /i "FileName.bat"

      1 Reply Last reply
      0
      • P p_1960

        Hi, May i know how can i invoke msi thru a batch file....

        D Offline
        D Offline
        Dave Kreskowiak
        wrote on last edited by
        #3

        The general command line is for an unattended install with a minimum GUI:

        msiexec /i _installername.msi_ /qb
        

        If you need to add a Transform file:

        msiexec /i _installername.msi_ TRANSFORMS=_transformname.mst_ /qb
        

        All the available options for MSIEXEC can be found by just typing MSIEXEC into a Start/Run box.

        A guide to posting questions on CodeProject[^]
        Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
             2006, 2007, 2008

        1 Reply Last reply
        0
        • P p_1960

          Hi, May i know how can i invoke msi thru a batch file....

          N Offline
          N Offline
          nlarson11
          wrote on last edited by
          #4

          You can run any windows.exe from dos by putting the word 'Start' infront of it. start myfile.msi or start notepad.exe or start http://www.yahoo.com etc

          'Never argue with an idiot; they'll drag you down to their level and beat you with experience.' ~ anonymous 'Life's real failure is when you do not realize how close you were to success when you gave up.' ~ anonymous

          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