Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 29th June 2003, 01:29   #1
Changi
Junior Member
 
Join Date: Jun 2003
Posts: 1
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
Changi is offline   Reply With Quote
Old 29th June 2003, 01:56   #2
Joel
Debian user
(Forum King)
 
Joel's Avatar
 
Join Date: Jan 2003
Location: Arch land
Posts: 4,898
Sure:

code:

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




* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux w/ xfce4.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Debian unstable w/ xfce4.
Joel is offline   Reply With Quote
Old 29th June 2003, 02:04   #3
Lilla
Junior Member
 
Join Date: Jun 2003
Posts: 46
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"
Lilla is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump