In general, you should implement the 'remember property' <http://robmensching.com/blog/posts/2010/5/2/the-wix-toolsets-remember-property-pattern/> pattern to recover data that you will need for repair or uninstall. However for finding the account that a service is using you could do a RegistrySearch something like this (The Object registry key value-name is set to a service's account name):
<Property Id="SERVICE_ACCOUNT"> <RegistrySearch Id='SERVICE_ACCOUNT' Root='HKLM' Key='SYSTEM\CurrentControlSet\services\Service_Key' Name='Object' Type='raw'/> </Property> -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/keep-service-accont-info-on-reinstall-tp7599261p7599264.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users