Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

ocx and Installshield

Posted on 2001-06-13
7
Medium Priority
?
282 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 210 total points
ID: 6187960
Hi!
you also must set property Self Register for files
0
Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

 

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

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.

Question has a verified solution.

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

Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
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, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…

704 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