deployment & packaging

A

Aleks

Does anyone know how to register an ocx control using Package Solution Wizard?

Thanks
Aleks
 
A

Alex Dybenko

Hi,
as far as I remember - you just need to include ocx file in a list of files,
PDW recornises OCX and register it during setup. But I tried this in 2003
and earlier versions, which version you are using? if 2007 - are you using
latest version, from january 2009?

--
Best regards,
___________
Alex Dybenko (MVP)
http://accessblog.net
http://www.PointLtd.com
 
A

Aleks

I am using Access 2007, not from January 2009.


Alex Dybenko said:
Hi,
as far as I remember - you just need to include ocx file in a list of files,
PDW recornises OCX and register it during setup. But I tried this in 2003
and earlier versions, which version you are using? if 2007 - are you using
latest version, from january 2009?

--
Best regards,
___________
Alex Dybenko (MVP)
http://accessblog.net
http://www.PointLtd.com
 
A

Aleks

I just created another package hoping that it would register the ocx control,
but it doesn't. I need to have regsvr32 on the OCX done. I am sure I can do
it with vba, but is it possible with the packaging solution wizard ?

thanks
 
A

Albert D. Kallal

Aleks said:
I just created another package hoping that it would register the ocx
control,
but it doesn't. I need to have regsvr32 on the OCX done. I am sure I can
do
it with vba, but is it possible with the packaging solution wizard ?

thanks

Unfortunately, versions after 2002 don't package your activeX controls and
any
other dependences you might require....

So, the answer is no, the pw can't do this for you.

I suppose you could include the "file" and then run some vba code that
shells out and does a regsvr32 command. I think it would be better and more
reliable to simply install these bits and pieces with a installer. A good
free one is inno.

You'll find the inno installer here:
http://www.jrsoftware.org/isinfo.php


Note the above link also has a good number of support and very active
newsgroups that can help you with your install setups also. I highly
recommend this installer, and it is free. and, for questions, check
out the newsgroups there also.

So, I would actually build an install script that installs your "front end"
part of your application (I assume your application is split..right? -- else
how you going to deploy bug fixes and updates?).
 
A

Aleks

Thank you Albert, it is sad to hear the MS team dropping the registration of
ocx controls.

Aleks
 
T

Tony Toews [MVP]

Aleks said:
Does anyone know how to register an ocx control using Package Solution Wizard?

What control? Possibly there is an API or other solution.

How do you get rid of troublesome ActiveX Controls/references?
http://www.granite.ab.ca/access/referencetroubles.htm

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top