I have been trying to determine how to properly install software in an MSI package while including a patch package at the same time.
I learned of the PATCH public property (MSDN Description Page) and tried to use it on the command line to install various MSI package plus a patch together in one go on Windows XP Professional with Service Pack 3.
The results were sometimes (but not always) inconsistent with the results from running the installing the MSI package then the patch separately. The results were consistently inconsistent for specific MSI package and patch file combinations.
For example, when attempting to install Microsoft Office 2000 Premium SR-1 with Service Pack 3 from a Microsoft Office 2000 Premium SR-1 original source and the full-file Service Pack 3 ("SP3") CD1 patch file together at the same time, the installation runs, but does not pre-select available options to install. After selection the options manually, and continuing installation, the installation completes, but none of the selectable options have actually been installed. What is interesting is that Office 2000 Premium SR-1 with Service Pack 3 may fully be installed after using the "Add or Remove Features" feature of Office Maintenance Mode.
The command I used from a Windows NT Command Script File (CMD file) was:
Code: Select all
MSIEXEC /i "DATA1.MSI" PATCH="%~dp0MAINSP3ff.msp" ALLUSERS="1"Code: Select all
Office 2000 Premium SR-1 original installation source (An MSI package control file plus the actual Microsoft Office files to be installed). I have attached a ZIP 2.0 archive with the MSI package control file for reference.
Office 2000 Premium SR-1 CD1 full-file Service Pack 3 "MAINSP3ff.msp" member file from:
http://download.microsoft.com/download/office2000/SP/3/WIN98MeXP/EN-US/o2ksp3a.exeCode: Select all
MSIEXEC /i "Virtual_PC_2007_Install.msi" PATCH="%~dp0KB958162.msp" ALLUSERS="1"Code: Select all
Microsoft Virtual PC 2007 SP1 32-bit:
http://download.microsoft.com/download/3/0/e/30e87f07-d6b3-4ab3-a93d-a17814ed8b4b/32%20BIT/setup.exe
The (x86 KB958162) update patch:
http://download.microsoft.com/download/D/5/2/D520FE07-74BC-48CE-84F7-FFADB2877F1D/32%20Bit/KB958162.mspCould it be that I need to also specify something else on the command line? If so, what? If the "what" may vary, how can I determine what the "what" is?
Any answers, tips or other related information is appreciated.
.
FOLLOW US
Get the latest news in Application Packaging