Gonzalo Diethelm wrote:
The only reason not to use ServiceInstall and ServiceControl is the
DRY principle (Don't Repeat Yourself).Since I MUST provide a way for
users to start/stop/install/delete the service from the console, I
don't want to replicate that mechanism anywhere else, hence the very
simple actions in a DLL that invoke these operations.
Both DRY and Occam's Razor include the term "unnecessarily." Correctly
handling service installation isn't "simple," so this is a case where
repeating the information has value.
--
sig://boB
http://joyofsetup.com/
-------------------------------------------------------------------------
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