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 a dll


2 replies to this topic

shajilr

shajilr
  • Members
  • 11 posts

Posted 15 October 2002 - 12:55

Hi,
   I want to register a  dll in user's system during installation. Could anyone help me on this.It would be of great help if any one show me with an example.
Thanks,
Shajil

vuttex

vuttex
  • Full Members
  • 35 posts

Posted 15 October 2002 - 13:14

If it is a file that you install, go to the "file groups" view and set the "self-registered" to yes. This file group shoul only include self-registered files.

If it is a file already on the system that you want to register you can use regsvr32. Use the following script:

LaunchApp (WINSYS ^ "regsvr32.exe", "/s " + svyourfilenamewithpath);

The /s is for silent registration.

During uninstalltion use /u for unregistering the file.

Taco Bell

Taco Bell

    IS6 Expert

  • Moderators
  • 1,281 posts

Posted 15 October 2002 - 14:05

Yeap, but the WINSYS inclusion is really unnecessary since regsvr32 is in the path.

Also, you can make the path the current directory if you wish to abbreviate filename references.


user posted image