jacilore
4th January 2008 20:46 UTC
How to begin with NsDialogs? (Tutorials??)
Hi all:
I have to make a more or less simple page for selecting files (very similar to the Installoptions.nsi example of the NSIS/NsDialogs folder) in an installer application and I have read that NsDialogs is the best option. The problem is that this plug-in is quite new and I don't find any Tutorial or guide to begin with.
Can anyone tell me which way I could go for that?
Thanks a lot
Red Wine
4th January 2008 21:32 UTC
Included nsDialogs documentation has a nice step by step tutorial.
jacilore
4th January 2008 22:40 UTC
Thanks and sorry for the silly question; I was searching in a bad place.
jheddings
4th January 2008 22:48 UTC
Is it possible to use CreateDialogFromINI in an uninstaller page? I keep getting an error since it doesn't start with 'un'.
Red Wine
4th January 2008 23:22 UTC
Uninstaller functions start with un. prefix.
jheddings
5th January 2008 02:47 UTC
Yes, that's what I said in my last post... Is there a way to make CreateDialogFromINI work in an uninstaller function?
Red Wine
5th January 2008 10:00 UTC
Checkout the included example NSIS\Examples\nsDialogs\InstallOptions.nsi.
All it needs is to change the line
!insertmacro NSD_FUNCTION_INIFILE
with
!insertmacro NSD_UNFUNCTION_INIFILE
and every call to functions respectively.
Also would be good idea if you take a look at nsDialogs.nsh