Menu

#2498 Installer: Use correct way to create start menu web link

Branch_+_Trunk
closed-fixed
nobody
Installer (111)
5
2008-03-17
2008-03-13
Tim Gerundt
No

This patch for the installer use the correct way to create a web link in the windows start menu:

Index: Installer/InnoSetup/WinMerge.iss

--- Installer/InnoSetup/WinMerge.iss (revision 5143)
+++ Installer/InnoSetup/WinMerge.iss (working copy)
@@ -399,16 +399,14 @@
Source: ..\..\Plugins\dlls\insert datetime.sct; DestDir: {app}\MergePlugins; Flags: IgnoreVersion CompareTimeStamp; Components: Plugins
Source: ..\..\Plugins\dlls\*.dll; DestDir: {app}\MergePlugins; Flags: promptifolder; Components: Plugins

-[INI]
-Filename: {group}\{cm:ProgramOnTheWeb,WinMerge}.url; Section: InternetShortcut; Key: URL; String: http://WinMerge.org/; Check: GroupCreated

-
[Icons]
;Start Menu Icons
Name: {group}\WinMerge; Filename: {app}\{code:ExeName}
Name: {group}\{cm:ReadMe}; Filename: {app}\Docs\ReadMe.txt; IconFileName: {win}\NOTEPAD.EXE
Name: {group}\{cm:UsersGuide}; Filename: {app}\Docs\WinMerge.chm
Name: {group}\{cm:UninstallProgram,WinMerge}; Filename: {uninstallexe}
+Name: {group}\{cm:ProgramOnTheWeb,WinMerge}; Filename: "http://winmerge.org/"

;Link to translated ReadMe in Start Menu
Name: {group}\{cm:ReadMe}; Filename: {app}\Docs\ReadMe-Bulgarian.txt; IconFileName: {win}\NOTEPAD.EXE; Languages: Bulgarian
@@ -527,7 +525,6 @@
Name: {app}\Formats; Type: filesandordirs
Name: {app}\Lang; Type: filesandordirs

-Name: {group}\{cm:ProgramOnTheWeb,WinMerge}.url; Type: Files
Name: {group}; Type: dirifempty
Name: {app}; Type: dirifempty

Greetings,
Tim

Discussion

  • Tim Gerundt

    Tim Gerundt - 2008-03-13

    patch file

     
  • Kimmo Varis

    Kimmo Varis - 2008-03-14

    Logged In: YES
    user_id=631874
    Originator: NO

    Looks good. I think this is a good for 2.8 branch. I don't think this can cause any other problems.

     
  • Tim Gerundt

    Tim Gerundt - 2008-03-17

    Logged In: YES
    user_id=652377
    Originator: YES

    Committed to SVN:

    * In Revision 5156 (Trunk)
    * In Revision 5157 (Branch R2_8)

     
  • Tim Gerundt

    Tim Gerundt - 2008-03-17
    • milestone: 438013 --> Branch_+_Trunk
    • status: open --> closed-fixed
     

Log in to post a comment.