as we now from the Office Resource Kit Documentation, only the Enterprise Edition acquired through a non-retail channel (such as MSDN or Select) can be installed silently or without a transform. I'll show you that this is not quite true, but rather a feature of Office...
If you do not want to violate your EULA or modify the installation source of Office, do not read past this line. The following text illustrates the process the Office Setup takes to distinguish the Office Editions and prevent the silent/CIW driven installation.
-----------------------------------------------------------------------------------------------
Microsoft distinguishes the office edition by an SKU XML file and a different main MSI file. Upon entry of the product key the installation determines the appropriate edition and available features (such as transforms and CIW) from the sku xml file.
My first idea was to simply modify the sku xml file, but there is a file signature check in place to prevent the modification. So this was obviously not an option...
My next step was to run the MSI with full logging (msiexec.exe /lv* <<logfile>>) to see how the checks were made and indeed there are a couple of checks made via custom actions in the MSI:
- SkuredQuiet
- SkuredCIW
The first determines if a silent install is in progress and if it is allowed in the edition. The second determines if an install using a transform via the custom installation wizard is allowed/currently running.
So: To make a silent/CIW driven installation work, simply remove the above two custom actions from the InstallExecuteSequence using your favorite MSI editor from the Office MSI file, create the CIW transform and install as the CIW tells you once you finished. (Tutorial available on unattended.msfn.org)
Final words: I am sure using this approach to install Office violates your EULA. I don't know if there are any side-effects to using this approach, however it works for me. Office and McAfee VirusScan were my troubles and this solution worked to automate the Office install.
Have fun!
l33t
P.S.: For those who do not own an MSI Editor: There is a free one part of the Microsoft Windows Installer SDK, which is freely available for download from the platform sdk update site. It includes an orca.msi, which installs a simple MSI editor. I used the editor to modify my office MSI file.



Help
Back to top









