sd_msiexe.exe--Perform Windows Installer Tasks
Contents
cla140
Contents
sd_msiexe.exe can be used to perform Windows Installer tasks. It is similar to Microsoft msiexec.exe versions 1.1 and 2.0, but sd_msiexe.exe has been optimized for Software Delivery.
Software Delivery macros are used in this document (for example, $msi, $iv) that are expanded to various strings during Software Delivery job processing, before processing sd_msiexe.exe. If the command is executed directly (not within an Software Delivery job), the macros may not be used, but must be replaced with real values / strings.
sd_msiexe--Perform a .msi Package Installation / Configuration / Un-installation
sd_msiexe performs a msi package installation / configuration / uninstallation.
Command syntax:
sd_msiexe /i|x|a|jm|ju|f|t|p <package> /u <$joid> [/uv <"$iv">] [/un <"$in">] [/q<uimode>] [/l<logmode> <LogFile>] [Property strings]
Only the SD-specific parameters are explained. For detailed specification, please see the msiexec.exe tool (Microsoft documentation).
/u--
jobIDuv
--SD package versionun
--SD package nameNote:
/uv and /un are only required for admin and network installations using SDMSILIB. sd_msiexe -scan--Perform a .msi package scan for the current user profile
Use sd_msiexe -scan to perform a .msi package scan for the current user profile.
Command format:
sd_msiexe -scan $cn -out:
$cn
--Should be replaced by the name of the current profile. -out--Specifies an output file.
sd_msiexe -admdel--Delete an administrative installation for the given admin installed file.
The command sd_msiexe -admdel deletes an administrative installation for the given admin installed file.
Command format:
sd_msiexe -admdel <msipath> [-out:$rf]
-out
--Specifies an output file.sd_msiexe -sourceupdate--Update the MSI source lists for the current profile
Use sd_msiexe -sourceupdate to update the MSI source lists for the current profile.
Command format:
sd_msiexe -sourceupdate [-out:$rf]
-out
--Specifies an output file.sd_msiexe -updatedictionary--Update the SDMSILIB dictionary
The command sd_msiexe -updatedictionary updates the SDMSILIB dictionary.
Information from the administrative installations are added in incomplete records.
Command format:
sd_msiexe -updatedictionary
sd_msiexe -removemsilibrecord--Remove a record from the SDMSILIB dictionary
Use sd_msiexe -removemsilibrecord to remove a record from the SDMSILIB dictionary.
Command format:
sd_msiexe -removemsilibrecord ADMINPATH="$msi" | SDNAME="$in" SDVER="$iv"
Add either the SD software name and version properties (SDNAME and SDVER) or the path property (ADMINPATH).
sd_msiexe -addmsilibrecord--Adds a record to the SDMSILIB dictionary
The command sd_msiexe -addmsilibrecord adds a record to the SDMSILIB dictionary.
Command format:
sd_msiexe -addmsilibrecord SDNAME="$in" SDVER="$iv" ADMINPATH="$msi"
Specify the correct SD SW name (SDNAME), SD SW version (SDVER) and the path to the directory (ADMINPATH).
sd_msiexe ? -? /? help--Show the usage of the sd_msiexe command
Use "?|-?|/?|help" to see the usage of the sd_msiexe command.
Command format:
sd_msiexe ?|-?|/?|help
BDSM---out
Specifies an output file.