Archive: Installer crash in Vista RTM


Installer crash in Vista RTM
I'm seeing an NSIS Installer / Uninstaller crash that seems to only occur in Vista RTM. The installer seems to work fine in XP and Vista SP1. However the setup needs to support RTM as well. The crash occurs seemingly at random throughout the install process, and doesn't happen all the time. It crashes with the following error report:

Problem signature:
Problem Event Name: APPCRASH
Application Name: Setup.exe_unknown
Application Version: 0.0.0.0
Application Timestamp: 47eebf2f
Fault Module Name: comdlg32.dll_unloaded
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 549bd09
Exception Code: c0000005
Exception Offset: 77154593
OS Version: 6.0.6000.2.0.0.256.1
Locale ID: 1033
Additional Information 1: 2b5e
Additional Information 2: d41d8cd98f00b204e9800998ecf8427e
Additional Information 3: 3080
Additional Information 4: 1ca6700788fcc8e9282daf2f5d93c6a5

Read our privacy statement:
http://go.microsoft.com/fwlink/?link...3&clcid=0x0409

Anyone see anything like this before? Also is it possible to get map files for NSIS 2.35?


Are you registering any DLL files? Try commenting those out and see if it still crashes.

Installers work fine for me on Vista and I have received no reports of such crashes, so it might be something in the script.


I am using DLL files, but when I use the installer in silent mode (no dialogs or windows drawn), it works fine. Since the dlls are still doing what they're supposed to in silent mode, I don't think its the dll's, at least the ones I'm using.


Try removing the registration of the DLL files. If it still crashes, attach a minimal script reproducing the problem (no need for File commands, RegDLL and installation of anything) and I'll take a look.


kichik,

Thanks for your quick replies and suggestions. I believe I have successfully debugged the problem. It has something to do with plugin loading / unloading, which Vista RTM doesn't seem to like. I realized that it is safer to just leave SetPluginsUnload to 'alwaysoff'.