Skip to content

PublishingAnExe

DCourtel edited this page Mar 18, 2018 · 16 revisions

Publishing an EXE file

You can publish three types of file in Wsus : EXE, MSI and MSP

Go to "Updates" -> "Create an Update…" or press CTRL+U

Creating an Update

  • Browse to the EXE file you want to publish. Eventually add additionnal files and folders, then press "Next".

Add Files and Folders

  • Fill in the "Vendor Name", "Product Name", "Title" and "Description" textbox (required). If the publisher use non-standard return codes (like "1" for success instead of "0"), declare these codes in the "Return Codes" datagridview.

General Info

  • Use the "Command Line" textbox to add command line argument to use for the installation of the package (refer to the publisher documentation for silent installation). Then clik "Next".

  • The "Installed Rules" window allow you to set rules that will be evaluated by clients computers to determine if the package is already installed.

Installed Rules

  • Choose rule from the dropdown list. These rules will be evaluted by client computers to determine if the package is already installed. You can group these rules by "And" or "Or" logical operators.
  • The most used rules are :
    • Msi Product Installed (check for the presence of an MSI code on the computer)
    • Processor Architecture (bitness of Windows installation)
    • Windows Version (Windows 7, 8, 8.1, 10, Server 2008R2, Server 2012R2…)
    • Windows Language (French, English, German…)

Installed Rules must be choose precisely. With wrong rules, packages can be installed on wrong computers and/or not installed on computers that need this package.

Once you have set you rules, click "Next".

  • The "Installable Rules" window allow you to set rules that will be evaluated by clients computers to determine if the package is Installable.

Installable Rules

  • Choose rule from the dropdown list. These rules will be evaluted by client computers to determine if the package is installable.

Same principe and caution than "Installed Rules" apply here.

Then click "Next" and "Publish".

Publishing a MSI/MSP file