Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

Need sample C++ code to programmatically install and uninstall particular applic

Hello All,

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
[586 byte] By [spande77] at [2007-11-11 10:28:23]