Frank_Siegmann
Level 3

Error 1639. Invalid command line argument.

On a customer's computer we encounter with all our setups Error 1639.
Verbose log (setup.txt) attached.
We would appreciate any advises.
Labels (1)
0 Kudos
4 Replies
ch_eng
Level 7

Hello,

I've had the 1639 error before. Here is one possible way to track down the problem. Look in your log file on the line:

1: Ready to launch MsiInstallProduct, Command line :


and parse that into all the different variables (one per line). In the case of the log you attached, it would look something like this:

Command line : 
ADDLOCAL=Program
AFMG="C:\Program Files (x86)\AFMG\"
ALLUSERS=1
ALLUSERSPROFILE=C:\ProgramData\
ARPPRODUCTICON=ARPPRODUCTICON.exe
ARPURLINFOABOUT=http://www.afmg.eu
COMPANYNAME=""Merrick&Co.""
DWUSINTERVAL=30


*snip*

USERNAME=""Merrick&Co."" 
USERPROFILE=C:\Users\sarni\
_Modify=""
ARPSYSTEMCOMPONENT=1
ISSETUPDRIVEN=1


It looks like your customer is putting double quotes around the COMPANYNAME and USERNAME fields which is causing your problem. Instead of typing

"Merrick&Co."


have them try just

Merrick&Co.


I was able to reproduce your issue using double quotes in the user/company names and it worked fine without.

HTH
0 Kudos
Frank_Siegmann
Level 3

Thanks so far.
There is no Company/User Name dialog in the setup.
The question is from where the names are retrieved.
I have read that the default company name is retrieved from the registry key
HKEY_CURRENT_USER\Software\Microsoft\MS Setup (ACME)\User Info .
Such a key exist on my machine but not on the customer's one.
0 Kudos
ch_eng
Level 7

If that's the case, you might need to change (at least temporarily) the following registry keys before you try installing:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\
RegisteredOrganization
RegisteredOwner


HTH
0 Kudos
Frank_Siegmann
Level 3

Yes, removing the quotes from
RegisteredOrganization
RegisteredOwner
did the trick.
Thanks once more.
0 Kudos