| | |
installation hangs up when writing information to Add/Remove Programs
![]() |
•
•
Join Date: Jan 2007
Posts: 2
Reputation:
Solved Threads: 0
Hi to everyone,
I am using createProcess("setup.exe","",...) to launch an installation.
When I call this function from a "normal application program" everything works fine.
However, when I call same function from a service application, it hangs up when writing information to add remove programs.
Can you tell why this happens and how to fix it?
I am using createProcess("setup.exe","",...) to launch an installation.
When I call this function from a "normal application program" everything works fine.
However, when I call same function from a service application, it hangs up when writing information to add remove programs.
Can you tell why this happens and how to fix it?
check the login account of that service program -- it may not have permissions to do that. Also service programs do not have a console, so it might be waiting for someone to press the <Ok> button in a message box which can not be displayed.
I don't see the purpose of launching installation programs from a service program anyway. I know I would not want a service program automatically installing something on my computer without my explicit instructions to do so.
I don't see the purpose of launching installation programs from a service program anyway. I know I would not want a service program automatically installing something on my computer without my explicit instructions to do so.
Last edited by Ancient Dragon; Jan 30th, 2007 at 5:49 am.
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.
•
•
Join Date: Jan 2007
Posts: 2
Reputation:
Solved Threads: 0
Thanks for your reply,
I have checked the login account of the service and discovered that when I changed the "log on as" information from "local system account" to "this account", everything worked fine.
However changing to "this account" option disables the "allow service to interact with desktop" option which I need to use.
Performing setup automatically is one option of the update service which I am working on. This is why I need that kind of information.
I have checked the login account of the service and discovered that when I changed the "log on as" information from "local system account" to "this account", everything worked fine.
However changing to "this account" option disables the "allow service to interact with desktop" option which I need to use.
Performing setup automatically is one option of the update service which I am working on. This is why I need that kind of information.
![]() |
Similar Threads
- Add/Remove Programs Problem (Windows NT / 2000 / XP)
- Add/Remove programs gone (Windows NT / 2000 / XP)
- Add/Remove Programs List Gone! (Windows 95 / 98 / Me)
- Error when trying to Uninstall via Add/Remove Programs (Windows NT / 2000 / XP)
- Windows 2000 Add/Remove programs don't work... (Windows NT / 2000 / XP)
- Add or Remove Programs... Removed? (Windows NT / 2000 / XP)
Other Threads in the C Forum
- Previous Thread: Cryptography In C
- Next Thread: Mangled Names
| Thread Tools | Search this Thread |
#include adobe api array arrays asterisks binarysearch calculate char cm copyanyfile copyimagefile copypdffile cprogramme creafecopyofanytypeoffileinc createcopyoffile createprocess() csyntax database directory dynamic feet fflush fgets file fork forloop frequency getlasterror givemetehcodez global graphics gtkgcurlcompiling hacking highest homework i/o inches include incrementoperators input interest kernel kilometer km linked linkedlist linux linuxsegmentationfault list locate logical_drives loopinsideloop. match matrix meter microsoft mqqueue mysql number odf open openwebfoundation owf pattern pdf performance pointer posix probleminc process program programming pyramidusingturboccodes radix read recursion recv repetition research scanf scheduling segmentationfault send sequential shape socket socketprograming socketprogramming stack standard string systemcall turboc unix user voidmain() wab win32api windows.h






