From 8b344748b7059ade811c7b0f28c4458b0d01eb4d Mon Sep 17 00:00:00 2001 From: Frerich Raabe Date: Mon, 11 Jan 2016 16:21:31 +0100 Subject: Added support for setting descriptions of Windows shortcuts This patch extends the CreateShortcut operation on Windows such that it recognizes a new optional 'description' argument - if specified, it's used to set the description (AKA "comment") of the Windows shortcut. Change-Id: Ib0ab48bd30e83d9cc89b1bad7d2b88e9109bdcea Reviewed-by: Katja Marttila --- .../startmenu/packages/org.qtproject.ifw.example/meta/installscript.qs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') diff --git a/examples/startmenu/packages/org.qtproject.ifw.example/meta/installscript.qs b/examples/startmenu/packages/org.qtproject.ifw.example/meta/installscript.qs index c1ae45054..ecc4ef8ac 100644 --- a/examples/startmenu/packages/org.qtproject.ifw.example/meta/installscript.qs +++ b/examples/startmenu/packages/org.qtproject.ifw.example/meta/installscript.qs @@ -45,6 +45,6 @@ Component.prototype.createOperations = function() if (systemInfo.productType === "windows") { component.addOperation("CreateShortcut", "@TargetDir@/README.txt", "@StartMenuDir@/README.lnk", "workingDirectory=@TargetDir@", "iconPath=%SystemRoot%/system32/SHELL32.dll", - "iconId=2"); + "iconId=2", "description=Open README file"); } } -- cgit v1.2.3