C++ Auto-Detect Installed .NET Framework and Execute Specific Program File
$10-30 USD
Paid on delivery
Write a tiny C++ program that:
- named as "[url removed, login to view]"
- runs silently on any Windows (XP, Vista, W8, W10)
- runs without any dependencies (for example: Microsoft Visual C++ Runtime)
- able to be compiled by any C++ IDE/Development Tools
- read a text configuration file ([url removed, login to view])
- find the highest installed version of .NET Framework as written in the text configuration file
- execute a specific EXE file as written in the text configuration file
- use the icon in the uploaded attachment
Format of Text Configuration File ([url removed, login to view]):
<.NET Version>|<boolean>|<path of EXE Filename>
Example 1 ([url removed, login to view]):
===============================
4.6|0|files\[url removed, login to view]
4.5|0|files\[url removed, login to view]
4.0|1|files\[url removed, login to view]
3.5|0|files\[url removed, login to view]
2.0|1|files\[url removed, login to view]
Explanation Text Configuration File (Example 1)
===============================
Line 1: Do not look for .NET Framework 4.6
Line 2: Do not look for .NET Framework 4.5
Line 3: Look for the presence of .NET Framework 4.0
>>> If exists, execute: ....\files\[url removed, login to view]
>>> If not exists, skip to next .NET Framework
Line 4: Do not look for .NET Framework 3.5
Line 5: Look for the presence of .NET Framework 2.0
>>> If exists, execute: ....\files\[url removed, login to view]
Lastly, if none of the .NET Framework is detected on current PC, display a message: "This program is not supported by this OS.".
Files and Folders Structure:
============================================
...\[url removed, login to view] (This project, written by you)
...\files\[url removed, login to view] (The text configuration file)
...\files\[url removed, login to view]
...\files\[url removed, login to view]
...\files\[url removed, login to view]
...\files\[url removed, login to view]
...\files\[url removed, login to view]
============================================
Note: .NET Framework 4.0 refers to "Extended" version, ignore "Client Profile".
Project ID: #10427692