I've been trying to make an installer for an exe file, yet I can't seem to get it work. Whenever the setup.exe is run, it errors with the message
Setup has detected that C:\Users[name]\AppData\Local\Temp\VSD4F7F.tmp\vcredist_x64\vc_redist.x64.exe has been changed since it was initially published
I attempted to make it download from the same location as my PC, but that too didn't work as when it was building the solution it errored saying that the files were not found. I put the right files in the Packages folder, yet it still didn't work.
For reference, I'm using a 64 bit PC to develop, the exe was designed for 64 bit, and the clean PC that I'm testing on is 64 bit. I'm also using Windows 10 and Visual Studio 2019.