469,932 Members | 2,758 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,932 developers. It's quick & easy.

ClickOnce and com controls

I have a .net 2.0 winforms app which I'm deploying via clickonce.
Unfortunately one of the things that needs to be installed during the
clickonce is an MS Access mde application which uses a 3rd party control.
this 3rd party control is an 'ocx' file. In the old days I would install
this Access application using Installsheild which would install and register
the ocx file on the target machines. Now in the click once environment, how
do I get this ocx file installed? One thing I was thinking of was (if
clickonce can't install the ocx) would be to use InstallShield to build a
small install exe which would just install the ocx. then have clickonce
deploy this install.exe along with all the other files that are part of the
clickonce deployment. after everything is copied to the target machine and
before clickonce starts the .net app, it could run the install.exe which
would in turn install the ocx. In this case, how would I get clickonce to
run the install.exe?

any other ideas?


Mar 22 '06 #1
1 2693

I am afraid there isn't a solution with ClickOnce Deployment if your
installation needs to register a COM component(e.g. ocx controls). It
cannot register any ActiveX or COM component by itself, or launch any
application after its installation.

The best choice in this scenario is use the Windows Installer package. I
suggest you can refer to the following MSDN article for the difference
between the ClickOnce and Windows Installer approaches:


Best regards,

Gary Chang
Microsoft Community Support
================================================== ====
PLEASE NOTE the newsgroup SECURE CODE and PASSWORD will be updated at 9:00
AM PST, February 14, 2006. Please complete a re-registration process by
entering the secure code mmpng06 when prompted. Once you have entered the
secure code mmpng06, you will be able to update your profile and access the
partner newsgroups.
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
This posting is provided "AS IS" with no warranties, and confers no rights.

Mar 23 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Danny Tuppeny | last post: by
3 posts views Thread by Asaf | last post: by
8 posts views Thread by Tina | last post: by
1 post views Thread by M O J O | last post: by
2 posts views Thread by Alex Bögli | last post: by
2 posts views Thread by Michael D. Reed | last post: by
3 posts views Thread by =?Utf-8?B?Um9nZXIgVHJhbmNoZXo=?= | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.