When you do that through the UI Windows will add the "log on as a service"
right to the account. It will not do that during the MSI install. You'll
need to make sure that account has the right before the install.

Phil Wilson


On Tue, Sep 10, 2013 at 9:38 AM, Swaroop Kare
<swaroop.k...@ifdspercana.com>wrote:

> Hi,
>
>
>
>     I am trying to install a service as below
>
>
>
>     <ComponentGroup Id="TASKSERVICE" Directory="TASKS">
>
>                         <Component Id="TaskMgr"
> Guid="{C66AA6D7-774C-4E4F-A2D1-611B45E540D2}" Permanent="no">
>
>                                     <File Id="TaskMgr"
> Source="$(var.SOURCELOCATION)\TaskMgr.Exe"  KeyPath="yes" />
>
>                                     <ServiceInstall Id="TaskService"
> Arguments="$(var.SERVICEPARAMETER)" Start="auto" Type="ownProcess"
> Vital="yes"    Name="Task Service"    DisplayName="Task Service"
> Description="$(var.TaskServiceDescription)"  Account="domain\user"
> Password="abcd" ErrorControl="ignore"  Interactive="no" />
>
>                                     <ServiceConfig Id="TaskService"
> DelayedAutoStart="no" OnInstall="yes" ServiceName=" Task Service"
> ServiceSid="unrestricted"/>
>
>                                     <ServiceControl Id="TaskService"
> Stop="both"  Remove="uninstall"    Name="Task Service"    Wait="yes" />
>
>
>                         </Component>
>
> </ComponentGroup>
>
>
>
>     After the installation is complete when I go to services and try to
> start the services, I get the error "Error 1069: The service did not
> start due to a logon  failure". And when I only re-enter the same
> password (as sent in wix) and apply I get an acknowledgement message
> "The account domain\user has been granted the Log on as a service
> right". And then if I try to start the service, it gets started.
>
>
>
>    I have checked the msi and the password that is present in the
> serviceInstall table is correct and I think that the password sent to
> windows service during install is incorrect. I am using Wix 3.7 and
> doing an msi build in 64 bit machine.
>
>
>
> Thanks
>
>
>
>
> This email and any files transmitted with it are confidential and intended
> solely for the use of the individual or entity to which it is addressed and
> may contain information which is privileged, confidential or prohibited
> from disclosure or unauthorised use. You are hereby notified that any use,
> any form of reproduction,
> dissemination, copying, disclosure, modification, distribution and/or
> publication of this e-mail message or its attachments other than by it's
> intended recipient is strictly prohibited by the sender. If you have
> received this email in error, please notify the system manager by email at
> ad...@ifdspercana.com
> Please note that any views or opinions presented in this email are solely
> those of the author and do not necessarily represent those of the company.
> Finally, this email has been scanned for the presence of viruses. The
> recipient should also check this email and any attachments for the presence
> of viruses. The company accepts no liability for any damage caused by any
> virus transmitted by this email
>
> ______________________________________________________________________________________
>
> IFDS Percana Group Limited, no. 307152, is registered in Ireland at 16
> Joyce Way, Park West Business Park, Dublin 12, Ireland.
> Directors: Eugene Larmon, Patrick Concannon, William Slattery, Paul O'Neil
> (UK), Simon Hudson-Lund (UK) and Stephen Parkinson (UK)
> IFDS Percana International Managed Services Limited, no. 368022, is
> regulated by the Central Bank of Ireland. Registered in Ireland at 16 Joyce
> Way, Park West Business Park, Dublin 12, Ireland.
> IFDS Percana International Managed Services Limited is a wholly owned
> subsidiary of IFDS Percana Group Limited and provides support services to
> the life and pensions industry.
> Directors: Eugene Larmon, Patrick Concannon, Stephen Parkinson (UK) and
> Paul O'Neil (UK).
> www.ifdspercana.com
>
> ______________________________________________________________________
> This email has been scanned by the Symantec Email Security.cloud service.
> For more information please visit http://www.symanteccloud.com
> ______________________________________________________________________
>
> ------------------------------------------------------------------------------
> How ServiceNow helps IT people transform IT departments:
> 1. Consolidate legacy IT systems to a single system of record for IT
> 2. Standardize and globalize service processes across IT
> 3. Implement zero-touch automation to replace manual, redundant tasks
> http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to