Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 393
  • Last Modified:

Access 2003 Package wizard how to registry ocx-file

I'm using Access 2003 Package wizard to make installation packe for a access 2003 project (.ade)
My solution is using a ocx-file, rtf2.ocx.
Need help to understand how to register the ocx-file with the Package Wizard.

Now the user have to do it manually (regsvr32 rtf2.ocx)

My packe also has a certificate file, .cer. (ade file is signed with this certificate)

Is it possible to use the package wizard for automatic installing the certificate ?

Thank you.
1 Solution
Scott McDaniel (Microsoft Access MVP - EE MVE )Infotrakker SoftwareCommented:
The Packaging wizard doesn't support this, at least not natively. You can attempt to alter the MSI code using Orca (there's a link here: http://support.installshield.com/kb/view.asp?articleid=Q107066) or some other MSI editing tool, but it's a tremendous pain. The PDW is, quite simply, unacceptable for anything other than copying files and creating directories. If you installation needs are greater (and I'm betting they will be), you're much better off using a professional installer like Wise or INstallshield. They're pricey, but they work well. There's also some free ones out there; before switching to Wise, I used Inno Setup (http://www.jrsoftware.org/isinfo.php) with very good results.

The PDW also won't handle certificate installation ... again, your best bet is a commercial installer.
Gustav BrockCIOCommented:
Inno Setup can - on it's own - extremely easy install an ocx; in fact, we use it for exactly that purpose - highly recommended.

However, we have not bothered trying to have it install an Access runtime whatever version.
If it can handle certificates, I don't know, but go ahead and ask in the forum.

As for the installers, for Access runtime you won't come far without a script from SageKey:


Note that it is available for MSI as well which means that if you deploy only to machines having the MSI available, you don't need Wise or InstallShield, except if you need some special features of those of course.


Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now