Skip to content
⌘ NSIS Forum Archive

NSIS and screen depth

9 posts

shaders#

NSIS and screen depth

Hi all ,

I'm newbie with NSIS installation programm.

It is possible with Nsis to check the resolution and screen depth ?
Or set the screen to a specified resolution ?

In advance thanks

shaders@brandsvalues.com
sdbarker#
You'll need to write an extension dll for that.

the the ExDLL folder, of your contrib folder for the sdk.

C:\Program Files\NSIS\Contrib\ExDLL

or the like.

-Scott
kichik#
You can also search the forum and find this thread:

Are you a developer who uses NSIS to distribute your application? Are you a Winamp plug-in developer who wants to use NSIS to distribute your plug-in? Have suggestions for other people like you? This is the place.
Guest#
Hi Shaders,

here's a file I created for TDLBack as you could have read in the other thread posted by KiCHiK. It has possibilities to get screen res and set screen colors. Dll is written in Delphi. The installer for TDLBack provides an example of the usage.

Have fun with it, good luck,
-Hendri.
shaders#
SUPRA thanks

Hi all,

supra thanks for the tdlblack.zip and all
others responses.

Best regard 🙂
shaders
Guest#
Hi Killahbite,

this is far off-topic, so only a short response:
Angry? No, why would I. Nice to have friends around the globe 🙂.

Greetz,
-Hendri.
Guest#
As a special treat and because of the silent request of SunJammer 😉, here's an update of the TDLBack package: the desktop package. The previous package was taken from an installer I created myself. I didn't have time then to document it in a nice way. The current package is well-documented and even a bit more general: you can choose the color for the background 😉. I didn't do that before since I didn't need it.

[edit]
BMP and JPEG pictures can be installed using the dll. For installing JPEG pictures, the ActiveDesktop needs to be enabled.
[/edit]

Have fun with it, greetz,
-Hendri.