With Windows 7 and the introduction of new Taskbar with jumplist etc it is a
good bet that many applications installing using MSI packages will make use
of the MsiShortcutProperty table. Makes your application shine and all
that...
In some rare circumstances (less than 5% of installs) when using this table
in an MSI I have seen error 1946 come up. This is a warning really but
typically will stop the install until the user acknowledges it so is an
annoyance. In each case the associated system error code is 32 which is
ERROR_SHARING_VIOLATION.
It's important to note that this particular problem has nothing to do with
incorrect or badly formatted PropertyKey/PropVariantValue field contents.
The exact same MSI can be installed fine (with correct property values set
in all the LNK files) and then subsequently removed and installed again only
to receive the warning. Similarly after seeing the warning the same install
can succeed twenty more times in succession.
I am interested to know whether or not others have come across this
behaviour.
Sincerely,
Adrian Accinelli