You need to have code to remember the value of the property so it is available 
in uninstall and repair.  See 
http://robmensching.com/blog/posts/2010/5/2/the-wix-toolsets-remember-property-pattern/
 

--
John Merryweather Cooper
Senior Software Engineer | Integration Development Group | Continuing 
Development
Jack Henry & Associates, Inc.® | Lenexa, KS  66214 | Ext:  431050 
|jocoo...@jackhenry.com



-----Original Message-----
From: Joseph L. Casale [mailto:jcas...@activenetwerx.com] 
Sent: Thursday, March 5, 2015 3:06 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] ServiceInstall/ServiceControl name attribute 
restrictions

Trying that again...

When I pass a variable reference such as "[FOO]_[BAR]" to the name attribute of 
both a ServiceInstall and ServiceControl element the package installs fine 
however when uninstalling the service is left running without being stopped and 
removed. When I pass a literal string, the package uninstalls fine.

The docs do not indicate any restrictions, does anyone know of any reason this 
may occur?

Thanks,
jlc
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored 
by Intel and developed in partnership with Slashdot Media, is your hub for all 
things parallel software development, from weekly thought leadership blogs to 
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
NOTICE: This electronic mail message and any files transmitted with it are 
intended
exclusively for the individual or entity to which it is addressed. The message, 
together with any attachment, may contain confidential and/or privileged 
information.
Any unauthorized review, use, printing, saving, copying, disclosure or 
distribution 
is strictly prohibited. If you have received this message in error, please 
immediately advise the sender by reply email and delete all copies.


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to