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.
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
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.