PDA

View Full Version : Adding Subfolder in the Startup menu



Suguna
10-19-2016, 04:21 AM
Hi,

In our Installshield 2016 project, creating the subfolder and adding the items in the Startup menu.

For that using the AddFolderIcon function.

g_szMenuMainFolder = @IDS_MENU_FOLDER;
szPrgName = @IDS_MENU_PSTSETUPTOOL;
szSubFolder = @IDS_MENU_SUBFOLDER_TOOL;
szCommandLine = g_szTargetDir ^ PROGRAMTARGET ^ PSTSETUPTOOL_EXE;
nResult = AddFolderIcon( g_szMenuMainFolder ^ szSubFolder, szPrgName, szCommandLine, "", "", 0 , "", NULL);

In windows 10 environment, this is not working. Same command is working in Windows server 2008 R2 Sp1.

Please help me to solve this issue

Thanks & Regards,
Suguna

joshstechnij
10-19-2016, 01:08 PM
This is an issue with how the start menu is implemented on Windows 10 (and the start screen on 8.x). Windows will no longer display shortcut folders deeper than the first folder in your shortcut paths. All other folders are ignored, with any shortcuts in those folders being displayed in the root folder instead. You can see this by right-clicking one of the installed shortcuts and selecting 'More -> Open File Location'. The shortcut will be correctly installed in the request folder but the start menu does not display that folder if it isn't the root folder.

Unfortunately there is nothing we can do to change this behavior. You may wish to submit a request to Microsoft through the Windows feedback hub or similar to request this functionality be added back to the start menu.

Suguna
10-20-2016, 12:02 AM
Thanks for the information.