Archive: Getting NSIS Error


Getting NSIS Error
Hello,

I bought a new laptop yesterday. But when I try to install something new, I get a pop-up message like this :

NSIS Error
Error Launching Installer

Then I tried to install a new version of Microsoft Installer, but this time i got this:

Extraction Failed
The system cannot find the path specified.

And when I tried to install WinRAR, a message said that the exe file couldn't opened.

But the interesting thing is that I installed MSN Messenger without any problem.

I can't even install any version of the NSIS just because of the same problem.

So what do you say?

Thank you very much.


Sounds like your temp folder could be missing?
What happens if you put %TEMP% into Windows Explorer.

-Stu


Just an empty folder named Temp is getting opened.


In addition, I discovered that when I run the setup files in Windows/Temp folder they are working.


Try stopping any running anti-virus/anti-spyware/anti-* software running in the background.


NSIS Error
i have exactly the same problem i stopped running anti-virus/anti-spyware but my problem didnt resolve.
what can i do?


See Why do I get NSIS Error from the FAQ. If you get a CRC error, the answer is there. If you get "Error Launching Installer", the answer is probably there as well, but the problem is different. If you get "Error Launching Installer", then the installer can't read itself.


Had the same problem,

discovered that there was a unicode letter (č) in the path. Putting the file somewhere else where no unicode characters are in the path solved the problem.

Best regards


My 2 cents
I don't know if this might help others or not but here are my 2 cents.

I am using Chinese Windows, I downloaded Googletalk installer and it was not launching because the default language for non-unicode applications in Windows was set to Chinese, so I changed it to English, rebooted the computer and we
when launching Google talk installer after that, I was getting:

"NSIS error", "Error launching installer"

The problem as stated above was that the installer could not recognized the path which contained Chinese characters. Moving the installer to a location where the path did not contained Chinese characters fixed this. (C:\ in my case).

-Ben


I just reproduced this problem with NSIS 2.34
Just use a character that is not mapped in the current codepage for non-Unicode apps configured for your system

On my French Windows, i just added an arabic character to the filename of the installer executable, and I get the "Error launching installer"

Is there an open bug about this ? or is there no solution ? (until the Unicode-NSIS initiative comes out)


There is no solution but Unicode.


alright.. then maybe a more adequate error message could be displayed...
something like:
"Error launching installer. Make sure you only use basic characters in the file name and path"

(I tried to find a message everybody would understand, plus I don't think this error would popup for other cases like access denied or such, as the user was able to launch the process, it must have read access to it)