Add hotkey and quicklaunch tasks to Win32 installer
authorJoachim Breitner <mail@joachim-breitner.de>
Thu, 31 Dec 2009 17:09:50 +0000 (17:09 +0000)
committerJoachim Breitner <mail@joachim-breitner.de>
Thu, 31 Dec 2009 17:09:50 +0000 (17:09 +0000)
setup.iss.in

index e129ef7..124cdf9 100644 (file)
@@ -20,6 +20,10 @@ SolidCompression=yes
 ; LicenseFile=LICENSE\r
 InfoBeforeFile=README.Win32\r
 \r
+[Tasks]\r
+Name: quicklaunch; Description: "Add Screen Message icon to the Quick Launch Bar"\r
+Name: hotkey; Description: "Launch Screen Message via Ctrl+Alt+S"\r
+\r
 [Files]\r
 Source: "sm.exe"; DestDir: "{app}\bin"\r
 Source: "@WIN32_GTK@\etc\*"; DestDir: "{app}\etc"; Flags: recursesubdirs\r
@@ -42,8 +46,11 @@ Source: "@WIN32_GTK@\bin\libexpat*.dll"; DestDir: "{app}\bin"
 Source: "@WIN32_GTK@\bin\libatk*.dll"; DestDir: "{app}\bin"\r
 \r
 [Icons]\r
-Name: "{group}\Screen Message"; Filename: "{app}\bin\sm.exe"\r
+Name: "{group}\Screen Message"; Filename: "{app}\bin\sm.exe"; Tasks: not hotkey\r
+Name: "{group}\Screen Message"; Filename: "{app}\bin\sm.exe"; Hotkey: "ctrl+alt+s"; Tasks: hotkey\r
 Name: "{group}\{cm:UninstallProgram,arbtt}"; Filename: "{uninstallexe}"\r
+Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\Screen Message"; Filename: "{app}\bin\sm.exe"; Tasks: quicklaunch\r
+\r
 \r
 [Languages]\r
 Name: "english"; MessagesFile: "compiler:Default.isl"\r