Thanks for the reply Phil,

Sorry did reply sooner I missed your reply, I assumed my message went
missing. It seems that the service I am attempting to start expect an
event source to be created before it will run - another issue I'm having
with WIX 2.0, I can't set an event source up. The error number I get is
after trying to start it up is:

StartServices: Service: ISRM_S
Error 1920. Service 'ISRM_S' (ISRM_S) failed to start. Verify that you
have sufficient privileges to start system services.


However if I manually create the event source on the command line before
attempting to install I get the same result so it's can't be this....
although i do still need to do this.

I think I may have fixed it, it turns out that this service requires the
.net framework to be installed! Always the last to know.

Simon



------------------------------

Message: 5
Date: Mon, 28 Sep 2009 09:53:17 -0700
From: "Wilson, Phil" <phil.wil...@wonderware.com>
Subject: Re: [WiX-users] Network Service Install
To: General discussion for Windows Installer XML toolset.
        <wix-users@lists.sourceforge.net>
Message-ID:
        
<5c889913ff236e4190093af280ab4ec40186636...@wwlkfmail1.wonderware.com>
Content-Type: text/plain; charset="us-ascii"

Keep in mind that the "sufficient privileges" message is a generic one
that it pops out whenever something goes wrong with a service.  The
error number is more useful, but you didn't report it. There's some
differentiation between the error being an install error, a start error,
stop error etc.  

Phil Wilson 


-----Original Message-----
From: Simon Topley [mailto:simon.top...@wallingfordsoftware.com] 
Sent: Monday, September 28, 2009 3:37 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Network Service Install

Hello again ya'll,

So I'm still having issues with the new set of installer I'm putting
together specifically the installation of a Network Service. My dev
system is a x64 XP and i can get it to work fine on this with:

<ServiceInstall Id='ISRM_S.exe' Description='InfoStream - Remote
Marshalling Service' DisplayName='ISRM_S' Name='ISRM_S'
          ErrorControl='normal' Start='auto' Type='ownProcess'
Vital='yes' Account='NT AUTHORITY\NetworkService'
Arguments='[RMSPORT]'/>

However this fails if i try it on a 32 bit XP install. the same can be
said for these accounts:


NT AUTHORITY\Network Service
NT AUTHORITY\{S-1-5-20}
NT AUTHORITY\S-1-5-20
{S-1-5-20}
S-1-5-20
NetworkService
Network Service


All of these fail saying I don't have sufficient privileges on XP 32,
but 'NT AUTHORITY\NetworkService' works fine on my x64 system.
Seems a lot of people have had this same issue with various languages /
os versions and no real conclusions seem to have been met. Surely
hundreds if not thousands of people are out there installing network
services on multiple OS's every day. 

Simon
Disclaimer: This electronic communication and its attachments may contain 
confidential, proprietary and/or legally privileged information which are for 
the sole use of the intended recipient. If you are not the intended recipient, 
any use, distribution, or reproduction of this communication is strictly 
prohibited and may be unlawful; please contact the sender and delete this 
communication. MWH does not warrant or make any representation regarding this 
transmission whatsoever nor does it warrant that it is free from viruses or 
defects, correct or reliable. MWH is not liable for any loss or damage that 
occurs as a result of this communication entering your computer network.

The views expressed in this message are not necessarily those of MWH. This 
communication cannot form a binding agreement unless that is the express intent 
of the parties and they are authorized to make such an agreement. MWH reserves 
all intellectual property rights contained in this transmission. MWH reserves 
the right to monitor any electronic communication sent or received by its 
employees. This communication may come from a variety of legal entities within 
or associated with the MWH group.

For a full list of details for these entities please see our website at 
www.mwhglobal.com. Where business communications relate to the MWH UK Limited 
entity, the registered office is Terriers House, 201 Amersham Rd, High Wycombe, 
HP13 5AJ Tel: 01494 526240 and the company is registered in England as 
registration number 01188070. Where business communications relate to the MWH 
Constructors Limited entity, the registered office is as above and the company 
is registered in England as registration number 04635724. Where business 
communications relate to the MWH Soft Limited entity, the registered office is 
as above and the company is registered in England as registration number 
6975921.


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to