Hello,
Thanks for your reply.
I have checked both versions and everything matches...
The shortcuts in version 1.0 and 1.1 :
- belong to components with same component codes and same component names
- point to a file with same name (FileName column in File table)
- belong to a feature with same name (Feature column in Feature table) and same display name (Title column in Feature table)
The only difference is the shortcut name (Name column in Shortcut table)
And this is the problem... I have changed the shortcut name in version 1.1 to match the shortcut name of version 1.0 (but changed the target file to see if the shortcut was replaced)
Result: shortcut is replaced.
Conclusion: Windows Installer relies on the DISPLAY NAME of a shortcut, not on the shortcut identifier (Shortcut column in Shortcut table)
So, in my case (which is I think a normal case), the only way of doing is to include a Custom Action to remove the shortcut of version 1.0 ?! (unless anyone has another idea)