User forums > Using Code::Blocks

Using NSIS under C::B

(1/2) > >>

idcarlos:
Mini HOWTO about using NSIS under C::B

1.- Donwload and intall NSIS lexer (http://forums.codeblocks.org/index.php?topic=2549.0)
2.- Open a .nsi file under C::B. Now you must see the code highlited
3.- Go to tools->Configure Tools->Add...
4.-Fill the Tools options

* Put a descripcion like "NSIS Compiler"
* The makensisw.exe path, you can use also makensis.exe bu it's hard to see the errors
* Under Parameters, set "${ACTIVE_EDITOR_FILENAME}" (you need the "" for the long paths)5.-Test it  :D

I'm looking the default.conf, maybe I can and Makesis as a compiler, but maybe not is a good idea because, as external tool works ok.

Any one can check my Spanglish and put this post in the Wiki?

Un saludo
Carlos Garces

killerbot:
thx, great information.

thomas:

--- Quote from: idcarlos on March 09, 2006, 04:39:59 pm ---I'm looking the default.conf, maybe I can and Makesis as a compiler, but maybe not is a good idea because, as external tool works ok.
--- End quote ---
Right now, it is a bad time to do that, better wait a while.

idcarlos:

--- Quote from: thomas on March 09, 2006, 04:53:20 pm ---
--- Quote from: idcarlos on March 09, 2006, 04:39:59 pm ---I'm looking the default.conf, maybe I can and Makesis as a compiler, but maybe not is a good idea because, as external tool works ok.
--- End quote ---
Right now, it is a bad time to do that, better wait a while.

--- End quote ---
Hi.

One problem that I found it is when the external tool is a command line tool. The cmd is closed and you can see anything.
I can fix it using a .bat file with @pause command but...

What do you think about and one check in the Tools Options dialog, to close (or not) the external window?

takeshimiya:

--- Quote from: idcarlos on March 10, 2006, 09:14:58 am ---What do you think about and one check in the Tools Options dialog, to close (or not) the external window?

--- End quote ---
aka a checkbox to toggle running console_runner. :P

Navigation

[0] Message Index

[#] Next page

Go to full version