Solved

InstallSheild in VC++ 6.0

Posted on 1998-12-27
5
235 Views
Last Modified: 2013-11-20
Here is a question that I need an answer for regarding the InstallSheild that came with Visual C++ 6.0 :

1) When I change the resource file (i.e. the one defining the String constants used in the setup), it doesn't get reflected in the build, even though I recompile.  Why is this and how do I remedy it?

2) How does one register an .ocx object using InstallShield? Is there a way to run a batch file in InstallSheild (the version in VC++ 6.0) ??

Thanks
0
Comment
Question by:huya
5 Comments
 
LVL 15

Expert Comment

by:Tommy Hui
ID: 1326783
To register an OCX with InstallShield, the .ocx must have a string property in the version resource called OleSelfRegister. When InstallShield copies an executable image over, it checks the version resource to see if OleSelfRegister is there. If so, it automatically registers the image.
0
 

Author Comment

by:huya
ID: 1326784
Any ideas on question 1 above?
0
 

Accepted Solution

by:
st2599 earned 250 total points
ID: 1326785
about the quesiton 1, you may check what is the current settings for win32 release or win32 debug. if you want a release version, but you kept on changing the setting for win32 debug, then nothing will come out.


0
 

Author Comment

by:huya
ID: 1326786
Where is the release or debug setting found?  
0
 
LVL 1

Expert Comment

by:duraisk
ID: 1326787
can't u not do by running regsvr *.ocx and register?
i.e., in the start menu of Windows 95 or NT click on Run. In the dialog box that appears type the name of the OCX with the word regsvr in the first
like this:
regsvr <name of the OCX>
and click on OK it should register



0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
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.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

828 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