Is it that you are shortening it or that Name != Description.

Wix only makes MSI easier. MSI only creates the shortcuts, Windows is 
responsible for displaying the shortcuts (and their descriptions).

I suspect you'd see the same behavior if you created the shortcuts manually in 
your start menu. 

-----Original Message-----
From: Kai Peters [mailto:kpet...@otaksoft.com] 
Sent: Friday, July 18, 2014 7:56 PM
To: General discussion about the WiX toolset.
Subject: [WiX-users] (no subject)

Among many perfectly fine working shortcut defs I have the one below (strings 
modified to protect the innocent, but length of strings is preserved) 
 
 
<Shortcut
Id="SHORT_MessageCenterShortcut" 
Name="xxxxxxxxxxxxxxxxxx Notification Center" 
Description="xxxxxxxxxxxxxxxxxx Notification Center" 
Target="[MANUFACTURERFOLDER]xxxxxxxxxxxxxxxxxx.exe" 
Icon="NCIcon.ico" /> 
 
When hovering over the menu entry it creates, the hint displayed should be 
 
xxxxxxxxxxxxxxxxxx Notification Center
What is displayed, however, is this 
 
xxxxxxxxxxxxxxxxxx Notification Center
xxxxxxxxxxxxxxxxxx Notification Center 
 
Twice the same line in a dual line hint window. 
 
The issue seems to be string length related - when I shorten the Name string to 
30 characters, things work as expected. 
Any string as long as the one above (or longer) results in this strange 
behavior. 
 
Looks like a buffer overrun or sorts..? Not sure if Windows or WIX is the 
culprit. If it turns out to be Windows, it would be nice if WIX could issue at 
least a warning. 
 
Have other people seen this? 
 
Thanks,
Kai 
 

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to