Solved

ocx and Installshield

Posted on 2001-06-13
7
269 Views
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.
0
Comment
Question by:learn
[X]
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
7 Comments
 
LVL 2

Expert Comment

by:shilpa_Jb
ID: 6186527
Hi,
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.
Shilpa
0
 

Author Comment

by:learn
ID: 6187006
Hi shilpa_Jb,

Thanks a lot for prompt help.
I followed the turo and mede a setup package....now 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'....
0
 
LVL 12

Accepted Solution

by:
migel earned 70 total points
ID: 6187960
Hi!
you also must set property Self Register for files
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

Author Comment

by:learn
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:-(
0
 
LVL 2

Expert Comment

by:shilpa_Jb
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.
Shilpa
0
 
LVL 2

Expert Comment

by:shilpa_Jb
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
Shilpa
0
 

Author Comment

by:learn
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.
0

Featured Post

Ready to get started with anonymous questions?

It's easy! Check out this step-by-step guide for asking an anonymous question on Experts Exchange.

Question has a verified solution.

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

Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
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.
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…

630 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