Archive: HTML in NSIS


HTML in NSIS
Is there a way to create a page in NSIS Script, e.g. Using InstallOptions, which displays a HTML Page? Similar to NSIS Menu.

Vytautas


Not that I'm aware of, but it sounds like a cool idea for a plugin (i.e. use whatever code the NSIS Menu uses to render a window the same was the IO plugin does).


The problem is that a HTML rendering engine is quite large (the NSIS Menu is about 250 KB), so it's not really useful for an installer.

With the latest InstallOptions version, you can add images, hyperlinks, icons etc., so almost everything is possible.

The NSIS Menu uses wxHtml (http://www.wxwindows.org) and the source is available in CVS.


When will the latest InstallOptions be put onto Latest CVS Snapshot?

-Stu


I'm talking about the current InstallOptions version. Image and icon support has been added a long time ago. Hyperlink support has been added last week.


Ah, ok.
I found the testlink.ini file :)
Would you guys like me to update the IO readme file?
E.G. cvall it InstallOptions 2.1 or something, plus give me a list of the new credits etc.

-Stu


NSIS Update seems to be working erratically these days (no doubt due to SourceForge's current CVS problems). I've found it easier to download the nightly snapshots.

From the IO readme file found in this morning's CVS snapshot:

DLL version 2.2 (6/10/2003)

* Added new control "link"
* \r\n converts to newline in Multiline edit box
* Support for multiline edit box
* Better tab order in DirRequest and FileRequest
* Minor fixes


It's already up-to-date, but thanks anyway Afrow.


Originally posted by Joost Verburg
The problem is that a HTML rendering engine is quite large (the NSIS Menu is about 250 KB), so it's not really useful for an installer.
Surely that's relative, e.g. if your installer is 650MB then 250KB is of no consequence, but it does get you a funky HTML type page, and being a plugin it wouldn't affect people who don't need it.

Sure, if somebody wants to create a plug-in, that would be great :D


Which version of VC++ is needed to compile NSIS plugins, I tried version 5 but when i compile the release version i get a compile time error. Something about win98 option, I can remember exacly cos its on the machine at work.

Vytautas


It's probably /opt:nowin98. Try using /ALIGN:512 instead. If that doesn't work either you can just not use it at all. It will just make the plug-in smaller.


Yes that was the option. BTW does that mean that the plugin wont work on win98 or not?

Vytautas


No, it just means it will be smaller. The name is nowin98 because it loads faster on Windows 98 without it.