To advertise a package using the command line


Open Command Prompt


From the command window, type msiexec /j[u][m] package and then press ENTER.


u means to advertise to the current user.

m means to advertise to all users of this computer.

package is the name of the Windows Installer package file.


To open 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 option.

Windows Installer command-line switches are not case-sensitive.

For more information on the command-line options, see Related Topics.

Related Topics

Use Windows Installer from the command line

Command-line options

© 2017 Microsoft Corporation. All rights reserved. Contact Us |Terms of Use |Trademarks |Privacy & Cookies