I've got a component with a windows service executable (it's the Key), and a 
<ServiceInstall> tag as follows:

<ServiceInstall Id="ServiceID" Name="BsHost" DisplayName="Service Display Name" 
Description="Service Description" ErrorControl="normal" Start="auto" 
Type="ownProcess" Vital="yes">

The problem is, when I put out a new version (not an upgrade package, but 
"upgrading" via a fresh product GUID), the settings to the service are set back 
to default.  My desired behavior is that if the user has changed the 
Account/Password for the service manually, I don't want to overwrite that.

Ideally, I want something like "if the service already exists, don't change 
anything".  Note that I can't query the user for username/password, as this 
install needs to support unattend, and the user triggering this install doesn't 
necessarily know the password that the service was configured to run as (if the 
user modified it manually).

Any ideas?

Jason
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to