Details
-
Bug
-
Resolution: Done
-
P2: Important
-
None
-
4.1.1
-
b43f06e569a983ae273560f769ec8e6893515750 (installer-framework/installer-framework/4.1)
Description
When a shortcut is created for all users with arguments passed, the arguments are ignored.
Here when @AllUsersStartMenuProgramsPath@ is used, "testArgument" is simply ignored.
component.addElevatedOperation("CreateShortcut", "@TargetDir@/untitled40.exe", "@AllUsersStartMenuProgramsPath@/README.lnk", "testArgument" , "workingDirectory=@TargetDir@", "iconPath=%SystemRoot%/system32/SHELL32.dll", "iconId=2", "description=Open README file");
It works fine when shortcut is created for current user i.e. with @UserStartMenuProgramsPath@.
Please refer to a sample attached.
Attachments
For Gerrit Dashboard: QTIFW-2257 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
352193,4 | Doc: add note about limitation with CreateShortcut on Windows | 4.1 | installer-framework/installer-framework | Status: MERGED | +2 | 0 |