locked
MSI experts RRS feed

  • Question

  • Hi,

    I'm looking for experts in msi technology ...
    I don't find any forum just about this product and I have to deploy an application sold with a msi which installs fine when using an interactive session and hangs using an schedule task without interactive session.

    Do you know where I can ask my question ?

    Are you interested ?

    Thank you for your help.

    Ludovic.

    Tuesday, September 6, 2016 1:54 PM

All replies

  • What is your question? Usually you need to check the forums of the product you are trying to install or search for deployment guides from the software maker. Any product that uses MSI technology should follow the same standards, so you should be able to use the following options.

    msiexec /Option <Required Parameter> [Optional Parameter]
    Install Options
     </package | /i> <Product.msi>
      Installs or configures a product
     /a <Product.msi>
      Administrative install - Installs a product on the network
     /j<u|m> <Product.msi> [/t <Transform List>] [/g <Language ID>]
      Advertises a product - m to all users, u to current user
     </uninstall | /x> <Product.msi | ProductCode>
      Uninstalls the product
    Display Options
     /quiet
      Quiet mode, no user interaction
     /passive
      Unattended mode - progress bar only
     /q[n|b|r|f]
      Sets user interface level
      n - No UI
      b - Basic UI
      r - Reduced UI
      f - Full UI (default)
     /help
      Help information
    Restart Options
     /norestart
      Do not restart after the installation is complete
     /promptrestart
      Prompts the user for restart if necessary
     /forcerestart
      Always restart the computer after installation
    Logging Options
     /l[i|w|e|a|r|u|c|m|o|p|v|x|+|!|*] <LogFile>
      i - Status messages
      w - Nonfatal warnings
      e - All error messages
      a - Start up of actions
      r - Action-specific records
      u - User requests
      c - Initial UI parameters
      m - Out-of-memory or fatal exit information
      o - Out-of-disk-space messages
      p - Terminal properties
      v - Verbose output
      x - Extra debugging information
      + - Append to existing log file
      ! - Flush each line to the log
      * - Log all information, except for v and x options
     /log <LogFile>
      Equivalent of /l* <LogFile>
    Update Options
     /update <Update1.msp>[;Update2.msp]
      Applies update(s)
     /uninstall <PatchCodeGuid>[;Update2.msp] /package <Product.msi | ProductCode>
      Remove update(s) for a product
    Repair Options
     /f[p|e|c|m|s|o|d|a|u|v] <Product.msi | ProductCode>
      Repairs a product
      p - only if file is missing
      o - if file is missing or an older version is installed (default)
      e - if file is missing or an equal or older version is installed
      d - if file is missing or a different version is installed
      c - if file is missing or checksum does not match the calculated value
      a - forces all files to be reinstalled
      u - all required user-specific registry entries (default)
      m - all required computer-specific registry entries (default)
      s - all existing shortcuts (default)
      v - runs from source and recaches local package
    Setting Public Properties
     [PROPERTY=PropertyValue]


    If this post is helpful please vote it as Helpful or click Mark for answer.

    Tuesday, September 6, 2016 3:33 PM
  • The information above is very useful for kicking off an MSI, specifically if you need to do it silently. The first thing I do with an MSI is extract it with 7zip. From there, it often times extracts a setup.exe file which I run typically with /s. Otherwise, I just make a batch file for the MSI, such as:

    msiexec.exe /quiet /i "\path to the folder\filename.msi" (two \\ in front)
    and I usually add Reboot=ReallySuppress at the end to keep it from rebooting during imaging.

    Wednesday, September 7, 2016 2:23 PM
  • Hi,

    My problem is : How to explain support that their developers team made a bad msi !

    They don't ear me ...

    I will try there : http://www.itninja.com/

    Ludovic.

    Monday, September 12, 2016 9:54 AM
  • For what it's worth, sometimes you can use process monitor to watch an installer, and you can see the unattended commandline syntax it's passing to itself? I know its a long shot, but when I get desparate, I can sometimes use that to get clues as to why the installer works one way and not another.

    However, at the end of the day, it's the vendor's application, and they should know how to do either a silent install or at the very least an unattended install. If they're unable or unwilling to assist, I would recomend doing whaterver you can do to name, shame, and deprive this company of business.


    • Edited by MDT Guy Monday, September 12, 2016 3:29 PM
    Monday, September 12, 2016 3:28 PM