tpallone
Posts: 2
Joined: Thu Jun 14, 2012 9:13 pm

Creating a build to install\register ocx files only

Hello,

I am new to Advance Installer - I work in a Domain enviroment - I use a third party program to install software remotely, using vbscripts and batch files. I am having issues with installing a recent update to a paticular software that one of our departments is using. The update consist of several ocx files (9 to be exact) which will allow them to view a room in a 3D enviroment.

I was trying to use Advanced installer to create and executable or msi file to install and register the files through our third party software.

Basically, what I would like it to do is copy and register the ocx to the C:\windows\system32 folder.

I am getting an error Module c:\Windows\System32\file.ocx failed to register. HRESULT -2147024770. Contact your support. (This happens with all the ocx files)

Could this be that the files already there from a previous attempt of install through a batch file and not allowing to overwrite?

Thanks for any insight,

Tpallone
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Creating a build to install\register ocx files only

Hello and welcome to Advanced Installer forums,

Can you manually register the same .OCX files using regsvr32 from the command line?

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
tpallone
Posts: 2
Joined: Thu Jun 14, 2012 9:13 pm

Re: Creating a build to install\register ocx files only

I have tried remote command and psexec to register the files without manually remoting in the desktops. It seems that may be my only option of doing this at this time. I was just trying to find a way to expedite it without bothering the users.
Bogdan
Posts: 2794
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Creating a build to install\register ocx files only

Have you tried to install the package created with Advanced Installer on a clean machine? To see if indeed the error appears because on the previous machine
there were files from other tests.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”