No impersonations myself. This started occurring when there was a problem with 
my Custom UI which among other things prompted for a password. The UI was not 
showing up and so the password was not valid. But the install continued. It got 
to <ServiceIntall> and <ServiceControl> and the <ServiceControl> task failed 
because of an invalid password but the account (my account) that the service 
was installed under was locked out. My administrator indicated that something 
or someone tried and failed too many times so the account was locked out. I 
hate to try it again because it takes I am guessing the Domain Admin to unlock 
the account again and I hate to continually asked the admin to unlock my 
account. Hence the question.

If you have suggestions on how I might implement the custom action to validate 
the credentials I would be very appreciative. That may solve my problem. I have 
a WiX 2.0 script that works right now so I am reasonably sure that my account 
has the proper rights. I have subsequently successfully installed and started 
the service using that installation script.

Kevin Burton
Senior Software Engineer
BUYSEASONS
262-901-2000 Office
262-901-2312 Fax
kev...@buyseasons.com 

-----Original Message-----
From: MikeR [mailto:michael.ru...@gmail.com] 
Sent: Tuesday, February 01, 2011 10:52 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] ServiceInstall failure?


Are you explicitly doing any impersonation of the logon user in custom actions 
yourself?

If you are obtaining logon credentials from the user (via dialog or command
line) I would implement a custom action to validate those credentials before 
you make any system changes and prevent the install from proceeding until you 
have valid credentials.  I would also recommend checking that the account has 
the ServiceLogonRight policy set so to ensure it can be used to run services.

-Mike
--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/ServiceInstall-failure-tp5967359p5981755.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, 
so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to