I haven't seen anything here that says that the installation has failed. Are you saying it fails because it shows a files-in-use dialog, or it "fails" because it doesn't behave the way you think it should? Files-in-use dialogs are fairly normal, they are not failures, although in your case if the ServiceControl element was correct you should not see one. The issue here might be that you're in an upgrade, but you're not providing any information about whether this behavior is related to the uninstall of the older product or the install of the new one - both are happening in your upgrade. I don't understand that statement that you get the files-in-use dialog box after the "failed" installation - how can a dialog box show up the installation has failed? I also don't understand why you would exclude a Dll that the service needs.
You should take a verbose log for the upgrade process and try to work out what's happening during the install (at InstallValidate, any files-in-use etc) and during the RemoveExistingProducts at the end where the older product gets uninstalled. There's too much happening during an upgrade to be able to point to where the problems might be, based on your posts. Service stops/starts, file overwrites based on version, failure to follow component rules, failure to name the service correctly are just some of the possible issues. --------------- Phil Wilson On Fri, Feb 28, 2014 at 6:39 AM, faujong <fiefie.ni...@gmail.com> wrote: > Also, I only get the files-in-use message when the installation fails. > For example, if I don't include 1 of the required DLL to run the service, > the service can't be started, so the installation fails. Then, I get the > files-in-use message. > But, if the installation is successful, I don't get the files-in-use > message. > > > > > -- > View this message in context: > http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-not-copy-a-file-in-subsequent-installations-tp7592929p7593013.html > Sent from the wix-users mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Flow-based real-time traffic analytics software. Cisco certified tool. > Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer > Customize your own dashboards, set traffic alerts and generate reports. > Network behavioral analysis & security monitoring. All-in-one tool. > http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis & security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users