Thank you, Phil. I do use the ServiceControl as below: <Component Id="ProductComponent" Win64="yes"> <File Id="WixWindowsService2012.exe" Name="WixWindowsService2012.exe" Source="$(var.WixWindowsService2012.TargetPath)" Vital="yes" KeyPath="yes" DiskId="1"/> <ServiceInstall ....></ServiceInstall> <ServiceControl Id="StartService" Start="install" Stop="both" Remove="uninstall" Name="WixWindowsService2012" Wait="yes" /> </Component>
>It doesn't roll back because nothing has been changed on the system. Actually, when this dialog box shows up (also after the failed installation finished without rolling back to the previous version), I checked the installed folder, and it had replaced the .EXE with the one in the installer, and it also has deleted a .DLL that was there in the previous installation, but not in this new installation. So things have changed. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-not-copy-a-file-in-subsequent-installations-tp7592929p7592996.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