The Installer class is an anti-pattern in setup. You shouldn't use it for
anything.

On Mon, Feb 7, 2011 at 11:49 PM, Rune Moberg <jjfl...@gmail.com> wrote:

> On Tue, Feb 8, 2011 at 8:26 AM, Thai-Hoa Nguyen <taiwa...@hotmail.com>
> wrote:
> > A way to solve this, I no longer use Wix / ServiceInstall.  I used
> InstallUtil.exe instead.  Then the database connection issue goes away.
> > I'm wondering if there is another way to register the WCF service hosted
> by the windows service in Wix--equivalent to InstallUtil.exe.
>
> Does your setup configure the service identically? Runs as the same
> user? If using named pipes to connect to the SQL Server, then your
> service probably have to run as a domain user.
>
> One thing that is easy to miss is that the ServiceInstaller class in
> .Net also uses an EventLogInstaller. I don't think that accounts for
> the problem you're seeing, but that is one difference worth paying
> attention to. (plus checking the event log itself might reveal some
> log entries explaining why you struggle hooking up to the database)
>
> (It would be nice if WiX offered a custom action that would simply
> invoke the Installer class in a given assembly)
>
> --
> Rune
>
>
> ------------------------------------------------------------------------------
> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
> Pinpoint memory and threading errors before they happen.
> Find and fix more than 250 security defects in the development cycle.
> Locate bottlenecks in serial and parallel code that limit performance.
> http://p.sf.net/sfu/intel-dev2devfeb
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>



-- 
virtually, Rob Mensching - http://RobMensching.com LLC
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to