WINAMP.COM | Forums > Developer Center > NSIS Discussion > Advanced Uninstall Log NSIS header |
Last Thread
Next Thread
|
| Author |
|
|
Red Wine Forum King
Registered: Mar 2006 |
Advanced Uninstall Log NSIS header
Advanced Uninstall Log is a macro system provided in a NSIS header that __________________ |
||
|
|
|
zeeh3 Senior Member
Registered: Aug 2005 |
Cool, Red Wine. My suggestion is to enable multilanguage support for the messages. |
||
|
|
|
Red Wine Forum King
Registered: Mar 2006 |
__________________ |
||
|
|
|
Comm@nder21 Major Dude
Registered: Jul 2003 |
you definetly should wait for nsis 2.24, where a whole bunch of preprocessor enhancements will make life easier __________________ |
||
|
|
|
Red Wine Forum King
Registered: Mar 2006 |
__________________ |
||
|
|
|
Red Wine Forum King
Registered: Mar 2006 |
Nice job TobbeSweden __________________ |
||
|
|
|
TobbeSweden Senior Member
Registered: Oct 2006 |
Done. http://nsis.sourceforge.net/Advanced_Uninstall_Log_NSIS_Header#Modifications |
||
|
|
|
HenrikG Junior Member
Registered: Dec 2007 |
Hi! code: I was going to ask for help, but this turned into an advice for people having similar problems with RmDir: Upgrade Nsis! Thanks for the script Red Wine! Though I would have liked some more comments in the source code... (AdvUninstLog.nsh) Best regards /Henrik |
||
|
|
|
high1 Junior Member
Registered: Apr 2007 |
Unicode version
Hey, Red Wine. First, I want to say thanks for your header - it should come with NSIS by default, if you ask me. |
||
|
|
|
Red Wine Forum King
Registered: Mar 2006 |
Re: Unicode version
__________________ |
||
|
|
|
high1 Junior Member
Registered: Apr 2007 |
With some tinkering and a lot of help from Jim who is responsible for the NSIS Unicode patch, I got the header working. Modifying the header is trivial, and includes replacing FileRead and FileWrite calls with FileReadUTF16LE and FileWriteUTF16LE. You also need to write a BOM at the begging of the file to make it unicode. But the header uses FileJoin macro from TextFunc header, and it can not deal with unicode files, so I had to replace the call for FileJoin with a custom macro inside the header - FileJoinUTF. It is a modification of FileJoin and all the credits go to it's author. Here is the patched header :
|
||
|
|
|
Tintera Junior Member
Registered: Mar 2008 |
Thank you for the header. Looks good. Does anyone tryed it with the add / remove features section in installer? |
||
|
|
|
Government-Man Junior Member
Registered: Aug 2008 |
Please tell me how to customize uninstall program's directory and name using this header? |
||
|
|
|
sphynx07 Junior Member
Registered: Jul 2008 |
Just want to ask, what if i only want to pop-up the dialog that is only for directory excluding for the files pop-up dialog using this AdvUninstLog.nsh. thanks |
||
|
|
|
Red Wine Forum King
Registered: Mar 2006 |
__________________ |
||
|
|
|
sphynx07 Junior Member
Registered: Jul 2008 |
Thanks Red Wine. |
||
|
|
|
Red Wine Forum King
Registered: Mar 2006 |
I understand what you're trying to achieve though as I suggested above you'd need to work with the existing code or write a new one. __________________ |
||
|
|
|
xbarns Senior Member
Registered: Aug 2007 |
Hi all, |
||
|
|
|
TobbeSweden Senior Member
Registered: Oct 2006 |
Are the files in use when you try to delete them? Since you're talking about a bin directory, maybe the program you're trying to delete is still running? |
||
|
|
|
xbarns Senior Member
Registered: Aug 2007 |
Well there might be one or two files still in use, but there are well over 100 left that do not get deleted. |
||
|
|
|
cool-zer0 Junior Member
Registered: Apr 2009 |
Hello, |
||
|
|
|
Red Wine Forum King
Registered: Mar 2006 |
Most likely it is due to the mentioned disadvantage of the header (especially noticeable when dealing with too many files on old-slower machines) which needs some effort to eliminate it. __________________ |
||
|
|
|
Red Wine Forum King
Registered: Mar 2006 |
Since latest version of Unicode NSIS is able to parse an ansi script as unicode (doesn't need to convert the script prior to compile), I merged the above patch from high1 in one multi-functional header.
|
||
|
|
|
jr_spurs Junior Member
Registered: Jul 2009 |
Hi Red Wine, |
||
|
|
|
HaMsTeYr Junior Member
Registered: Feb 2006 |
It IS really an excellent header, and same with jr_spurs, i as well am having problems with the speed of uninstalling... |
||
|
|
|
trobertson Junior Member
Registered: Aug 2009 |
From my own experiments it seems only files added inside $INSTDIR get removed. During my install process I install files in many different places, but only the ones in $INSTDIR get removed during uninstall even though all "File ..." calls are wrapped in the required UNINSTALL.LOG... macros. Is this normal/correct? |
||
|
|
|
HaMsTeYr Junior Member
Registered: Feb 2006 |
i'm not pro at NSIS, but did you check Uninstall.dat in INSTDIR post install to make sure that the directories were logged correctly? |
||
|
|
|
Hawkeye64 Junior Member
Registered: Aug 2009 |
File capture
I am trying to understand this script as I am relatively new to NSIS. There seems to be some "magic" happening here that I am trying to understand. |
||
|
|
|
isawen Junior Member
Registered: Jan 2010 |
Uninstaller details
Hi guys, |
||
|
|
|
isawen Junior Member
Registered: Jan 2010 |
Re: Uninstaller details
|
||
|
|
|
Last Thread Next Thread
|
WINAMP.COM | Forums > Developer Center > NSIS Discussion > Advanced Uninstall Log NSIS header |
Forum Rules:
|