• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 274
  • Last Modified:

InstallSheild in VC++ 6.0

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
huya
Asked:
huya
1 Solution
 
Tommy HuiCommented:
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
 
huyaAuthor Commented:
Any ideas on question 1 above?
0
 
st2599Commented:
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
 
huyaAuthor Commented:
Where is the release or debug setting found?  
0
 
duraiskCommented:
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

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.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now