Got Error "command line option syntax error. type command /? for help" during installation Visual C++ 2005

anil_688 1 Reputation point
2022-07-08T05:02:56.703+00:00

we are getting below error during installation of Visual C++ 2005 on windows 2019 server while running through chef recipe. Any solution on this error..?

Error: command line option syntax error. type command /? for help

218760-image.png

218841-image.png

Note: The solutions provided previously did not resolved the issue (Clean reboot etc)

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,470 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,537 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
970 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 39,366 Reputation points
    2022-07-11T09:43:57.16+00:00

    Hi there,

    If you have installed previous pre-release versions of Visual C++ 2005 or Visual Studio 2005, such as Beta 1, Beta 2 or Community Technical Preview (CTP) builds, then you must uninstall these versions via Add/Remove Programs in Control Panel before installing the final released version.

    You can also run the Microsoft .NET Framework Repair Tool and see if that sorts the issue

    https://www.microsoft.com/en-us/Download/confirmation.aspx?id=30135

    I hope this information helps. If you have any questions please let me know and I will be glad to help you out.

    ------------------------------------------------------------------------------------------------------------------------

    --If the reply is helpful, please Upvote and Accept it as an answer--