Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 16th February 2011, 08:10   #1
Larsey
Junior Member
 
Join Date: Feb 2011
Posts: 1
How do i uinstall Program files\FOLDERNAME and Start menu\FOLDERNAME?

I've made a installer for my application that makes a folder in the Start menu, containing link to exe file and the uinstaller. It also creates a folder in the Program files(x86), but the uinstaller does not uinstall either of them.

some code on what im doing:

code:
section "Uninstall"

delete $INSTDIR\uinstaller.exe
delete "$SMPROGRAMS\NAME\EXEFILE.lnk"
delete "$SMPROGRAMS\NAME\Uninstaller.lnk"
RMDir "$SMPROGRAMS\NAME"



Anyone have a clue?
Larsey is offline   Reply With Quote
Old 16th February 2011, 09:12   #2
Marshall7a
Junior Member
 
Join Date: Oct 2004
Location: UK
Posts: 33
Is that your actual code? I'll bet that you haven't really created a folder called "NAME" or a shortcut called "EXEFILE.lnk"

You need to post your actual code in order for anyone to see why it might not be working.
Marshall7a is offline   Reply With Quote
Old 17th February 2011, 12:29   #3
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
Also make sure you are deleting from the correct folder (i.e. SetShellVarContext). If you are installing on Vista/7 then you have to use SetShellVarContext all as explained here: http://nsis.sourceforge.net/Shortcut..._Windows_Vista

Stu
Afrow UK is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Tags
uinstall delete folder

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