Using the latest IA installer (both x2 and x3) and OS Win7 and 8.x, I have no problem creating and using a shortcuts to my program on the Start Menu and Start Screen and Taskbar using the below code. However, on Windows 10 the same code only show the shortcut on the Start Menu and Start Screen but not the Taskbar. I tried installing the IA installer itself on Windows 7, 8 and 10 and experienced the same behavior where on Windows 10, the taskbar shortcut is excluded while on 6 and 8.x, it shows up as expected. Is this a Windows 10 issue/change, the way I am implementing or, a bug in IA?
All suggestions welcome and code snip-its (if necessary) welcome.
text----
Get Common Folder Location Start Menu->Programs Group into SHORTCUTFILES
Install Files C:\Users\PBI\Documents\TestShortcuts\Binn\test.exe to $TARGETDIR$
Create Shortcut $SHORTCUTFILES$\My Shortcut test to $TARGETDIR$\test.exe, Pin to Start Menu, Pin to Taskbar, Pin to Start Screen
text----
Code: Select all
~InstallAware Clipboard Data~
~Comment~
~{7CBFE562-F49A-4F86-81DA-EE30922BDF04}~
~~
~Create Shortcut~
~{E416CC1C-53A4-4112-B3A6-97CCB7960543}~
~$TARGETDIR$\test.exe|FALSE~
~My Shortcut test~
~$SHORTCUTFILES$|FALSE~
~~
~~
~|FALSE~
~|FALSE~
~|~
~0|X78~
~Install Files~
~{C5116797-502B-4220-92C6-DC9D6BA42758}~
~C:\Users\Michael\Documents\Installation Project\TestShortcuts\Binn\test.exe~
~FALSE|~
~$TARGETDIR$~
~FALSE~
~FALSE~
~FALSE~
~FALSE~
~FALSE~
~FALSE~
~FALSE~
~FALSE~
~FALSE~
~Get Folder Location~
~{04A56B0C-8905-49C4-96F3-30BDBF402784}~
~SHORTCUTFILES~
~14~
~TRUE~