Start Free Trial
Come for the solution, stay for everything else.
Start Free Trial
Install a program from vb.net service
I have written a vb.net service. I would like to silently install a program using the service.
The program is silently installable... I can do it via the command prompt.
The service, however, doesn't install and I think the issue maybe the space in which the service runs.
8/22/2022 - Mon
For assistance, you'd have to post information about your installation process.
Also, your installer should capture + report all errors encountered during installation.
The reported errors are essential to debugging this.
And, if your disk space is 99.99% used, then you're likely correct... free up some disk space + see if this fixes your install problem...
what are the privileges to which the service run?
in order to install a program you need to have local administrator privileges on the system
I think the issue is with the service running under the local system account.
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
I would use TopShelf to create the service instead of the VS template
This is my (albeit C#) Visual Studio Windows Service template
I suggest you to create a specif user for your service and configure the AlwaysInstallElevated policy for this user
ASKER CERTIFIED SOLUTION
Log in or sign up to see answer
Become an EE member today
7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Plans and Pricing
Certified Expert Program
© 1996-2022 Experts Exchange, LLC. All rights reserved. Covered by US Patent