Solved

InstallSheild in VC++ 6.0

Posted on 1998-12-27
5
219 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

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
only14 challenge 19 68
wordcount challenge 11 108
Detect file exist or not 3 132
SQUD PROXY SERVER, UNIX, SLL/HTTPS 5 74
In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
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.
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

920 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

16 Experts available now in Live!

Get 1:1 Help Now