Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 9th December 2009, 17:17   #1
mikem2005
Junior Member
 
Join Date: Dec 2009
Posts: 1
Question Application Error after running setup.exe on Vista / Windows 7

I have a NSIS installer, and at the end of the program when I click to close it, I get the following dialog:

<<<
setup.exe - Application Error

The instruction at 0x77b6054b referenced memory at 0x005487d0. The memory could not be written.

Click on OK to terminate the program

OK
>>>

The only custom functions I'm using are ReadCustomerData and one I wrote to write a config file into %APPDATA%/MyCompany/.config

Sometimes when I run this, the .config file never gets created.

Other times (on a Windows 7 machine), inside the "C:\Users\Mike\AppData" directory I've found a "RoamingMyCompany.config" file (the directory should have been "C:\Users\Mike\AppData\Roaming\MyCompany\" with a ".config" file)

Any idea what could be causing this?

Thanks!
Mike


code:

Function WriteCustomConfig
FileOpen $R0 "$APPDATA\MyCompany\.config" w
FileWrite $R0 "open $myhost$\r$\n"
FileClose $R0
FunctionEnd

mikem2005 is offline   Reply With Quote
Old 9th December 2009, 18:46   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
Looks like a registered DLL that doesn't really finish its job when it says it does.

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