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...
Thanks for the help...
0 Comments
[ + ] Show comments
Answers (4)
Please log in to answer
Posted by:
turbokitty
15 years ago
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
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
Example: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=ALL REMOVE=feature1, feature2
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
Posted by:
turbokitty
15 years ago
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
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.
so that the conversation will remain readable.