I am trying to upgrade my program's installation. I changed the code from x.x.x to x.y.y and then was prompted to generate another product code, which I said YES to. I saved it and then proceeded to the application folder under files and folders and attempted to delete my program's executable since I want to add the newer version to this build. But I got this error:
Cannot delete file, "<MyFileName.exe>": It is referenced from another component.
I tried deleting every reference to it in the build, like where I defined it as a shortcut (desktop folder), and where I used it as a custom action, but still I cannot replace this executable file.
Please advise.