-
Jun 27th, 2017, 04:16 PM
#1
Thread Starter
Addicted Member
Inno setup question
My VB6 application contains 5 programs beside the main one, i want to include all of them in the Start menu, no problem here, what i want is grouping by adding menu separator, how can i do?
here is an example of the inno's script [Icons] section explain what i want to do.
Code:
[Icons]
Name: "{group}\Main Program"; Filename: "{app}\Main Program.exe"
;------------------------ I want separator line here
Name: "{group}\Program 1"; Filename: "{app}\Program 1.exe"
Name: "{group}\Program 2"; Filename: "{app}\Program 2.exe"
Name: "{group}\Program 3"; Filename: "{app}\Program 3.exe"
;------------------------ I want separator line here
Name: "{group}\Program 4"; Filename: "{app}\Program 4.exe"
Name: "{group}\Program 5"; Filename: "{app}\Program 5.exe"
;------------------------ I want separator line here
Name: "{group}\Uninstall"; Filename: "{app}\Uninstall.exe"
Last edited by Absolute_Zero; Jun 27th, 2017 at 05:52 PM.
On Error GoTo Hell
-
Jun 28th, 2017, 07:30 PM
#2
Re: Inno setup question
Start Menu folders do not have "separators."
In the past some people would make dummy shortcuts named like "______" and such. This fell apart over time though. It breaks the rules with a little trickery like an all-transparent icon, so it sorta kinda looked OK on ancient versions of Windows. Newer versions of Windows have changed or even replaced the Start Menu with Metro-based alternatives. These still fit the rules but changed the appearance, so rule breakers now crash upon the rocks of ugliness exposing the hackery.
Just don't do it.
While you're at it you might find a less dangerous tool than No No Setup. Misuse of that product is one of the leading causes of DLL Hell, and it is far easier to misuse than to use properly.
-
Jun 30th, 2017, 03:38 PM
#3
Thread Starter
Addicted Member
Re: Inno setup question
Thanks!
I'll go to organize using sub-folders
Code:
[Icons]
Name: "{group}\Main Program"; Filename: "{app}\Main Program.exe"
Name: "{group}\Folder1\Program 1"; Filename: "{app}\Program 1.exe"
Name: "{group}\Folder1\Program 2"; Filename: "{app}\Program 2.exe"
Name: "{group}\Folder1\Program 3"; Filename: "{app}\Program 3.exe"
Name: "{group}\Folder2\Program 4"; Filename: "{app}\Program 4.exe"
Name: "{group}\Folder2\Program 5"; Filename: "{app}\Program 5.exe"
Name: "{group}\Uninstall"; Filename: "{app}\Uninstall.exe"
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|