Shellexecute and installing a file with out showing any further dialogs.
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
Hi,, I have a file abc.reg.I want to install the registry file , but the main point is the RUN dialog as well as the conformation dialog should be hidden to the user. After shell execute the installation should be done silently. Any help is appriciated. Regards, KDevloper
-
Hi,, I have a file abc.reg.I want to install the registry file , but the main point is the RUN dialog as well as the conformation dialog should be hidden to the user. After shell execute the installation should be done silently. Any help is appriciated. Regards, KDevloper
You must use
CreateProcess
instead ofShellExecute
. Give the lpCommandLine parameter as Regedit.exe /s <.REG filename>«_Superman_»