Reputation: 497
I have a trouble getting a ClickOnce
, C#, Visual Studio application to install. I get the following error (retyped):
Setup has detected that the file
C:\...\Reportviewer.exe
has changed since it was initially published.
Click OK to retry the download or Cancel to exit Setup.
I deleted the previously existing Reportviewer
, but the error persists. I'm doing this install via VPN (if it matters). What does this actually mean, and what can I do about it?
Upvotes: 0
Views: 5129
Reputation: 497
In the end, I took the ReportViewer prerequisite (and all the other prerequisites, too) out of the published version. We install ReportViewer from here:
http://www.microsoft.com/en-us/download/details.aspx?id=4016
Upvotes: 1
Reputation: 2031
You say that you've deleted the previously existing Reportviewer but there's a strong likelihood that you have some temporary files that are still being referenced during setup.
Try cleaning out any files under C:\Users[Username]\AppData\Local[AppFolderName] or C:\Users[Username]\AppData\Roaming[AppFolderName] manually. If that doesn't work, try using the cleanmgr.exe utility to do a cleanup and then try reinstall.
Upvotes: 0