nsis

C#, UAC, installer, Windows 7

I have a client-side app that downloads a Nullsoft installer from the server and runs the installer as an external process with verb set to "runas". Nullsoft installer also has a line in the script that requests elevated privileges. On Windows 7, this works sometimes -- Windows displays the UAC dialog, clicking ok allows the installer to...

System::Call to external .dll during NSIS uninstall

During the installation of my application I install a library used to export various functions to $INSTDIR. During uninstallation I want to call a function in this library to perform a task and return. Based on what I've tried so far it seems that the call to the function fails and I always get back 'error' as $0. This is what I'm runni...

Install Tomcat 5.0.28 failed

hi, I am using tomcat5.0.28 windows installer , and it stopped in the middle of progress bar. with the last message "using jvm: c:\java\j2sdk1.4.2_19\" i wait for a long time, and it seems freeze, i have to kill the process. I use process explorer to check the processes. i found a children process created by tomcat installer, i checked ...

How to show some text on mouse move in NSIS installer

Hi, is there any possibility to show some descriptive text on NSIS installer custom page, but only on mouse hover? I have the prerequisites check at the beginning of the installer and when one (or more) of the tests fail, appropriate warning message is displayed. It is custom page displayed before whole installation. The problem is, ...

Solved: Why is NSIS check for JRE broken?

Why does this script try to install the jre when it doesn't need to? I verified that C:\Windows\System32\java.exe does in fact exist, but this script doesn't see it. The script is targeting XP, Vista, 32 bit, and 64 bit. The script !includes x64.nsh. The reason for the first ElseIf is that the javaw.exe is sometimes installed in C:\Windo...

How to get command output in NSIS?

I'm wondering, how do I get the output of an execwait command in NSIS. For example, if I run tree, how would I get the output, which would be the actual tree? ...

How to use try catch in NSIS

hi im getting a weird error on few machines in my nsis installer while installing. Its is giving "Invalid win32 file handle" while installing fonts using fontreg.nsh i've tried google but didnt got an answer to this issue. now im thinking to suppress this message, so is there any way to suppress the message or if possible suggest me sol...

NSIS books and tutorials needed

I'm looking for some good resources on NSIS, so I'd like you to reccomend me good books/tutorials websites which target beginners and have information on it. I'm aware of NSIS documentation, but I'm checking out if there are any other interesting sources of information on it. ...

How do I make one nsi section depend on another?

In NSI, how can I make one section depend on another? Our installer has four visible sections (components): * Client * Database * Server * Interface All components depend on Client, so it is mandatory. In addition, Server depends on Database and will fail to install if Database is not present. ...