git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12454 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
faust3 2004-05-09 17:36:44 +00:00
parent cb8bc5d47a
commit 31998fdcd2
1 changed files with 2 additions and 1 deletions

View File

@ -21,9 +21,10 @@ int main(int argc,char* argv[]){
hSCManager = OpenSCManager(NULL, NULL, SC_MANAGER_ALL_ACCESS);
if(!strcmp(argv[1],"install")){
printf("Installing dhahelper...\n");
if(!CopyFile("dhahelper.sys",path,FALSE))
if(!CopyFile("dhahelper.sys",path,FALSE)){
printf("Copying dhahelper.sys failed.\nEither dhahelper.sys is not in the current directory or you lack sufficient\nprivileges to write to %s.", path);
return 1;
}
// Install the driver
hService = CreateService(hSCManager,
"DHAHELPER",