I wrote a very simple routine that will download the latest .exe file from my website. Then simply kill the old .exe and replace it with the new one. This worked 100% on XP but I cannot do it on Vista. I have tried all other means. Compressing the file, renaming it to a .txt file etc. As soon as I try to rename it to .exe (FileCopy updfile.txt, myapp.exe) then it is unable to do that.

Is there any backdoor way. I don't want my end users to deploy and entire install set simply to replace the .exe file.

I have tried to run as administrator with and without the UAC turned on.

If I solve this problem then my app will finally run on Vista...

Please Help.

Chris