The MSI I created using Wix installs a windows service by dumping the files in a target path and starting the service from that path. The service is not installed as such, it is just restarted using the ServiceController element, since the path would already contain files from a previous manual install. This is the first automated install using MSI.
I noticed that when files(in my case exe, some dependent dlls and config) are already present in the target dir, the <File> element in my .wxs file does not replace the existing files with the new ones from the installer. However for a fresh install (in the sense target directory is empty before running the installer), the latest files are copied!! A typical <File> element in my .wxs looks like this. <File Id="Service.exe" Source="../bin/Release/Service.exe" KeyPath="yes" ></File> <File Id="Host.exe.config" Source="../bin/Release/Service.exe.config"></File> Whats going on? Pls help ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users