If you use the ServiceControl method you might not get that files- in-use message.
It doesn't roll back because nothing has been changed on the system. That files-in-use dialog happens early, at InstallValidate, before files get updated etc. --------------- Phil Wilson On Thu, Feb 27, 2014 at 11:31 AM, faujong <fiefie.ni...@gmail.com> wrote: > Thank you, Phil ! > > I changed the version to 1.0.2.0, and I deleted the UpgradeVersion element. > I will now only see 1 installation in the Control Panel\Programs\Programs > and Features. Thank you ! > > But, I still need to set Schedule="afterInstallExecute" to NOT override the > config file. > And, with this, when the installation fails, it gave me the prompt "The > following applications should be closed before continuing the install: > WixWindowsService2012". And, it asks me to select > -Automatically close applications and attempt to restart them after setup is > complete. > -Do not close applications. (A Reboot may be required). > When I select either of option button, and click OK, it will NOT roll back > to previous version. > And, the only way to roll back the installation is to click on the Cancel > button. > > > > -- > View this message in context: > http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-not-copy-a-file-in-subsequent-installations-tp7592929p7592990.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