You are here

Portable NSIS compiler and HM NIS Edit integration?

5 posts / 0 new
Last post
paladin225
Offline
Last seen: 16 years 11 months ago
Joined: 2007-05-02 19:30
Portable NSIS compiler and HM NIS Edit integration?

Hello all,

I know that NSIS Portable (.exe warning) exists, and that you can make HM NIS Edit portable. My question is, is it possible to link the two together to have a proper development environment on the go?

Rick Smith // Paladin225

Deuce
Offline
Last seen: 13 years 7 months ago
Developer
Joined: 2005-12-24 16:32
You can do this in Notepad++

All you need to do is go to the run menu, choose run and use relative paths based on your npp folder to makensis and add "$(FULL_CURRENT_PATH)" to the end as an argument. Mine is setup as such:

\Editors
--->NPP folder
\Compilers folder
---> NSIS folder
---> makensis.exe

and my command is such:

$(NPP_DIRECTORY)\..\..\Compilers\NSIS\makensis.exe "$(FULL_CURRENT_PATH)"

th $(NPP_DIrectory) will be replace with the NPP full path and then back out two directories and go to the compilers folder to the nsis folder and run makensis.exe with the argument of the nsis source file.

Also, if you go to the Plugins folder-->NPPEXEC you can turn on the console (Opens on bottom of Npp windows) and the use the execute menu option, and use it to run the command and the output of makensis will show in the console. Just like in a normal ide environment.

Using this method, I have autoit and nsis compilers and programs setup and working for when I need them. It allows me to keep using NPP for all the work I need to do.

Hope this helps, ask if you need further clarification.

***********************************
Deuce {The Core}{Dev Blog}
Portable Software: Just the beginning.

Deuce
Portable Software: Just the beginning.

paladin225
Offline
Last seen: 16 years 11 months ago
Joined: 2007-05-02 19:30
Thanks!

I'm interested in integrating an IDE, though--I want to develop GUIs for NSIS, which I doubt Notepad++ does...

I'll keep this in mind though.

Rick Smith // Paladin225

Rick Smith // Paladin225

Deuce
Offline
Last seen: 13 years 7 months ago
Developer
Joined: 2005-12-24 16:32
No..

It won't run the actual gui wizard that hm nis does. But you can write the code behind it, and have it compiled for testing. Also you can use the NPPEXEC to run HM NIS when you need and then copy the code to the script in N++. That is how I use Autoit's wizards for gui, I develop it and then copy the code to the correct place in my script.

Sorry, if it is not what you are looking for. So far, I have only been able to find them separate.

***********************************
Deuce {The Core}{Dev Blog}
Portable Software: Just the beginning.

Deuce
Portable Software: Just the beginning.

paladin225
Offline
Last seen: 16 years 11 months ago
Joined: 2007-05-02 19:30
Oh, OK...

Thanks...

Rick Smith // Paladin225

Rick Smith // Paladin225

Log in or register to post comments