Ours allows for both.  Currently the installer installs the service by default; 
 but the .NET code allows you to install/uninstall directly from the command 
line as well.

-----Original Message-----
From: Rune Moberg [mailto:jjfl...@gmail.com] 
Sent: Wednesday, January 26, 2011 1:09 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] ServiceInstall and KeyPath

On Tue, Jan 25, 2011 at 6:14 PM, Christopher Painter 
<chr...@deploymentengineering.com> wrote:
> I would suggest that if the user doesn't install the feature that 
> contains the service component that he could go into Add/Remove 
> Programs ( Programs and Features ) and use the Maintenance UI 
> experience to add ( or remove ) that feature whenever he needs to.

I am trying to balance the needs of those intimately familiar with a command 
line (who would actually prefer invoking "someservice.exe -i") and the needs of 
those who prefer letting the installer handle it.
(think of a remotely managed server and what kind of approach lends itself to 
using a simple psexec in the hour of need, and which approach requires fiddling 
about with the mouse or reading up on lots of documentation to be able to 
handle it from a remotely executed
script)

By installing the executable in all scenarios, I waste about 100 KB per 
component. OTOH, having documentation reflect that they can find the missing 
component by invoking add/remove will also waste about 100 KB somewhere...

Further more, my local admins prefer installing the whole package and then 
simply copy the bin\ directory to their dozen or so servers. In that case they 
have no interest at all of actually registering the services on their temporary 
deploy machine. But some of our external customers love the ease-of-use 
installer.

But I can trigger a custom action based on the installation state of a given 
component?
"$MyComponent &gt; 2" as a condition should suffice?

--
Rune

------------------------------------------------------------------------------
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