Re: [WiX-users] password is incorrectly set during ServiceInstall

2006-07-28 Thread Chandra Rentachintala
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=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists

Re: [WiX-users] password is incorrectly set during ServiceInstall

2006-07-28 Thread Rob Mensching
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=lnkkid=120709bid=263057dat=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

Re: [WiX-users] password is incorrectly set during ServiceInstall

2006-07-11 Thread Chandra Rentachintala
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=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] password is incorrectly set during ServiceInstall

2006-07-10 Thread Rob Hamflett
I have a service that installs under LocalSystem.  I found that when I tried 
adding it with a given 
user name, I had to add permissions to that user with a Custom Action.  Even 
Administrator doesn't 
have the rights to change services by default.  When you go to the services app 
it gets given 
permissions then automatically.

Rob

Chandra Rentachintala wrote:
 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=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] password is incorrectly set during ServiceInstall

2006-07-10 Thread Phil Wilson
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=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users