This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- How to arrange Shortcuts installation order
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Nov 17, 2011
09:11 PM
How to arrange Shortcuts installation order
I thought it should be simple but I could not find a way to re-arrange shortcuts orders in the installation project.
What I need is to add a new shortcut into exsiting shortcuts. But InstallShield only allows me to add the shortcut into the bottom of the shortcut list. But I want to insert the new shortcut in the middle of the shortcut list.
Appreciate your help if you know how to achieve the little thing.
What I need is to add a new shortcut into exsiting shortcuts. But InstallShield only allows me to add the shortcut into the bottom of the shortcut list. But I want to insert the new shortcut in the middle of the shortcut list.
Appreciate your help if you know how to achieve the little thing.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Nov 20, 2011
07:31 PM
If I think I understand what you're doing, then in reality, it shouldn't actually matter. Whatever order you create the shortcuts in InstallShield won't affect the order in which they're displayed in Windows in your installation.
Under XP, you could make shortcuts appear in a specific order, but I think under Vista and Win7, that actually doesn't work, or doesn't work well at least. It uses some weird logic for displaying shortcut order based on alphabetical order and name length. So even if you did create the shortcuts in InstallShield in the order you wanted, I doubt that your installation they would be displayed in that specific order.
If you want to directly control your shortcut creation order you can make them manually with: AddFolderIcon() something like below...
if (AddFolderIcon( FOLDER_PROGRAMS ^ IFX_COMPANY_NAME, IFX_PRODUCT_NAME, szCmdLine, szWorkingDir, szIconPath, nIcon, szShortCutKey, REPLACE ) < 0) then
Under XP, you could make shortcuts appear in a specific order, but I think under Vista and Win7, that actually doesn't work, or doesn't work well at least. It uses some weird logic for displaying shortcut order based on alphabetical order and name length. So even if you did create the shortcuts in InstallShield in the order you wanted, I doubt that your installation they would be displayed in that specific order.
If you want to directly control your shortcut creation order you can make them manually with: AddFolderIcon() something like below...
if (AddFolderIcon( FOLDER_PROGRAMS ^ IFX_COMPANY_NAME, IFX_PRODUCT_NAME, szCmdLine, szWorkingDir, szIconPath, nIcon, szShortCutKey, REPLACE ) < 0) then