shortcut to file on CDDRIVE not showing up
Posted: Tue Feb 21, 2017 3:57 pm
I've created an installer that includes shortcuts that point to an executable on the $CDDRIVE$. This has worked just fine for years. I'm now using Studio X5, and am creating an installer for windows 10 for the first time. The shortcuts appear and work on windows 7 and older just fine, but don't appear in windows 10.
Now, more specifically, I have tried all sorts of options, including pin to start screen/menu (windows 10), and the shortcut doesn't show up.
The only TYPE of shortcut that DOES work is the $DESKTOPDIR$ one. (see pic). The same shortcut, using $SHORTCUTFOLDER$ or $SHORTCUTFILES$ doesn't appear (see pic). So the end result is that I get a shortcut on the user's desktop that works, but no shortcut to the program in the start menu.
I have other shortcuts to files that point to the $TARGETDIR$ and they work fine. The issue seems to be when pointing to a file on the $CDDRIVE$ (again...works for desktopdir shortcuts, but not shortcutfolder or shortcutfiles).
See pic of the msi code...pretty straightforward, and again...works on windows 7 and prior OS...just not on windows 10. I've reviewed the shortcuts sample project referenced in other forum topics on shortcuts and the code is good. What's unique is I'm not pointing to an file in the targetdir, but rather a file on $cddrive$.
So, wondering what I can do to get this to work. Any fancy coding tricks that would force the shortcut to be created?
Thanks.
Now, more specifically, I have tried all sorts of options, including pin to start screen/menu (windows 10), and the shortcut doesn't show up.
The only TYPE of shortcut that DOES work is the $DESKTOPDIR$ one. (see pic). The same shortcut, using $SHORTCUTFOLDER$ or $SHORTCUTFILES$ doesn't appear (see pic). So the end result is that I get a shortcut on the user's desktop that works, but no shortcut to the program in the start menu.
I have other shortcuts to files that point to the $TARGETDIR$ and they work fine. The issue seems to be when pointing to a file on the $CDDRIVE$ (again...works for desktopdir shortcuts, but not shortcutfolder or shortcutfiles).
See pic of the msi code...pretty straightforward, and again...works on windows 7 and prior OS...just not on windows 10. I've reviewed the shortcuts sample project referenced in other forum topics on shortcuts and the code is good. What's unique is I'm not pointing to an file in the targetdir, but rather a file on $cddrive$.
So, wondering what I can do to get this to work. Any fancy coding tricks that would force the shortcut to be created?
Thanks.