Archive: UpgradeDll Macro Does Not Compile


UpgradeDll Macro Does Not Compile
I am trying to use the UpgradeDll macro in a script, but at compile time I get this error:

GetTempFileName expects 1 parameters, got 2.
Usage: GetTempFileName $(user_var: name output)
Error in macro UpgradeDll on macroline 43

How can I fix this?

JAS


You are probably using the latest UpgradeDLL version from the archive and an older NSIS version. Get the latest development snapshot at http://nsis.sf.net


I'm using 20b3. I don't have a c compiler, so the snapshot is not an option for me. Is there anything else I can do except wait?

JAS


The snapshot includes a compiled version.

You can use the version from the beta 3 docs, but the new one is better.


Some progress, but now the compiler complains that:

!insertmacro: MUI_PAGECOMMAND_WELCOME
!insertmacro: macro named "MUI_PAGECOMMAND_WELCOME" not found!

Is there a doc that specifies what has been changed in 2.04b?


Please read the Modern UI Readme, you will have to change your script. There have been a lot of topics about this issue.