Does your service depend on MSVC DLLs that you are installing, or just
the custom action exe that starts the service?

If your service does not depend on anything installed in the GAC or
winsxs you could just the ServiceControl table instead. Otherwise
static linking to the dlls will work, or schedule the custom action
after InstallFinalize.

http://msdn2.microsoft.com/en-us/library/aa371634(VS.85).aspx

I doubt UAC has anything to do with this.

/Johan

On Feb 6, 2008 12:57 PM, Sneha Gharpure <[EMAIL PROTECTED]> wrote:
>
> Thanks for the reply.
>
> The problem is that the exe that starts the service is running as a custom
> action. This exe depends on MSVC DLLs. During installation, this custom
> action is failing. I believe that this is because the DLLs are not available
> till InstallFinalize and the custom action is scheduled before
> InstallFinalize. So is there any way by which these DLLs can be made
> available to the exe? will static linking of these DLLs with the exe work?
>
> How do you disable UAC from User accounts? Also, whats are the general
> things that we need to take care of so that the installation works fine on
> vista? We are taking care of the "Impersonate=no and execute=deferred " in
> custom actions and we are running the MSI as an administrator.
>
> Thanks,
> Sneha
>
>
> Anidil wrote:
> >
> > This is a problem with UAC on Windows Vista.Disable UAC from User
> > accounts,restart the system and try starting the service..
> >
> >
> >
> > Sneha Gharpure wrote:
> >>
> >> Hi,
> >>
> >> The problem is that service is not starting on Vista. The service is
> >> being started through one of the custom actions which is an exe custom
> >> action. The exe depends on some MSVC DLLs which are also deployed along
> >> with the package.
> >>
> >> Is the issue with these DLLs? Does these DLLs are not available when the
> >> exe is trying to start the service? or the problem is with the
> >> permissions?
> >>
> >> Can anyone clarify?
> >>
> >> Thanks in Advance,
> >> Sneha
> >>
> >
> >
>
> --
> View this message in context: 
> http://www.nabble.com/Windows-Service-is-not-started-Custom-Actions-Fail-in-vista-tp15285631p15306500.html
>
> Sent from the wix-users mailing list archive at Nabble.com.
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to