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
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.
How to register a dll
Started by
shajilr
, Oct 15 2002 12:55
2 replies to this topic
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.
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.
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.
Also, you can make the path the current directory if you wish to abbreviate filename references.