From: SourceForge.net <no...@so...> - 2004-04-26 22:02:41
|
Bugs item #939773, was opened at 2004-04-22 03:53 Message generated for change (Comment added) made by dobesv You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=373085&aid=939773&group_id=22049 Category: Scripting Group: 2.0 Series Status: Open Resolution: None Priority: 5 Submitted By: Dobes V (dobesv) Assigned to: Nobody/Anonymous (nobody) Summary: Installer crashes. (Access Violation) Initial Comment: Building the installer works just great. But when I run the generated installer it crashes after I click finish on the last page. Changeing the script in various ways appears to fix this in a kind of unpredictable way. I trapped the crash in MSVC and the call stack looked like; SHELL32! 774a2787() SHELL32! 774a27df() SHELL32! 77476bfe() SHELL32! 7746f68f() SHELL32! 7746eec7() SHELL32! 7746f0ce() ANYPLACE! 00406387() ANYPLACE! 0040428e() e877e831() My installer is called Anyplace.exe The window closed before the error occured. Please email me at yo...@yo... if you have any questions or would like me to send you the installer. ---------------------------------------------------------------------- >Comment By: Dobes V (dobesv) Date: 2004-04-26 22:02 Message: Logged In: YES user_id=400635 I added: Function .onGUIEnd MessageBox MB_OK|MB_ICONSTOP "Plugins ok... .$PLUGINSDIR." FunctionEnd The reported folder was: "C:\DOCUME~1\YONASJ~1/SHO\LOCALS~1\Temp\nsn2CE.tmp" Next week I will tyo to get a proper stack trace with symbols. ---------------------------------------------------------------------- Comment By: Amir Szekely (kichik) Date: 2004-04-23 20:44 Message: Logged In: YES user_id=584402 OK, so the crash is in main.c:CleanUp, which calls util.c:doRMDir, which calls SHFileOperation which eventually crashes somewhere along the way. Can you get the stack trace with symbols enabled (http://msdn.microsoft.com/library/en- us/vsdebug/html/vxtskinstallingdebugsymbols.asp)? Also try to pop a message box with the value of $PLUGINSDIR (it's the directory which is deleted in CleanUp) in .onGUIEnd to make sure it wasn't corrupted somehow. Is the comment above the InstallDebugDLLs section related to this issue? Can you attach macros.nsi and functions.nsi? ---------------------------------------------------------------------- Comment By: Dobes V (dobesv) Date: 2004-04-23 20:10 Message: Logged In: YES user_id=400635 The version is the latest NSIS 2 on the website. This happens exactly after I click finish on the last page of the installer. The last page is the MUI_FINISH_PAGE (with a checkmark to run the application). ---------------------------------------------------------------------- Comment By: Amir Szekely (kichik) Date: 2004-04-22 17:35 Message: Logged In: YES user_id=584402 And version information of course... ---------------------------------------------------------------------- Comment By: Amir Szekely (kichik) Date: 2004-04-22 17:35 Message: Logged In: YES user_id=584402 The script and more details such as when exactly this happens are required. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=373085&aid=939773&group_id=22049 |