Results 1 to 3 of 3

Thread: regsvr32 returned exit code 5 (and 4)

  1. #1
    Join Date
    May 2006
    Posts
    124

    regsvr32 returned exit code 5 (and 4)

    Two of the files that I am attempting to self reg show up in the log with

    wrn, error unregistering <path>\filename1.dll - regsvr32 returned exit code 5
    wrn, error unregistering <path>\filename2.dll - regsvr32 returned exit code 4

    I looked these up in WinError.h as

    // The system cannot open the file.
    #define ERROR_TOO_MANY_OPEN_FILES 4L

    // Access is denied.
    #define ERROR_ACCESS_DENIED 5L

    However both of these files look fine in dependency walker and, they register and unregester fine with I run regsrv32 on them myself.

  2. #2
    Join Date
    Oct 2001
    Location
    Here and there
    Posts
    16,243
    (Duplicate post; follow-up here.)

  3. #3
    Join Date
    Jan 2012
    Posts
    1

    Errorcode 5 InstallShield.

    I solved the problem by entering de registry (regedit) and deleted everything with "InstallShield". It's a lot and it will take some time. After that I deleted everything what is possible in "C:\Program Files\Common Files\InstallShield". Then I restarted the computer and delete the rest of "C:\Program Files\Common Files\InstallShield. It works! At last I used CCleaner to clean the registry.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •