Scripting Question

.CAB file silent installation

07/09/2012 16427 views


Can some one tell me silent installation command line for installing .cab file on XP. I already google it but there is no suitable examples.

Thank you!

Answer Summary:
expand "MyCABFile.cab" /f:* "DestinationFolder"
0 Comments   [ + ] Show comments


Community Chosen Answer


The following command line can be used to extract .cab file content..

Check whether it is useful

expand "MyCABFile.cab" /f:* "DestinationFolder"

Answered 07/09/2012 by: jagadeish
Red Belt

  • You can run the above command line through VBScript to make it silent

All Answers


Well I have such thing that I have captured it on XP after what i also need that it works on Win7 but they have different locations for those files, and if I do manual input into MSI then it does not work as expected, that is why I know that there is some command line which do that, basicaly installs cab file silently.

Answered 07/12/2012 by: lanselots
Fifth Degree Brown Belt


A cab file is just an archive, just like a zip-file. Making it "install silently" depends on what the content is.

Answered 07/09/2012 by: Ifan
Second Degree Green Belt


Basically it is add-on which saves thos file in one location and I woul like to include that .cab file in to my MSI using command line which installs them to the correct path.

Answered 07/09/2012 by: lanselots
Fifth Degree Brown Belt


Thank you that worked, just thinking if there is .ocx and other files is it registering them also or just extracting, also not sure is it needed to be regitered or what ever ;)

Answered 07/09/2012 by: lanselots
Fifth Degree Brown Belt

  • Which method worked for you?

It would be best to extract the files from the CAB and add them into a MSI, which will automate the registration process, as necessary.

Answered 07/09/2012 by: vjaneczko
9th Degree Black Belt

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