win_msi - Installs and uninstalls Windows MSI files

Author:Matt Martz

Synopsis

New in version 1.7.

Installs or uninstalls a Windows MSI file that is already located on the target server

Options

parameter required default choices comments
creates no
    Path to a file created by installing the MSI to prevent from attempting to reinstall the package on every run
    path yes
      File system path to the MSI file to install
      state no present
      • present
      • absent
      Whether the MSI file should be installed or uninstalled

      Examples


      # Install an MSI file
      - win_msi: path=C:\\7z920-x64.msi
      
      # Uninstall an MSI file
      - win_msi: path=C:\\7z920-x64.msi state=absent
      

      Table Of Contents

      Previous topic

      win_group - Add and remove local groups

      Next topic

      win_ping - A windows version of the classic ping module.