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. .NET (Core and Framework)
  4. msi commandline how to update?

msi commandline how to update?

Scheduled Pinned Locked Moved .NET (Core and Framework)
questionhelptutorialannouncement
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.
  • N Offline
    N Offline
    neodeaths
    wrote on last edited by
    #1

    hi, i am trying to update my application while using my .msi installation file through command line. my question is how do i use my .msi file to reinstall the application? through command line? i tried msiexec.exe with /p and /update and /i already but it shows me error that the patch package is not valid please help.

    L 1 Reply Last reply
    0
    • N neodeaths

      hi, i am trying to update my application while using my .msi installation file through command line. my question is how do i use my .msi file to reinstall the application? through command line? i tried msiexec.exe with /p and /update and /i already but it shows me error that the patch package is not valid please help.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      If your patch files are not valid then there is not much anyone can help with. You could try reinstalling the complete package with msiexec /f a as described in http://technet.microsoft.com/en-gb/library/cc759262%28v=ws.10%29.aspx[^].

      N 1 Reply Last reply
      0
      • L Lost User

        If your patch files are not valid then there is not much anyone can help with. You could try reinstalling the complete package with msiexec /f a as described in http://technet.microsoft.com/en-gb/library/cc759262%28v=ws.10%29.aspx[^].

        N Offline
        N Offline
        neodeaths
        wrote on last edited by
        #3

        hi, thanks for the reply. i think i found out why. originally i was trying to distinguish my application installer so that if a higher version comes the major update can take place. but i dont think the default msi installer can support that. i am gonna try wix or install shield.

        S 1 Reply Last reply
        0
        • N neodeaths

          hi, thanks for the reply. i think i found out why. originally i was trying to distinguish my application installer so that if a higher version comes the major update can take place. but i dont think the default msi installer can support that. i am gonna try wix or install shield.

          S Offline
          S Offline
          Slalom Zhang
          wrote on last edited by
          #4

          I guess a custom action can handle your requirement.

          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