Daily Archives: October 30, 2007

Microsoft Windows XP – Install and advertise a product with a transform using the command line

To install and advertise a product using a transform with the command line

1. Open Command Prompt

2.  From the command window, type msiexec package /j[u][m] /t transform list and then press ENTER.

Where:

j means to advertise a product. This option ignores any property values entered on the command line.

u means to advertise to the current user.

m means to advertise to all users of this computer.

t means to apply transform to advertised package.

package is the name of the Windows Installer package file.

Microsoft Windows XP – Install and advertise a product with a transform using the command line

What is that SBS Service Pack level?

If ever you come into examining the question of what is the current Service Pack level of an SBS machine, there is a way to do this authoritatively.  The winversion is not the same thing as the SBS version.  So instead to determine the SBS Service Pack level look to two things.

  1. a registry key
  2. a setup.exe file

The registry key below if containing the key “servicepack” and a value of 1 indicates SBS SP1 is installed:

HKLM\SOFTWARE\Microsoft\SmallBusinessServer

the properties sheet version information of “C:\Program Files\Microsoft Integration\Windows Small Business Server 2003\setup.exe” shows:

  • file version 5.2.2651.0 – pre SBS SP1
  • file version 5.2.2893.0 – post SBS SP1 (its installed)

Indicates pre-SP1 version