ocx and Installshield

Posted on 2001-06-13
Last Modified: 2013-11-20
Th experts,

I am trying to use InstallShield for Microsoft Visual C++ 6 (Build-130) and got no idea how to include two ocx and instruct it to register them.
I am a beginer, please help me in detail.
Question by:learn
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3

Expert Comment

ID: 6186527
Follow the steps below.
1)Add the "OCX" group in the components tab and right side u will find the "destination" filed double click on it and give the specified destination u want.
2)Now go to fileGroups tab add new fileGroup with same name as "OCX" and add the *.ocx file in the links option there.
3)In the components tab go to ur executable component right side u will find "include file group" field there u  include this new group of files(i.e OCX)
4) compile and build it.
That should be doing ur job.

Author Comment

ID: 6187006
Hi shilpa_Jb,

Thanks a lot for prompt help.
I followed the turo and mede a setup I use this project to try to do what you said...(or I need to do all from start?) but I don't know how to 'Add the "OCX" group in the components tab...In the Components tab there is only a Component with a folder 'Program Files'....
LVL 12

Accepted Solution

migel earned 70 total points
ID: 6187960
you also must set property Self Register for files
Independent Software Vendors: 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!


Author Comment

ID: 6190290
To migel,

Thank you.
do you mean set Self Ragister for ocx files?
However, I still don't know how to add ocx into InstallShield project:-(

Expert Comment

ID: 6190536
Hi Learn,
Right click on Component u get menu item saying NewComponent and rename that as OCX and do the same to file groups too.
And in the file groups u will find the field self registered as migel said make it as "yes" instead of "No" there, this will do the registration of ur OCX control on installation.
Again to change the registration option right cllick on that field and u get radio button and choose yes option there.
Hope it helps u.

Expert Comment

ID: 6190822
Hi Learn,
If u want more info to add Ocx file what u do is right click on the "file group" -> "links" under ocx
filegroup u added. u will get option to "insert files" click on that,and insert ur *.ocx file.
And compile it,That should add the ocx file to ur install shield.
Hope that helps u.
All the best

Author Comment

ID: 6193507
Hi All,

Thanks a lot.
I have found we need to do the file group first and then do the component....
I am going to give the points to migel since he/she tell me something I don't know and I need.

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question