Re: Windows Service Installation...



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
>


.



Relevant Pages

  • RE: fedora-list Digest, Vol 12, Issue 203
    ... >the Install programs app to get all the Development stuff at once. ... >Yes, I have tried running it from the command line, it just died with no ... >which defaulted to LVM use on a single drive. ... > O splendente, che vieni dalle sorgenti del Nilo, ...
    (Fedora)
  • New Debian31r1 Install - help me optimize - TNT2 - sudo - KDE - Xwindows
    ... of futzin with a new debian ... install, which was needed after a munged KNOPPIX install (I know, I ... the command 'dpkg-reconfigure xserver-xfree86' (which allowed me to ... trying to get the SOUND working yet..there's what seems to be a PCI ...
    (comp.os.linux.misc)
  • Re: Installing Net Framework Service Pack 1
    ... You *do* have a valid install of 1.1, ... We had already established that I had changed the ASP.NET tab to ... That's not a registry command. ... Here I try to enter the directory where the Net Framework 1.1 ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: How do I install an application using a custom component
    ... If your command is still set up to launch cmd.exe with the path to batch file you can add "pause" command there to catch the CMD ... there is a flag (Install Shiled supported) that you can add to the setup.exe ... Use the same FBA Generic command. ...
    (microsoft.public.windowsxp.embedded)
  • Re: What are the core packages for a desktops Linux desktop distribution?
    ... Your use of the term package is a bit confusing ... You'll need the mount command as well. ... As for Gnome, if you are going for minimalism, I ... wouldn't install it - you don't need it. ...
    (comp.os.linux.misc)