Is it possible to silently run the Vista installation package for MSI 4.5?
Our friends at InstallAware had some questions on issues we have yet to answer in the beta MSI.CHM. One of these questions was:
Question
Is it possible to silently run the Vista installation package for MSI 4.5?
Answer
Fair question. I didn't get that documentation updated for the beta. I'll enter a doc bug for the MSDN topic "Windows Installer Redistributables" at https://msdn2.microsoft.com/en-us/library/aa372856.aspx.
The .MSU file format is a new package type for Windows Vista (and above) which contain updates to the Windows platform. These .MSU packages have an executable called wusa.exe to which you can pass command line switches. This separate EXE method is similar to the way msiexec.exe is the runtime for.msi packages. The wusa.exe is more formally known as the Windows Update Stand-alone Installer.
There are two KB articles for how to work with the Windows Update Stand-alone Installer. These are
- "Description of the Windows Update Stand-alone Installer (Wusa.exe) and of .msu files in Windows Vista" at https://support.microsoft.com/kb/934307
- "When you run Wusa.exe together with the /quiet option to try to install certain software packages on a Windows Vista-based computer, the installation fails" at https://support.microsoft.com/kb/929761/.
The need for KB 929761 is something we found late in testing and are still investigating our options.
With the new Vista specific packaging technology, the old instructions for how to defer the reboot also needs to be updated. When the new .MSU packages are processed, the Transacted File System (TxF at https://msdn2.microsoft.com/en-us/library/aa365456.aspx) is used. One of the qualities of the Windows Update Stand-alone Installer use of TxF is that if any file is in use, the entire update is deferred until after reboot. Given the Windows Shell often has Windows Installer loaded, we expect this means that applying the Windows Installer 4.5 Beta on Vista will often require reboots.
We do have reboot reduction work planned for after Beta. We are conscious that most users find one reboot difficult to manage and more than one reboot baffling. This presents an opportunity for chainers to provide high quality reboot management.
[Author: Robert Flaming]
This posting is provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to the terms specified at https://www.microsoft.com/info/cpyright.htm.
Comments
Anonymous
August 25, 2007
PingBack from http://msdnrss.thecoderblogs.com/2007/08/26/is-it-possible-to-silently-run-the-vista-installation-package-for-msi-45/Anonymous
August 26, 2007
The comment has been removedAnonymous
August 26, 2007
Footnote: When troubleshooting wusa, it helps to look at the WindowsUpdate.log in the windows directory. When troubleshooting the .MSU file, it helps to look at the CBS.log in the windowslogscbs directory.Anonymous
August 28, 2007
The first public beta version of the Windows Installer (MSI) 4.5 runtime, SDK and documentation has just