Visual Studio 2022 Setup Project installs Menu and Desktop Shortcuts but then deletes them.

Philip Dodd 0 Reputation points
2025-02-19T16:27:54.53+00:00

I have just upgraded to a new Windows 11 Desktop and Visual Studio 2022.

I am going through all my Visual Basic 2008 applications and updating them in VS 2022.

With several of them, when I run the Setup.exe, I can see the desktop shortcut being created but just before the end of the installation it is then deleted again. The menu item which should also be installed is not there.

Running the Setup.exe again and selecting the repair option then puts the desktop shortcut and the menu item back.

Where am I going wrong?

Deployment
Deployment
The process of delivering, assembling, and maintaining a particular version of a software system at a site.
9 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.