Archive: Windows Resource Files


Windows Resource Files
Hi All,

I am wondering if it is possible to use Windows Resource Files (standard VStudio resource DLLs) directly from NSIS?

:)

Thanks,
Davy Mitchell


Use them how?

With the system plugin you can call LoadLibrary and use FindResource, LoadIcon etc

To change the standard nsis pages you use the ChangeUI instruction, it works by extracting resources from PE files, but to create a custom ui you usually just use resource hacker on \NSIS\Contrib\UIs\default.exe


Thanks Anders - I will take a look at LoadLibrary.

This is primarily for the extraction of resource strings where we keep our translations. If we can use the same DLL's without an intermediate step, then that will make life much easier :)

Davy