Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

How to register the Control of vc++


1 reply to this topic

sindhura

sindhura
  • Members
  • 1 posts

Posted 10 August 2005 - 06:14

Hi Friends,



Iam new to install shield..
Iam preparing setup for the vc++ project.
In that project Iam using one control,this control uses one .dll..
When I want to install my set up in the Client machine,I should provide
support for the registration of the control in the set up itself..
But I don't know how to do that..
Can anybody pls halp me..
I would appriciate if you could de this needful..

Regards,
Sindhu.


Edited by sindhura, 10 August 2005 - 06:21.


Taco Bell

Taco Bell

    IS6 Expert

  • Moderators
  • 1,281 posts

Posted 10 August 2005 - 13:51

Well there are basically two ways to do this.

One way, is to make a new file group for that file and enable its Self-Registered option.

The other is to use InstallScript to manually do it. Somewhere in the OnFirstUIAfter function, you would add code like the following:

CODE
LaunchAppAndWait("regsvr32", "/s <Filename>, WAIT);

where <Filename> includes the complete, fully-qualified path to the file. Naturally, this could be stored in variable and wouldn't have to be hard coded.

Since you're new though, I would probably recommend the former approach in your case.
user posted image