Reply to Thread

Post a reply to the thread: registering OCX files in Windows 10

Your Message

Click here to log in

What's the name of our main installation product (in uppercase letters), directly followed by the current year?

 

You may choose an icon for your message from this list

Additional Options

  • Will turn www.example.com into [URL]http://www.example.com[/URL].

Topic Review (Newest First)

  • 12-13-2016, 11:07 AM
    linder

    Re: registering OCX files in Windows 10

    Perfect! Thanks for the update.

    Friedrich
  • 12-12-2016, 05:28 PM
    Unregistered

    Re: registering OCX files in Windows 10

    Quote Originally Posted by linder View Post
    Then you can use the "Register File Operation..." script function and set the "Queue existing OCXs/DLLs/EXEs/TLBs file for self registration" or "Register OCXs/DLLs/EXEs/TLBs file immediately" options.

    Does this help?

    BTW, but the question is, why does your use of regsvr32.exe fail. You need administrator execution level privileges to "self-register" files. Make sure that your setup.exe execution level is set to the default "requireAdministrator".

    Friedrich
    The "Register OCXs/DLLs/EXEs/TLBs file immediately" option worked. I added an include script with all of the .ocx files to be registered. The execution level was already set to "requireAdministrator".
  • 11-15-2016, 02:04 AM
    linder

    Re: registering OCX files in Windows 10

    Then you can use the "Register File Operation..." script function and set the "Queue existing OCXs/DLLs/EXEs/TLBs file for self registration" or "Register OCXs/DLLs/EXEs/TLBs file immediately" options.

    Does this help?

    BTW, but the question is, why does your use of regsvr32.exe fail. You need administrator execution level privileges to "self-register" files. Make sure that your setup.exe execution level is set to the default "requireAdministrator".

    Friedrich
  • 11-11-2016, 05:07 PM
    JeffDC

    Re: registering OCX files in Windows 10

    The files are downloaded and extracted from a zip file into the installation directory. How do I then set the File Properties?
  • 11-11-2016, 11:26 AM
    linder

    Re: registering OCX files in Windows 10

    Hello Jeff,

    A better way would be File Properties -> Advanced Tab -> "Register as OCX/DLL/EXE/TLB" checkbox.

    Does this help?

    Friedrich
  • 11-10-2016, 01:13 PM
    JeffDC

    registering OCX files in Windows 10

    We install an old VB6 program, which includes several older .ocx files in the Program Files (X86) folder.
    We are using the Run Program command to run regsvr32.exe to register the .OCX files.
    However, after install, we get an error message 339 saying the OCX or one of its components not correctly registered, and we then have to open the command prompt as admin and manually register the files.

    Is there a better way to register old OCX files in Windows 10?

    Details for Run Program command:
    Target = %SYS32DIR%
    Command Line = /s %_SB_INSTALLDIR%/COMCT232.OCX
    Default Directory = %_SB_INSTALLDIR%
    The following are checked :
    Wait for program, Use ShellexecuteEx, Run elevated from non elevated
    Conditions = OS independent (all checked)
    Feature: Always Install

Posting Permissions

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