After extracting an NSIS installer file (setup.exe), I got a file:
script.bin
It is NSIS script file. Is there any tool or method around which can decompile it fully or partially? I'm learning about it from hours, but found nothing positive.
Any help would be greatly appreciated.
7-zip version 15.05 will decompile NSIS scripts. Later versions do not have this feature though.
As told in that other answer you can get the contents (the files, but not necessarily the folder structure) of a NSIS installer thanks to 7-Zip but there is no tool to get the script that was originally compiled, or something close.
There is a tool you can use to extract the nsi scripts:
https://sourceforge.net/projects/nsidis/
Related
Actually there i have a html, CSS and java script based app and i created build of it using nw.js technology using build command. The problem is i want the application in dmg format. please help me finding way.
thank you.
There are many different ways to package your app. You should read the documentation:
https://nwjs.readthedocs.io/en/latest/For%20Users/Package%20and%20Distribute/
I do not know of any tutorials for creating an NW.js package as a DMG. Because the final dist is a single .app file, you could distribute that directly, or compressed in a Zip file or something similar. You may be able to look up instructions around DMG packaging that is not specific to NW.js and apply the concepts. If so, and you get it to work, you should write a blog post or tutorial about it.
You can use https://www.npmjs.com/package/appdmg to create an installer for your NW App on macOS platforms.
In my ongoing development for the same i found the making a .pkg installer is better than making .dmg with reasons you can search for.
so i found two solutions for the same.
packages(an application you can package anything with signed developer id)
buildPkg(a command line process to make package)
in both you just need to add your application.app as mentioned in documentation and follow the steps.
I want to install PORTA. I am using a win 64 bit OS. I read the installation process but I cannot really get how it works. Can anyone guide me how to install it. For example, what exactly am I supposed to do in the second step "2) Just type 'make". Type make where?
I don't know maybe I'm missing something very obvious but I got stuck
I appreciate any help in advance!!
Thank you!
That link on git hub is just the source files for the project. You will have to download it (git clone or download zip) and compile it to build the executable. You will need to open a command prompt in the gnu-make directory containing the "Makefile" and run make. Of course, this will require that you have a compiler installed (MinGW, Cygwin, etc). It does look like there is a Visual Studio solution in the win32 directory if you are not familiar with building with makefiles from the command line.
I need the ability to look for another running process that is in the background while my NSIS installer is executing. This other process must be terminated and uninstalled before the new installer is completed.
I've tried using the FindProc plugin to find the process and also the KillProc plugin to kill the process. Each of those plug-ins returns nothing as a result.
FindProcDLL::FindProc "MyApplication.exe"
KillProcDLL::KillProc "MyApplication.exe"
I also tried nsProcess plug-in and it also does not work.
nsProcess::_KillProcess "MyApplication.exe" $R0
It seems people have success with these plug-ins but I don't know why it's not working in my scenario unless it has something to do with background processes.
Any help would be appreciated.
None of the NSIS plug-ins I tried worked. They would all return no result (not even 0 or a negative number). I ended up just using the following command and it worked with no problems. It will briefly pop up a command window, but I am okay with this in my scenario:
ExecWait "TaskKill /IM MyApplication.exe /F"
Hope this helps someone else.
Without knowing exactly which NSIS version you are using nor if you are compiling a Unicode or ANSI installer it is a bit hard to say exactly what's going on.
The original version from the wiki only works on 32-bit processes and the hnedka version should support 64-bit processes as well.
If you are using the hnedka version and NSIS v2.x then you need to extract the plug-in from the ANSI folder to \NSIS\Plugins. If you are using NSIS v3 then you need to extract from the ANSI folder to \NSIS\Plugins\x86-ansi and from the Unicode folder to \NSIS\Plugins\x86-unicode.
I can confirm that that hnedka version works in NSIS v3. If $R0 is empty then perhaps you extracted the wrong plug-in .dll to the wrong folder.
Apparently you are trying to find and kill a x64 process which is not supported. You should check this link out
http://nsis.sourceforge.net/Processes_plug-in
Given a Cygwin executable, how do i find out all the dll's that it depends upon?
For the libraries that are loaded by the system executable loader i can use a tool like depends (aka Dependency Walker), but i have no idea how to trace the dll's that the program tries to load dynamically with Load Library.
My aim is to be able to take the minimal dependencies of a program built for Cygwin platform in order to make it work portable, without all the Cygwin stuff that it is never gonna use (some base command line utils, man pages etc.).
Any help is appreciated!
Thanks to Michael Lockhart, the solution is simply to cygcheck the executable. Here are some references: on Wordpress and his site.
im trying to figure away to be able to export/save user ( banch of files/htmls )
to one single self contained exe file . and i have no idea how to do it .
i was thinking about using windows gcc port , but its GPL and my app is commercial.
how do i approach to solve such thing ?
Thanks
Depending on your feelings about script languages AutoIt might be just the thing for this. Aut2Exe.exe (the compiler) is only 340KB I have done this kind of thing before to make an application that creates other applications. In this post on the AutoIt forums it is explained how to do exactly this with AutoIt. Good luck!
You could make a self extracting exe.
or
You could use vbc or csc from the .net framework, they're shipped as part of the framework (not sure about the new 3.5 client stuff)
try using Advanced Installer for windows...
It is a closed source application for creating .exe,.msi installer files for the applications.
Why GCC when there's a bunch of ways to create self-extracting exe's (and run a command when you extract)?
Commercial example (Zip 2 Secure EXE)
Try IExpress (windows) http://technet.microsoft.com/en-us/library/dd346760.aspx
Run > IExpress