Advertise a package using the command line

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

To advertise a package using the command line

  1. Open Command Prompt.

  2. Type:

    msiexec /j{u | m} package

    Value Description


    Advertises a product. This command-line option ignores any property values entered on the command line.


    Advertises to the current user.


    Advertises to all users of this computer.


    Specifies the name of the Windows Installer package file.


  • To open a command prompt, click Start, point to All programs, point to Accessories, and then click Command prompt.

  • If you want to install the application with elevated privileges, use the /jm command-line option.

  • Windows Installer command-line options are not case-sensitive. For more information about msiexec command-line options, see Related Topics.

Information about functional differences

  • Your server might function differently based on the version and edition of the operating system that is installed, your account permissions, and your menu settings. For more information, see Viewing Help on the Web.

See Also


Msiexec (command-line options)
Use Windows Installer from the command line