clary
20th November 2002 16:14 UTC
Upgrade DLL
Hi Joost, Hi everybody,
I try to use the macro Upgradedll, but when I compile my script, I have some problem about this macros parameters.
The compiler says that macro UpgradeDLL must have only 1 parameter and it finds 3 parameters instead.
You can see my script and the error at the line 134.
Thanks for help me.
Joost Verburg
20th November 2002 16:20 UTC
Are you using NSIS 2?
Can you post the last few lines of compiler output?
clary
20th November 2002 16:29 UTC
No joost,
I use the 1.98 version because my script dosn't compile with NSIS 2.
I use NSIS 1.98 that I've downloaded on winampfr web site.
Here are the last lines of the compile report.
I'm sorry, but it's a french version.
ReadRegStr $0 HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\CurrentVersion
CmpTextes"$0" "" egaux=0, inegaux=lbl_winnt
CopieTexte $0 "9x" () ()
AllerA: lbl_done
CopieTexte $0 "NT" () ()
Ech($0,0)
FinFonction
!macro attend 1 parametres, trouve 3.
Usage: !macro macro [parmetres ...]
Erreur dans le script "C:\Program Files\NSIS\Fargeot GP.nsi" a la ligne 134 -- abandon du processus de creation
Joost Verburg
20th November 2002 16:37 UTC
I think it's a bug in the French version you are using.
It's really better to upgrade to NSIS 2. Read the documentation for more info. If you still got problems, post a reply here :)