Need sample C++ code to programmatically install and uninstall particular applic
Can anybody provide me with a sample C++ code that could do following steps:
i) it checks whether a particular application is installed on Windows
ii) if that application is not installed and if the current user (using which I have logged into the windows) has previlege to modify system registry, system folders and system variables, then install that application in windows.
iii) finally uninstall the application.
All these steps have to done programmatically in C++.
Please help me with this
Thanks,
Siddharth

