Video Screencast Help
Search Video Help Close Back
to help
New in the Rewards Catalog: Vouchers for "Symantec Technical Specialist" and "Symantec Certified Specialist" exams.

Got Trouble with Transforms not Being Applied?

Updated: 27 Feb 2008 | 1 comment
WiseUser's picture
0 0 Votes
Login to vote

If you're having trouble with your transforms not being applied to an advertised application, this tip could be just what the good doctor ordered. Read on to learn why the transforms property cannot be set using the command line when advertising an application.

Generally, to apply a transform to an application you'll want to use the command line:

msiexec.exe /i <path to msi> TRANSFORMS= < path to transform >

Specifying TRANSFORMS=<path to transform > sets the TRANSFORMS property for your installation.

Comnmand line "msiexec /j < path to msi > which advertises an application, ignores any property values entered on the commandline. Since TRANSFORMS is a property, it is ignored when adverting the application.

Instead of passing the TRANSFORMS property when using /j, use the /t command line option which is equivalent to passing the TRANSFORMS property. The proper command line used to apply a tranform when advertising an applicaion is:

msiexec.exe /j < path to msi >  /t < path to transform >

Comments

Harsh Mokal's picture
28
Feb
2008
0 Votes 0
Login to vote

The "/t" switch is used to

The "/t" switch is used to specify transforms when performing an advertisement of the product. This is where you only install the product registration and entry points (shortcuts, file extension registration, CLSID info) but not the files. The /t switch is used on both NT4 and XP for specifying a transform during advertisement.

More about command line options and multiple instance transforms can check following MSDN site.

http://msdn2.microsoft.com/en-us/library/aa367988....

Regards
Harsh