Prev Previous Post   Next Post Next
Old 28th July 2008, 13:49   #1
Brewster333
Junior Member
 
Join Date: Jul 2008
Location: Ivanovo, Russia
Posts: 16
Question Problem with deleting shortcuts in Vista

Hello!

I've a simple (as it seems) question...
I'm creating a shortcuts in my install by CreatShortcut function:

***
CreateShortCut "$SMPROGRAMS\$StartMenuGroup\$(ProgramName).lnk" "$INSTDIR\${PROGRAM_EXE_NAME}"
**

and kill it in uninstall:

***
Delete "$SMPROGRAMS\$StartMenuGroup\$(ProgramName).lnk"
***

Shortcut is creating in folder "C:\Users\user\AppData\Roaming\Microsoft\Windows\Start Menu\Programs"

But Windows Vista creates a copy in folder "C:\ProgramData\Microsoft\Windows\Start Menu\Programs" and uses shortcut from this folder.
Shortcut is not deleting after uninstalling.

QUESTION: I must delete it in my script or NSIS have a stantard support for Vista shortcut uninstalling?
Thanks for support.
Brewster333 is offline   Reply With Quote
 
Go Back   Winamp & Shoutcast 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