/build/static/layout/Breadcrumb_cap_w.png

Silent MSI Installs

I have an MSI that needs some modifications. For example, in the Custom Setup screen there are two options that I need to Un-mark as "this feature will not be available". Is there a way to find out what this value is or what setting needs to be changed from within Orca or AdminStudio? Or is it a simple matter of a command line switch along the lines of INSTALLDIR="C:\AppPath"? And is there a way to determine what that specific command line should be?

Thanks for the help...

0 Comments   [ + ] Show comments

Answers (4)

Posted by: turbokitty 15 years ago
6th Degree Black Belt
0
Take a look at the ADDLOCAL property. You can control the features to be installed from the command line by passing this property.

I will add you can use the REMOVE property (after the ADDLOCAL property) to call out features you don't want.

Example:
msiexec /i whatever.msi ADDLOCAL=ALL REMOVE=feature1, feature2
Posted by: anonymous_9363 15 years ago
Red Belt
0
Example:
msiexec /i whatever.msi ADDLOCAL=ALL REMOVE=feature1, feature2
Eh?!? Surely the correct method would be to enumerate only the features you want as a comma-delimited list passed to ADDLOCAL? The REMOVE argument is surely only valid for selectively uninstalling features? Thus for Office 2003 as an example (from memory, BTW, so I may have the feature names wrong!):

msiexec /i whatever.msi ADDLOCAL="ExcelFiles,WordFiles,OutlookFiles,CAGFiles"

to install Excel, Word, Outlook and Clip Art Gallery

versus:

msiexec /i whatever.msi REMOVE="CAGFiles"

to remove Clip Art Gallery from an installation which included that feature.

Also, the subject line was about silent installs. Look up the usage of the '/Q' switch on MSDN.
Posted by: pumagaju 15 years ago
Senior Yellow Belt
0
Thanks for the replies all. It has since occured to me that I was attempting to re-invent the wheel when a simple transform will do the job nicely. So that's what I created. :)
Posted by: turbokitty 15 years ago
6th Degree Black Belt
0
VBScab, if your MSI has a lot of features, you should be able to use ADDLOCAL to add all the features, then REMOVE to eliminate the ones you don't want on the same command line. The properties should be evaluated in that order. I've never tried this as I use a transform to do this type of job, but I know of someone that uses this method.
Never tested it myself.

Here's some info on ADDLOCAL and ADDSOURCE for you. REMOVE should be evaluated the same way.
http://msdn.microsoft.com/en-us/library/aa367536(VS.85).aspx
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ