/build/static/layout/Breadcrumb_cap_w.png

Help with MSI 1639

Help with MSI (Microsoft Installer) error 1639: Invalid command line argument. Consult the Windows Installer SDK for detailed command-line help.

0 Comments   [ + ] Show comments

Answers (1)

Posted by: AppDeploy.com 20 years ago
Red Belt
1
/i [package]
Installs the specified product
/f p,o,e,d,c,a,u,m,s,v

  • p - Reinstalls a product only when a
    file is missing

  • o - Reinstalls a product when a file is
    missing or an older version of a file is installed

  • e - Reinstalls a product when a file is
    missing or an equal or older version of a file is installed

  • d - Reinstalls a product when a file is
    missing or a different version of a file is installed

  • c - Reinstalls a product when a file is
    missing or the stored checksum value doesn't match the calculated value

  • a - Forces all files to be reinstalled

  • u - Rewrites all required user-specific
    registry entries

  • m - Rewrites all required
    computer-specific registry entries

  • s - Overwrites all existing shortcuts

  • v - Runs from the source file and re-caches
    the local product


/a [package]
Installs a product on the network/x [package]
Uninstalls a product

/j u,m [package]
Advertises a product. u is current
user; m is all users
/l i,w,e,a,r,u,c,m,p,v,+,![log file]

  • i - Status messages

  • w - Non-fatal warnings

  • e - All error messages

  • a - Action startups

  • r - Action-specific records

  • u - User requests

  • c - Initial User Interface (UI)
    parameters

  • m - Out-of-memory

  • p - Terminal properties

  • v - Verbose output

  • + - Appends to the existing file

  • ! - Clears each line in the log file

  • * - Wildcard. Logs all information, but
    the use of the v option isn't included. To include the v option, type
    "/l*v"


/p [patch]
Applies a patch. To patch an installed
Administrator image, you should also use the /a switch
/q n,b,r,f

  • n - No UI

  • b - Basic UI

  • r - Reduced UI

  • f - Full UI


/y
Calls system API DLLRegisterServer to
register the module
/z
Calls system API DLLRegisterServer to un-register a module

Note that some Windows Installer setup wrappers (called using a setup.exe) only accept a short commandline (up to 128 characters). Make not of this if you should encounter this error, if your path is too long, try a mapped drive or locating the source closer to the root of the share your are referencing.
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