Re: msi in a Windows Service
- From: "Greg Young" <druckdruckREMOVEgoose@xxxxxxxxxxx>
- Date: Thu, 15 Jun 2006 16:28:24 -0400
My guess would be a security issue, your service is running in a completely
different security context.
Cheers,
Greg Young
MVP - C#
http://codebetter.com/blogs/gregyoung
"Fei" <fwang@xxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:eqSfEYLkGHA.3304@xxxxxxxxxxxxxxxxxxxxxxx
Hi,
I got a strange problem. I use Macrovision installshield x express
edition to build a simple MSI file. I can install this mis silently, i.e
using /qn. It has no problem to run either in the command prompt or in a
windows application. However when I put the same code to run this msi in a
small windows service, it does NOTHING !!! It only starts the thread, but
it does not do installation.Why?
Here are codes:
Dim psi As New ProcessStartInfo
psi.WorkingDirectory = MY_WORKING_FOLDER
psi.FileName = MY_FILE_NAME
psi.Arguments = "/qn"
Dim p As New Process
p.StartInfo = psi
p.Start()
Thanks in advance.
fei
.
- Follow-Ups:
- Re: msi in a Windows Service
- From: Fei
- Re: msi in a Windows Service
- References:
- msi in a Windows Service
- From: Fei
- msi in a Windows Service
- Prev by Date: Re: msi in a Windows Service
- Next by Date: Re: Specifying a base loading address for a .NET assembly
- Previous by thread: Re: msi in a Windows Service
- Next by thread: Re: msi in a Windows Service
- Index(es):
Relevant Pages
|