I know from experience that this can be done from an installer perspective.  
However, one gotcha that I've seen over the years is that at one company 
someone 
had written a C++ windows service that would fail if the service wasn't 
installed at the service name the application code expected.   At other 
companies I worked at their .NET services had no problems being run in side by 
side directories as different transformed service names.

I don't think this was a C++ vs .NET thing just a function of how that 
particular developer had written his C++ code.  I.e. YMMV and keep it in mind.




----- Original Message ----
From: Ruslan Albu <ruslan.a...@kurtosys.com>
To: wix-users@lists.sourceforge.net
Sent: Fri, January 14, 2011 5:42:39 AM
Subject: [WiX-users] The same Windows Service installed under different names

I have created an installation for Windows Service and everything works
well. Next I need to allow the same service to be installed more times
under different names. For example, if I have the service 'MyService' I
need to install two services MyServiceChart and MyServiceImage. These
names will appear in MMC.

There are two issues with this:

1.      I need a way to specify the last bit (Chart or Image) for the
DisplayName attribute in the ServiceInstall element in .wxs file.  I'm
thinking to add a new dialog in UI with a textbox on it and append this
value to the DisplayName. Is this possible?

2.      When I start the MSI the 'Change repair or remove installation'
dialog pops up. I recon I can get rid of this and have the standard
dialog to allow to install a new instance by changing the Product GUID
to *. But in this case I will not be able to update/patch the current
installation.

Is it possible to implement this in WIX? How can I tackle these issues?

Thanks

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



      

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to