??? Sorry, I don't have any idea about this theme. I'm copy in many emails, and I don't understand how I could help.
Regards Mili -----Original Message----- From: Rune Moberg [mailto:jjfl...@gmail.com] Sent: lunes, 14 de febrero de 2011 14:44 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] WCF server cannot connect to the remote database. On Mon, Feb 14, 2011 at 1:10 PM, Christopher Painter <chr...@deploymentengineering.com> wrote: > For #4, you are right, it is simple. I can do it in one line of XML > in WiX and let MSI handle the details. For developers I can do it in > 1 line of .BAT using the SC command. And, no, your InstallUtil code will > not be better. Using batch files, adding yet another way of registering your services? Which is exactly the solution I'm replacing. Why not use srvany.exe while you're at it..? Code duplication is frowned upon. Having service registration information residing in batch files means you've done just that. Not to mention that admins familiar with the '-i' command line switch have to deal with your services in yet a different way. Cristopher, I am not saying that "my" solution is the optimal. What I am saying is that <ServiceInstall> does not fully satisfy the KISS principle. Adding batchfiles to handle the other cases is a big clue as to why it isn't satisfactory. Some improvements here would be most helpful, at least to me! It is useful with a unified way of registering an executable as a service. _Currently_, the .Net platform offers the Installer framework. It has its downsides as you point out, but... It is still the lesser of the evils presented so far! A more metainfo-based replacement could perhaps solve the remaining issues? -- Rune ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users