PDA

View Full Version : register dll



klokov
08-15-2003, 05:29 PM
My app require one .dll

I have add this dll into files section but
after installation my app dosn't work.

If I do "regsvr32 my.dll" then all Ok.

How to register this dll from InstallShield?

niranbhimaiah
08-15-2003, 11:16 PM
In the file group set the self register property to yes. This will register the file.

Regards
Niran Bhimaiah

rgpg_99
11-07-2003, 07:28 PM
Hi,

> Niran Bhimaiah wrote:
>In the file group set the self register
>property to yes. This will register the file.


I can see that option, but when I check it, the system warns "Including files which are not self-registering in a group with the self-registering option selected will cause an error in your installation".

Since the .dll I'm using is not a self-registering one (it's not .exe, and the documentation that comes with it says it has to be manually registered with regsvr32), then is there an additional code that I can use? I was using the following in a function:

function InstallSpeech()

begin
LaunchAppAndWait ( "regsvr32 C:\Windows\System\CtrlActiveXdll.dll" , ("") , WAIT );

return 0;

end;


...but that did not work. What should the syntax look like?

I'm using Installshield Pro 5 and the installation should work in 98/ME/NT/2000/XP.

Thanks :-)


Roberto

TsungH
11-10-2003, 02:42 PM
LaunchAppAndWait(WINSYSDIR ^ "regsvr32.exe", WINSYSDIR ^ "CtrlActiveXdll.dll", WAIT);

alberth
11-18-2003, 08:39 AM
Maybe put the dll in a seperate file group.
And make sure self register is off
If the file is not self-registering.