Changi
29th June 2003 02:29 UTC
how to make a CreateShortCut icon title?
This just seems so obvious that it must go without saying, but nevertheless, I just can't seem to find the correct procedure to create a title for my desktop icon.
Whenever I use CreateShortCut the only title I can create is the filename of the program it links to, such as "nucaasio.exe" when what I really want is "Nuca AsIO".
Is this possible??? Thanks.
- Changi
Joel
29th June 2003 02:56 UTC
Sure:
CreateShortCut "$DESKTOP\${MUI_PRODUCT} \
${MUI_VERSION}.lnk" "$INSTDIR\main.exe" "" "$INSTDIR\main.exe" \
0 "SW_SHOWNORMAL" "" "Hello ${MUI_PRODUCT}"
; The String "Hello ${MUI_PRODUCT}" is the title
:)
Lilla
29th June 2003 03:04 UTC
Like this:
CreateShortCut "$DESKTOP\Uninstall.lnk" "$INSTDIR\Uninstall.exe"
CreateShortCut "$DESKTOP\Uninstall_MyProgram.lnk" "$INSTDIR\Uninstall.exe"
CreateShortCut "$DESKTOP\NameThisWhatEverYouWant.lnk" "$INSTDIR\Uninstall.exe"
Another example...
CreateShortcut "$DESKTOP\cleanNdefrag.lnk" "$INSTDIR\gui4cli.exe" "$\"$INSTDIR\cleanNdefrag\cleanNdefrag.gui$\" -instance Scripts_byLilla -NOPREFS"