| | |
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 |
* adobe ansi api array asterisks binarysearch calculate centimeter char character cm convert copyanyfile copyimagefile copypdffile cprogramme createcopyoffile createprocess() csyntax directory feet fflush fgets file floatingpointvalidation fork frequency function getlasterror getlogicaldrivestrin givemetehcodez global graphics gtkgcurlcompiling gtkwinlinux hacking highest homework i/o inches infiniteloop interest intmain() kilometer km linked linkedlist linux linuxsegmentationfault list locate logical_drives match meter microsoft mqqueue mysql number oddnumber odf open opendocumentformat openwebfoundation owf pattern pdf performance posix power probleminc program programming pyramidusingturboccodes read recv recvblocked repetition scanf scheduling segmentationfault send single socketprograming socketprogramming stack standard strchr string suggestions systemcall unix urboc user variable voidmain() wab whythiscodecausesegmentationfault win32api windows.h






