Ethereal-dev: Re: [Ethereal-dev] fixes for nsis-installer script and makefile

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Lars Roland <lars.roland@xxxxxxx>
Date: Tue, 03 Feb 2004 17:33:30 +0100
Hello,

Anders Broman (TN/EAB) wrote:
Hi,
Would it be good to add :
(from bigtest.nsi )

  IfFileExists "$INSTDIR" 0 NoErrorMsg
    MessageBox MB_OK "Note: $INSTDIR could not be removed!" IDOK 0 ; skipped if file doesn't exist
  NoErrorMsg:

to the script?

Yes. There are probably a lot of things in the installer which can be improved. The new NSIS 2 provides perhaps more useful but still unused features.

I managed to run the unistaller while ethereal was active and got all the *.dll's and
the directories left.
I don't know if it would be a good idea to try and remove one *.dll first and then do the check
so the 'uninstaller' don't get deleted or if there's another better way of doing it?

There should be at leaast some sort of error check or a message for the user. I will do some investigation.

 Should we also ask if the prefs. files should be deleted ?

Is there an easy way in nsis to do that?

Best Regards,

Lars Roland