I have the following situation:
- Installed my application using ordinary .msi
- Run the application from the start menu
- Right click on the icon in the task bar and pin it.
Now, I can use the pinned item/short cut to start my application but after I update my app using another .msi file, clicking on the pinned item shows this error:
'Problem with shortcut' - The parameter is incorrect.
I have checked the short cut and as far as I can see it points to the same directory/file as the previous version. (the new version has the same files/location). I assume that there is some versioning/Program Files magic happening that causes this issue but haven't found any good information on the net.
Some more information:
- The application is written in C# .NET 3.5 SP1
- The msi is created using a Setup Project in Visual Studio 2008 SP1
- I use a custom build tool to integrate the msi build and set the ProductCode and PackageCode to a new GUID for every version.
- The update seems to work fine otherwise. The old version is uninstalled, the new one installed correctly.
Anyone got a clue?