Re: Windows Service Installation...



I did try this - before I clicked "OK" on the error message, I copied the
files from the installation folder to another directory, and ran the
installutil against them. It installed just fine. So there must be kind of
disconnect between where I'm putting the file and the installer is trying to
install from.

Theresa


"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
>


.



Relevant Pages

  • Re: startx fails
    ... Subject: startx fails ... Have you looked in the paths shown in the error message? ... configure the netscape http server. ... install, or one on which people have done lots of patches? ...
    (comp.unix.sco.misc)
  • Re: Help! NTVDM error
    ... > Or uncheck the first half of the startup items, reboot and see if you still ... If you don't get the error message, ... > [[You have used the System Configuration Utility to change the way Windows ... > spyware if installed with the sponsor program it offers to install. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: install SBS2003 Trial - Update, reboot = "Expired"
    ... I tarted install on 7/23 and after windowsupdate date was 5/23. ... I got the error message only after updating. ... did so and then after a reboot I got to a login screen - saw the To do list and I shutdown and rebooted twice - just to see if all was OK with that error message. ... Debugging Tools for Windows - Overview ...
    (microsoft.public.windows.server.sbs)
  • RE: Cannot turn on automatic updates nor use windows update
    ... but got an error message "The application failed to initialize ... "nass" wrote: ... "Install the ActiveX control required to view the website. ... gives me an error message saying that "Windows cannot find 'scf'....". ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Why did Microsoft release SP3 for Office?
    ... deposited - then we get an error message stating "Cannot start Outlook. ... installing SP3, ... I clicked to install from Windows update and let it run as usual. ...
    (microsoft.public.officeupdate)