This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

keil uv4 silent install

How to silently install keil_uv4 by command line options?

I found the MDK5.24 installer is a self extracting zip file.
It can be unzipped but the application is not installed correctly.
So i want to ask what the command line options for silent-install.

  • a) There is no official support of a silent installation existing for MDK-ARM
    b) "It can be unzipped but the application is not installed correctly" -> pls detail the result after installation

  • I have resolved the problem.

    if run "uv4.exe" directly when the installer is unzipped, there will report an error: "Cannot read TOOLS.ini, please reinstall your toolchain".

    Compare the normal installation and unzip installation, i found the "TOOLS.ini" can be updated from "SETUP.ini",

    1. Create an empty file named "TOOLS.ini"

    2. add the following settings at "UV2" section:
    [UV2]

    RTEPATH=C:\Keil_v5\ARM\PACK
    TOOL_VARIANT=mdk_pro_flex
    NAME="Name", "A"
    FLEX=8224@**.**.**.**
    FLEX_USE=1
    FLEX_VARIANT=mdk_pro
    LEGACY_CM=1
    ORGANIZATION=NXP
    EMAIL=**@**.com

    3. add "PATH="C:\Keil_v5\ARM\" at "ARMADS" section.

    4. Start C:/Keil_v5/UV4/UV4.exe to open the UI.

    5. Opend PackInstaller.exe to manage your pack.

    I used a script to achieve the automatic installation

  • I have resolved the problem.

    Thanks for the information. Worth noting in case the need arises in the future.

    Separate comment:

    It's really nice to see someone not just post a question, but clearly show competence, the will to try to find a solution to a problem and the decency to post a solution.

    IMHO that is really quite rare nowadays.

  • Thanks for sharing your solution, but I doubt that this one:
    - is working well at your local setting on multiple systems
    - is a generic solution for other users
    as:
    - it depends on the customers licensing solution
    - and mandatory registry information missing

    Please compare your solutions before publishing, thanks.

  • Thanks for this, it solved my problem. I was getting a "Make sure RTEPATH is added to TOOLS.INI" error (running in linux using wine) and didn't realize that the RTEPATH needed to go in UV2 until reading this. Now everything seems to be working great.

  • In case anyone finds this via a search engine: There is a page describing command line options for MDKxxx.exe type installers: http://www.keil.com/support/man/docs/uv4/uv4_ov_install.htm

    Command-line option Description
    --batch-install Skips all dialogs except from the progress dialog. Implicitly accepts license terms (see note below).
    -P Installation destination directory.
    -F Customer's first name.
    -L Customer's last name.
    -E Customer's email address.
    -O Customer's company name.

    MDKxyz.exe --batch-install -P"c:\Keil_v5" -F"John" -L"Doe" -O"ACME" -E"jd@acme.com"

    Worked for me with MDK525.EXE.