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
Technology Partners: 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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

Suggested Solutions

Title # Comments Views Activity
function returning CString in a regular win32 DLL 8 200
sumHeights2  challenge 7 131
changeXy challenge 13 93
How to convert MFC::CString to UTF8 wchar_t* 10 384
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
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.

733 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