I think there is already a Bug or Feature Request tracking this. Yes, it's possible... just hasn't been done yet.
-----Original Message----- From: Chandra Rentachintala [mailto:[EMAIL PROTECTED] Sent: Friday, July 28, 2006 10:52 AM To: Chandra Rentachintala; [EMAIL PROTECTED]; wix-users@lists.sourceforge.net; [EMAIL PROTECTED] Subject: RE: [WiX-users] password is incorrectly set during ServiceInstall It turned out to be "Local Security Policy" issue than of password. Adding the service user to the "Log on as a service" rights under "Administrative Tools" -> "Local Security policy" /Secutity Settings/Local Policies/User Rights Management" in XP and similar one in 2003 fixed the issue. Apparently setting the logon as user/password thru the services.msc service properties is setting this rights by default, so it was working thru that path. Is it possible to add this as part of the ServiceInstall code in Wix? Thanks to chris leon from wix list for finding this solution. - chandra -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chandra Rentachintala Sent: Tuesday, July 11, 2006 10:09 AM To: [EMAIL PROTECTED]; wix-users@lists.sourceforge.net Subject: Re: [WiX-users] password is incorrectly set during ServiceInstall Yes. It has a $ at the beginning of password. How to overcome this problem as we can't predict what kind of passwords people use at customer locations?. Is there a way to tell wix/msi to take Password string as it is? -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Phil Wilson Sent: Tuesday, July 11, 2006 7:14 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] password is incorrectly set during ServiceInstall Is there a $ at the start of the password? It occurs to me that if Windows Installer is seeing a $ at the start of the password in square brackets it could be attempting to do substitution for a component path (that's what $ at the start of a name means). Phil Wilson -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Phil Wilson Sent: Monday, July 10, 2006 7:48 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] password is incorrectly set during ServiceInstall A dependency issue seems most likely in the circumstances. What happens if you install the service but don't attempt to start it during the installation? Does it start manually from the services applet? If it does you know that the account is fine but something like a dependent Dll or assembly is missing when the service is started. If it doesn'r start at reboot time, this can be a dependency on another service that you haven't configured. As an aside, you should look at MsiHiddenProperties as a way of not exposing passwords in a log! Phil Wilson ________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rob Mensching Sent: Friday, July 07, 2006 6:00 PM To: 'Chandra Rentachintala'; wix-users@lists.sourceforge.net Subject: Re: [WiX-users] password is incorrectly set during ServiceInstall The error message from StartServices is pretty dismal. The same message is presented for pretty much all reasons. More like than not, you service won't start because some dependency is missing or something else. You should be able to try diagnosing the service start while the dialog box is up... ________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chandra Rentachintala Sent: Friday, July 07, 2006 1:41 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] password is incorrectly set during ServiceInstall I have my service installed like this and it installs the service correctly, but service is unable to start due to login failure. <ServiceInstall Id='MyServiceInstall' DisplayName='myservice' Name='myservice' ErrorControl='ignore' Type='ownProcess' Vital="no" Start="auto" Account='[SERVICEDOMAIN]\[SERVICEUSERNAME]' Password='[SERVICEPASSWORD]' /> I traced the logs and the password is correct there. If I set the same password in services.msc, it works fine. ServicePassword has couple of '$' chars in it, if that is of any significance. Anyone hit this issue and found the solution, let me know. Thanks Chandra ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users