Re: Windows Service Installation...
- From: "Phil Wilson" <pdjwilson@xxxxxxxxxxxxxx>
- Date: Fri, 13 May 2005 08:13:57 -0700
Are you passing anything in CustomActionData to the installer class custom
actions? I've noticed that doing that seems to interfere with the internal
parsing of the command line passed to InstallUtilllib.dll (which is called
to install the Service).
--
Phil Wilson
[Microsoft MVP-Windows Installer]
Definitive Guide to Windows Installer
http://apress.com/book/bookDisplay.html?bID=280
"Theresa Smallwood" <tdsmal@xxxxxxxxxx> wrote in message
news:enExqzyVFHA.2540@xxxxxxxxxxxxxxxxxxxxxxx
>I am having some trouble with a windows service I am trying to install. It
>builds just fine, but when I try to install it using an MSI created from a
>.NET setup project, I get this error:
>
> Exception occurred while initializing the installation:
> System.IO.FileNotFoundException: File or assembly name savetrains.exe, or
> one of its dependencies, was not found..
> (savetrains.exe is the executable for my service)
>
> If I install it from the command line, using installutil.exe, it installs
> fine.
>
> I did see this exact error when I had the path to the exe wrong (I had
> mistyped it) on the command line. So it may be that the setup project is
> trying to install if from the wrong place? Is there any way to determine
> the path it is trying to install the service from? I would have assumed
> that it would install it from the TARGETDIR property defined in the setup
> project, but I know how dangerous it can be to assume things...
> Incidently, if I check the path that it's installing to in windows
> explorer before I click "OK" on the error message, all the files needed
> for the exe are there.
>
> Any help would be greatly appreciated!
>
> Theresa Smallwood
>
.
- Follow-Ups:
- Re: Windows Service Installation...
- From: Theresa Smallwood
- Re: Windows Service Installation...
- References:
- Windows Service Installation...
- From: Theresa Smallwood
- Windows Service Installation...
- Prev by Date: Re: Register COM DLL when it is not a registered reference (late bound)?
- Next by Date: Re: Windows Service Installation...
- Previous by thread: Re: Windows Service Installation...
- Next by thread: Re: Windows Service Installation...
- Index(es):
Relevant Pages
|