Part 2: Windows Intune Software Publisher
To specify software detection rules
- On the Detection rules page, select Detect whether the software is installed by using the
following rules (recommended).
Important
Although the option Use the default
detection rules appears first on this page, we do not
recommend that you use it, as it will automatically overwrite any previously
installed versions or customizations of this software that may already exist
on a targeted computer.
Instead, we strongly recommend that you select the second
option, Detect whether the software is installed by using the
following rules (recommended), which is preselected.
- On the Add Rule list, select one or more detection
rule types. The detection rule types are as follows:
- File exists
- MSI product code exists
- Registry key exists
You can create multiple detection
rules. For example, you can create a File exists
rule to search for an existing file in one file path, and then create another File exists rule to search for an existing file
in a different file path. You can also create multiple detection rules of
different types. For example, you can add a Registry
key exists rule to the previous search criteria. In this case,
Windows Intune determines whether the file exists. If it does exist, the
software is considered to be detected. If it does not exist,
Windows Intune next examines whether the registry key exists.
To detect software by checking whether a file
exists
- On the Add Rule list, select the File exists check box, and then click Add.
- In the Specify file path box, complete the file
path including the file name that you want Windows Intune to find. To
change the starting point to %SystemDrive%, click the %ProgramFiles% list, and then click %SystemDrive%.
- If you select %ProgramFiles% as the file path starting
point, Windows Intune searches for the file in both Program Files\< file path> and Program Files (x86)\ <file path>, where <file path> is the subfolder\file path that
you type in the box.
- If you select %SystemDrive% as the file path starting
point, Windows Intune searches for the file starting at the root of
the computer’s system drive (this is usually drive C).
Examples:
|
Specified path
|
Search action
|
|
Program Files\Microsoft
Silverlight\Silverlight.Configuration.exe
|
Searches for Silverlight.Configuration.exe in the Program
Files\Microsoft Silverlight and Program
Files X86\Microsoft Silverlight folders and subfolders.
|
|
%SystemDrive%\Silverlight.Configuration.exe
|
Searches for Silverlight.Configuration.exe
throughout the whole system drive.
|
|
%SystemDrive%\DevTools\Silverlight.Configuration.exe
|
Searches for Silverlight.Configuration.exe
on the system drive, in the \DevTools folder and
subfolders.
|
To detect software by checking whether a Windows
Installer (.msi) file exists
- On the Add Rule list, select the MSI product code exists check box, and then
click Add.
- In the Choose an MSI file box, click Browse to identify the name and location of
a Windows Installer (.msi) file.
To detect software by checking whether a registry
key exists
- On the Add Rule list, select the Registry key exists check box, and then
click Add.
- In the Specify registry key path box, complete the
registry key name that starts with HKEY_LOCAL_MACHINE\.
Windows Intune checks both
the 32-bit and 64-bit versions of the submitted registry path. If the registry
key is found in either version, the software is considered to be detected.
Note
To remove a rule, click the X
that is displayed to the right of the rule.
You can add command-line arguments to the software
deployment package. See the software documentation for valid command-line arguments.
If you are uploading software that uses an executable setup
file (.exe), remember to use any required command-line parameter (such as /q), to force the software to install silently
(without user intervention).
If you are uploading software that uses a Windows Installer
setup file (.msi) or Windows Installer patch (.msp), you may need to use
command-line arguments in Name=Value pairs (such as TRANSFORMS=custom_transform.mst).
Important
Do not use switched
parameters (such as /q) when uploading
software with a Windows Installer setup file (.msi) or Windows Installer
patch (.msp). These arguments will cause the application installation to fail
on the targeted computers.
To add command-line arguments
- On the Command line arguments page, click Yes.
- In the Command line arguments box, type the
command-line arguments.
By default, the Windows Intune Software Publisher uses
industry-standard return codes to report a failed or successful installation of
a software package. These return codes work with most industry-standard,
off-the-shelf software. The supplied return codes are:
|
Return code
|
Interpretation
|
|
0
|
Success
|
|
3010
|
Success with restart
|
Any return code that is not listed is considered a failure.
Some software, especially custom line-of-business
applications, uses nonstandard interpretations for return codes. In this case,
you can supply your own return code interpretations.

To specify how return codes are interpreted
- On the Return codes page, click Yes.
- On the Add return code list, select the return
code type on the list by selecting its check box, and then click Add.
The return code types are Success and Success with
restart. You can add both types.
- Type the return codes into
the Return code boxes.
Note
You can edit the default return codes in the provided Return
code boxes, instead of or in addition to adding new return
codes.
To remove a rule, click the X
that is displayed to the right of the rule.
After you have entered all of the update information into
the Windows Intune Software Publisher, you can review your selections and
optionally modify them before you start the upload.
To review the software specifications and upload
the software
- On the Summary page, review the software settings
that you specified. You can scroll down to view the complete summary.
- To change any setting,
click the appropriate page in the right pane and then edit the selections.
- When you are satisfied
with the software specifications, click Upload.
The Upload
page displays the status of the software as it uploads to Windows Intune.
Note
Uploaded software is stored in the Windows Intune
Cloud Storage that your organization purchased. If you have insufficient free
space to upload the software package, you are notified of this during the
upload process. Windows Intune cannot determine sufficient free space
until after the software upload has started, because compressed setup and
installation files require more space when they are uncompressed. After
upload, the software files are compressed and encrypted and stored in
Windows Intune. This package contains all necessary Setup files for the
managed software. After the managed software package has been successfully
downloaded, the user can extract and install the managed software.
For more information on purchasing additional Cloud
Storage space, see Purchasing
Additional Storage.
- The Summary page displays a message when the
software is successfully uploaded. To exit the Windows Intune Software
Publisher, click Close.
To deploy the uploaded software, see Deploying
Software Packages.

Part 4: Deployment
Recent Comments