From 5409e2f56265639454a0f97270de7e584d949120 Mon Sep 17 00:00:00 2001 From: kh1 Date: Thu, 20 Jun 2013 13:28:33 +0200 Subject: Allow to add an icon to the link, update example to show all args. Task-number: QTIFW-299 Change-Id: I5ba2560cc57fdf3980466df98cd64420aeefac20 Reviewed-by: Niels Weber Reviewed-by: Tim Jenssen --- .../packages/org.qtproject.ifw.example/meta/installscript.qs | 4 +++- 1 file changed, 3 insertions(+), 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 abd9c0802..0e6172a05 100644 --- a/examples/startmenu/packages/org.qtproject.ifw.example/meta/installscript.qs +++ b/examples/startmenu/packages/org.qtproject.ifw.example/meta/installscript.qs @@ -50,6 +50,8 @@ Component.prototype.createOperations = function() component.createOperations(); if (installer.value("os") === "win") { - component.addOperation("CreateShortcut", "@TargetDir@/README.txt", "@StartMenuDir@/README.lnk"); + component.addOperation("CreateShortcut", "@TargetDir@/README.txt", "@StartMenuDir@/README.lnk", + "workingDirectory=@TargetDir@", "iconPath=%SystemRoot%/system32/SHELL32.dll", + "iconId=2"); } } -- cgit v1.2.3