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

Comments

Please log in to comment

Answers

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
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.
Answered 01/28/2004 by: AppDeploy.com
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity