Old 22nd April 2003, 22:43   #1
sp4mm4gn3t
Junior Member
 
Join Date: Apr 2003
Posts: 4
Help! NSIS error

I know this is the dev forum so I apologize, but none of the tech help fora seemed as appropriate

I came across this problem after a corrupted install of something.

now everytime i try to install something that uses nsis
it gives me the following error popups and it won't install:

--

NSIS ERROR
Error writing temp file

(next popup)

NSIS ERROR
Installer verification failed.

This could be the result of an incomplete download,
a failing disk, or (possibly) corruption from a virus.

You can try to force an install using the /NCRC
command line switch (but it is NOT recommended)

--

the likelihood of it being a failing disk/virus is next
to nil, i've run numerous diagnostics and scan.

is there some kind of registry key i can fiddle with to fix
this?

any help would be greatly appreciated.

(side note: ironically, it wasnt until this problem cropped up
that i started noticing how widely nsis is being used)
sp4mm4gn3t is offline   Reply With Quote
Old 23rd April 2003, 00:18   #2
Joel
Debian user
(Forum King)
 
Joel's Avatar
 
Join Date: Jan 2003
Location: Arch land
Posts: 4,917
Like the message said:
It's the product of one of these:
1. Incomplete download.
2. Virus.
3. Corrupted.
5. Increase data after Compilation.
And no, there isn't a reg. key for this.

What product are try to install?


* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with MATE.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with MATE.
Joel is offline   Reply With Quote
Old 23rd April 2003, 00:23   #3
sp4mm4gn3t
Junior Member
 
Join Date: Apr 2003
Posts: 4
i was trying to install a game i downloaded when the error came up, but i'm pretty sure thats not causing the problem, it's something i was trying to install earlier (something off the winamp site, though i don't know whether it was a plugin or skin). where is this temp/persistent(?) data being stored that it interferes with subsequent attempts to install things? isn't there a file i can just delete or something?
sp4mm4gn3t is offline   Reply With Quote
Old 23rd April 2003, 07:52   #4
Sunjammer
Major Dude
 
Join Date: Jun 2002
Location: Swindon, UK
Posts: 559
Whatever your system temp directory is set to, normally c:\temp. However I think Lobo Lunar was trying to say that this is not your problem, that in fact you do have a corrupted download or other problem.
Sunjammer is offline   Reply With Quote
Old 23rd April 2003, 12:33   #5
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
NSIS installers do not save anything on your computer for later use by default, if the setup writer chooses to do so it's another story but nothing he can do can cause the error you are having. The only possibilities are what Lobo Lunar said. You either have connection problems, a failing disk, a virus or the file is damaged on the server.

I have attached an example installer for you to test. If it fails too reattach it here and I will check it to see what's wrong with it.

The file sp4mm4gn3t is about to attach might contain a virus! Do NOT download this file!
Attached Files
File Type: zip example1.zip (47.3 KB, 171 views)

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 23rd April 2003, 13:23   #6
virtlink
Major Dude
 
virtlink's Avatar
 
Join Date: Sep 2002
Location: At [4C69:6E6B]
Posts: 561
Isn't it safer to send the file trough e-mail personally?

And, people (including me) think that Do NOT download this file! means the file you've just attached.

"I'll quote you when you say something memorable."
- Claudia Pelsmaeker
virtlink is offline   Reply With Quote
Old 23rd April 2003, 13:31   #7
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
E-mail filters too much and if he attaches it here other people that know exactly what they're doing can test it too. People who know how to read see that the second sentence that says "do not..." refers to the first one.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 25th April 2003, 10:52   #8
sp4mm4gn3t
Junior Member
 
Join Date: Apr 2003
Posts: 4
strangely enough that one seemed to work fine.
it's just supposed to install makensisw.exe to program files/example1
right?

this:
http://www.garagegames.com/pg/demo.php?id=3

btw is one i was trying to install that doesn't work.
sp4mm4gn3t is offline   Reply With Quote
Old 25th April 2003, 10:58   #9
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
Have you attempted to re-download the installer again (the one that won't run)

-Stu
Afrow UK is offline   Reply With Quote
Old 25th April 2003, 12:31   #10
sp4mm4gn3t
Junior Member
 
Join Date: Apr 2003
Posts: 4
OK. I sorted it out. I'm officially a moron.
For some reason I no longer recall, I had set a user environment var for TEMP which overrode the *system* TEMP environment var.
Thanks for the help people. Much appreciated.
sp4mm4gn3t is offline   Reply With Quote
Old 25th April 2003, 17:10   #11
virtlink
Major Dude
 
virtlink's Avatar
 
Join Date: Sep 2002
Location: At [4C69:6E6B]
Posts: 561
Kichik: does this mean that a possible non-working installer may be caused by an overridden TEMP environment variable?
Then should I add this to the archive's Known NSIS Issues-folder?

"I'll quote you when you say something memorable."
- Claudia Pelsmaeker
virtlink is offline   Reply With Quote
Old 27th April 2003, 15:53   #12
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
Ah... It couldn't create the compress whole temporary file. I'll a test that will make it try again with another name, the user's games with the temporary directory shouldn't affect it so badly.

Virtlink, yes, if the temporary directory that Windows returns is invalid and the installer uses compress whole this will always happen (until I add another check), add it.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast 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