Old 27th July 2012, 08:59   #1
sr71_sr71
Junior Member
 
Join Date: Jul 2012
Posts: 13
NSIS Error - Error Launching Installer

Hi Folks.

I am getting this error occurring for various apps (Adobe Shockwave Player for example) on my system, and cannot work out why. The message appears when i try an uninstall either using windows uninstall or the uninstaller manually.

I am running Windows 7 Pro 64bit SP1 (all updates), Firefox (main browser), MS Security Essentials.

I have followed everything I can find on the internet about this error, but nothing has resolved the problem. I have also tried contacting the various software developers, how they say its not their problem and have no suggestions.

Any ideas (other than reinstall my OS) anyone?

Regards.

David.
Attached Thumbnails
Click image for larger version

Name:	NSIS Error.jpg
Views:	1651
Size:	10.9 KB
ID:	49814  
sr71_sr71 is offline   Reply With Quote
Old 27th July 2012, 09:50   #2
MSG
Major Dude
 
Join Date: Oct 2006
Posts: 1,894
As is explained on the wiki page, this NSIS error means that the installer has been changed or is incomplete. The wiki page has a list of possible causes / solutions. But I'm afraid we cannot smell from a distance which particular application / hardware failure / virus / user error is the cause of your problem.
MSG is offline   Reply With Quote
Old 27th July 2012, 09:55   #3
sr71_sr71
Junior Member
 
Join Date: Jul 2012
Posts: 13
Thanks for your reply, I totally understand, however as I say I have tried eveything I could find, including that info on the wiki.

Today I tried to install "nsis-2.46-setup.exe" to see if that might correct things, but even that has the same problem.

For my understanding, would you say this a problem with NSIS or the Windows 7 Installer?
sr71_sr71 is offline   Reply With Quote
Old 27th July 2012, 10:23   #4
sr71_sr71
Junior Member
 
Join Date: Jul 2012
Posts: 13
Quote:
Originally Posted by MSG View Post
As is explained on the wiki page, this NSIS error means that the installer has been changed or is incomplete. The wiki page has a list of possible causes / solutions. But I'm afraid we cannot smell from a distance which particular application / hardware failure / virus / user error is the cause of your problem.
Following my last post. Please note that I tried to install "nsis-2.46-setup.exe", from the main website. My problem occurs when trying to uninstall this software.

When reading the wiki page it states "When all else fails, you will need to contact either the developers of the software you're attempting to download or your personal computer support channels.", so here I am looking for help :-)

I am not trying to be difficult, and am aware this has cropped up before for others, however I am stuck and cannot find a solution, and trying to avoid reinstalling my entire machine and OS.

Regards.
sr71_sr71 is offline   Reply With Quote
Old 27th July 2012, 10:47   #5
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,359
Check the permissions on your %TMP% folder. The uninstaller copies and then runs itself from directly under that folder. Also if you have any files under %TMP% named Au_.exe all the way to Zu_.exe then delete them.

Stu
Afrow UK is offline   Reply With Quote
Old 27th July 2012, 11:07   #6
sr71_sr71
Junior Member
 
Join Date: Jul 2012
Posts: 13
Thanks for that, good idea.

I have checked out the permissions, and I did not have any of the file mentioned. But it still fails in the same way.

I also checked the permissions of the program files folders, ensure the windows installer service is running, but this made no difference either. Actually i did notice that windows installer was not actually started and was set to manual, although that seems to be the default, its odd how trying to run the uninstallers does does not start this service.

Should it not start when installing or uninstalling? Does NSIS not use the windows installer, I thought it was simply a wrap (so to speak)?
sr71_sr71 is offline   Reply With Quote
Old 27th July 2012, 11:11   #7
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,359
NSIS does not use Windows Installer in any way. I'm not sure what gave you that idea

Open up command prompt. Can you copy a file into %TMP%? Can you run a program from %TMP%? Something on your system is blocking the uninstaller from doing this.

Stu
Afrow UK is offline   Reply With Quote
Old 27th July 2012, 11:20   #8
sr71_sr71
Junior Member
 
Join Date: Jul 2012
Posts: 13
Must be me going mad, you would not believe how long I have been working on this issue ;-)

So its a seperate installer, like say InstallShield (if i have even got that right) :-)

I just copied a movie into that folder and that played fine, and I also dropped in VirtualDub and run that fine ( as that runs standalone).

One thing I notice in my TMP folder is that each icon has a small gold lock bottom left on each. Also I have 2 folders and some files that are locked somehow, as follows:

Folders:
~nsu.tmp
MarkAny

Files
FXSAPIDebugLogFile.txt
FXSTIFFDebugLogFile.txt

Unless these relate to NSIS, everything seems to run fine.
sr71_sr71 is offline   Reply With Quote
Old 27th July 2012, 11:29   #9
sr71_sr71
Junior Member
 
Join Date: Jul 2012
Posts: 13
seems I am not the owner of these files and folder structures, just trying to amend that now, as I am an admin account. Even if just to see what in them.
sr71_sr71 is offline   Reply With Quote
Old 27th July 2012, 11:39   #10
sr71_sr71
Junior Member
 
Join Date: Jul 2012
Posts: 13
MaryAny appears to be linked to my Samsung mobile device software, so will leave that alone. I removed that odd tmp folder, and left the files alone as i think there harmless log files to fax or the like.
sr71_sr71 is offline   Reply With Quote
Old 27th July 2012, 11:47   #11
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,359
I do not have that locked icon on any of my files. It probably relates to UAC. Have you tried switching UAC off (although I have never had an issue with UAC on maximum).

Stu
Afrow UK is offline   Reply With Quote
Old 27th July 2012, 12:00   #12
sr71_sr71
Junior Member
 
Join Date: Jul 2012
Posts: 13
Yes, I already have UAC off. The locks don't seem to effect anything, they even appear on a new text file i create, edit, and then delete from tmp.

Although odd, and locks don't appear elsewhere, everything seems to access correctly in temp,
sr71_sr71 is offline   Reply With Quote
Old 27th July 2012, 12:01   #13
sr71_sr71
Junior Member
 
Join Date: Jul 2012
Posts: 13
the locks might be to do with file sharing, and indicates only my user can see them.
sr71_sr71 is offline   Reply With Quote
Old 27th July 2012, 12:17   #14
sr71_sr71
Junior Member
 
Join Date: Jul 2012
Posts: 13
Ok, just stumbled on a workaround. I was reading through the NSIS userguide and found this section:

3.2.1 Common Options

/NCRC disables the CRC check, unless CRCCheck force was used in the script.
/S runs the installer or uninstaller silently. See section 4.12 for more information.
/D sets the default installation directory ($INSTDIR), overriding InstallDir and InstallDirRegKey. It must be the last parameter used in the command line and must not contain any quotes, even if the path contains spaces. Only absolute paths are supported.

Now, when i create a new shortcut and manually provide the app location, the uninstall works. So I did the following: "C:\Program Files (x86)\NSIS\uninst-nsis.exe" /DC:\Program Files (x86)\NSIS

So me being me, I wanted to look at the registry for the NSIS installer, so I reinstalled to try again, and now "WITHOUT THE /D" everything has started to work again, even the other apps now uninstall fine!

Erm, soooooo, I dont get it ;-) Why (by adding/using "/D" on the NSIS unistaller), did that fix all other apps that had the unistall error????

Even though I hate endings like this, I seem to be all sorted now, but it would be nice to know why.
sr71_sr71 is offline   Reply With Quote
Old 27th July 2012, 12:21   #15
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,359
/D is only valid for NSIS installers. _?= is used for uninstallers. So that must have been just a coincidence.

Stu
Afrow UK is offline   Reply With Quote
Old 27th July 2012, 12:24   #16
sr71_sr71
Junior Member
 
Join Date: Jul 2012
Posts: 13
The other apps were all NSIS based i think, all other installers worked fine.

But thats all i did on my system, I created that /D shortcut, ran it, and uninstalled NSIS software.

maybe the fix was linked to uninstalling that NSIS package, although I never had that installed previosuly, and only installed today.
sr71_sr71 is offline   Reply With Quote
Old 27th July 2012, 12:27   #17
sr71_sr71
Junior Member
 
Join Date: Jul 2012
Posts: 13
This all started happening a few months ago, when I first noticed the problem when trying out a trial of "Xilisoft Audio Converter". I tried to install that again just now, and it uninstalls just fine.

AHHHH, whats going on ;-) Excellent news, but whaaaaaaaaaaaaat ;-)
sr71_sr71 is offline   Reply With Quote
Old 27th July 2012, 12:37   #18
sr71_sr71
Junior Member
 
Join Date: Jul 2012
Posts: 13
Just wanted to say thanks very much for you help on this Stu, it was good to talk this through.

I am off now, many thanks :-)
sr71_sr71 is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump