/build/static/layout/Breadcrumb_cap_w.png

ADDLOCAL in command

Hi, i am installing an .msi in command line , msiexec /i <path of .msi> and one more command msiexec /i <path of .msi> ADDLOCAL=ALL,,,, i wanna know what the difference between these two? i know ADDLOCAL  contians feautures delimited by comma and it installs locally, but mine doubt is "ADDLOCALL"  what exactly it will do? is this installs features, from the source image on the target system, or something else, please provide a practical answer , so i can understand it well.

Thank in advance


0 Comments   [ + ] Show comments

Answers (2)

Posted by: oreillyr 12 years ago
Fifth Degree Brown Belt
3

Ok so doing a google search gets you this - http://msdn.microsoft.com/en-us/library/windows/desktop/aa367536(v=vs.85).aspx  which pretty much explains it all in detail. 

To summarize it, Adding ADDLOCAL=MyFeature to the commandline (not the Property Table) will install that feature only.  You can install multiple features by as you mentioned 'comma-delimiting' them. i.e ADDLOCAL=MyFeature,MyFeature1,MyFeature2,etc.  You can get the proper feature names required by editing package in orca(quickest!)

A more efficient way of doing this is by the feature table and adjusting Install Levels. Definition from http://pubs.vmware.com/view-50/index.jsp?topic=/com.vmware.view.installation.doc/GUID-F19EBDF6-20A3-4A8B-95AE-786CC74F26AF.html:Determines the component-specific features to install. In an interactive installation, the View installer displays custom setup options to select. The MSI property, ADDLOCAL, lets you specify these setup options on the command line.

To install all available custom setup options, enter ADDLOCAL=ALL.

For example: VMware-viewagent-y.y.y-xxxxxx.exe /s /v"/qn ADDLOCAL=ALL"

If you do not use the MSI property, ADDLOCAL, the default setup options are installed.

To specify individual setup options, enter a comma-separated list of setup option names. Do not use spaces between names. Use the format ADDLOCAL=value,value,value....

For example, you might want to install View Agent in a guest operating system with the View Composer Agent and PCoIP features:

VMware-viewagent-y.y.y-xxxxxx.exe /s /v"/qn ADDLOCAL=Core,SVIAgent,PCoIP"

Posted by: anshul 12 years ago
Orange Belt
0

msiexec /i <path of msi> -- it will install all the features

while msiexec /i <path of msi> ADDLOCAL=f1,f2 -- it will install only f1 and f2 features

addlocal is used to install specific features


Comments:
  • not correct exactly... not using the ADDLOCAL property will perform a default install, if a feature is not flagged for install by default it won't install unless you either use ADDLOCAL or adjust installlevel (or other means). - dandirk 12 years ago
 
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