Solved

ocx and Installshield

Posted on 2001-06-13
7
253 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
  • 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Expand macro to include alternate header placement and naming 5 66
WinWaitActive parameters 12 31
EvenOdd challenge 10 92
Use of condition with 'serial' in ansible 2 50
Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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.
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

863 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now