|
|
|
|
#1 |
|
Senior Member
Join Date: Mar 2006
Location: United States
Posts: 109
|
I see now that we are describing two different situations. Yes, your code opens a window immediately. But I am talking about the application desktop item.
Still the shortcut wants a program to be specified before opening. And again, if I open the shortcut, edit it in any manner and close it, it works fine. Section "MainSection" SEC01 MessageBox MB_YESNO "Would you like to have a shortcut on your desktop?" IDNO +2 Call DesktopShortcut Function DesktopShortcut SetOutPath $appdata ;"random" outdir CreateShortCut "$DESKTOP\${DESKTOP_NAME}.lnk" "$INSTDIR\${PRODUCT_NAME}" "" "${MUI_ICON}" FunctionEnd Last edited by SteveRussell; 28th February 2010 at 04:33. |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|