Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-28-2005, 10:29 AM
Member
 
Join Date: Jan 2005
Posts: 50
Default uninstall problem...

Try to post it here also, - sorry if that's wrong.

I have win XP and v. 2.2 swfkit pro.

I get this error when uninstalling a running app, but only sometimes?!?

The instruction at "0x72d2461f" referenced memory at "0x016c3c24". The memory could not be "read".

Click on OK to terminate the program
Click on Cancle to debug the program



I use this script to stop program before uninstall:

//BeforeUninst

/* BeforeUninst
* remove the shortcut in the startup folder
*/

// get the startup folder
var startUp = Shell.getSpecialFolder("startup");

// get the path name of current application
var path = getExeName();
var file = new File(path);

// remove the shortcut in the startup folder
(new File(startUp + "\\" + file.name + ".lnk")).remove();

var wnds = Window.getWindowsByName("Funky Popping");

for (var i = 0; i < wnds.length; i++)
wnds[i].close();


if (wnd.length > 0)
{
Dll.registerFunction("kernel32.dll", "Sleep", "sleep",
"stdcall", "void", "long");

/* wait 1 second for the windows to be closed*/
sleep(5000);
}
Reply With Quote
  #2 (permalink)  
Old 01-28-2005, 12:55 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:uninstall problem...

There is a bug in the beforeuninst script, but it's not the reason of the problem.

Code:
//BeforeUninst

/* BeforeUninst
* remove the shortcut in the startup folder
*/

// get the startup folder
var startUp = Shell.getSpecialFolder("startup");

// get the path name of current application
var path = getExeName();
var file = new File(path);

// remove the shortcut in the startup folder
(new File(startUp + "\\" + file.name + ".lnk")).remove();

var wnds = Window.getWindowsByName("Funky Popping");

for (var i = 0; i < wnds.length; i++)
  wnds[i].close();
  

if (wnds.length > 0) //<------------it should be "wnds", not "wnd"
{
  Dll.registerFunction("kernel32.dll", "Sleep", "sleep", 
      "stdcall", "void", "long");
      
  /* wait 1 second for the windows to be closed*/
  sleep(5000); 
}
The script works well, the problem must be caused by some other reasons, could you send your setup file to support@swfkit.com? Thank you.
Reply With Quote
  #3 (permalink)  
Old 01-28-2005, 01:00 PM
Member
 
Join Date: Jan 2005
Posts: 50
Default Re:uninstall problem...

funny, - I just saw the error myself now, - I'll send you the file.

Best regards

Godowsky
Reply With Quote
  #4 (permalink)  
Old 01-28-2005, 01:26 PM
Member
 
Join Date: Jan 2005
Posts: 50
Default Re:uninstall problem...

I just installed and uninstalled while app was running 8 times and sadly I had the crash!!

Reply With Quote
  #5 (permalink)  
Old 01-28-2005, 01:52 PM
Member
 
Join Date: Jan 2005
Posts: 50
Default Re:uninstall problem...

okay, just did at quick search on the net about the error, it seems like a very common error, on solution was to clean ones ram!!!! (just can't ask the user to do that)

Another one was to update windows.


Reply With Quote
  #6 (permalink)  
Old 01-28-2005, 01:59 PM
Member
 
Join Date: Jan 2005
Posts: 50
Default Re:uninstall problem...

here's a nice discussion:

http://www.anetforums.com/posts.aspx?ThreadIndex=28550


But no solution
Reply With Quote
Reply

Was this information helpful?    Yes No



Thread Tools
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
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 07:40 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.