cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
spoplavskyy
Level 4

Register .dll

Hi all.

Can someone provide me with info, how can I register .dll file using IA.
(In cmd command looks like - regsvr32 dllPath\myFile.dll)
Labels (1)
0 Kudos
(6) Replies
pv7721
Level 20

You have in IA an option of executing a command line... doesn't it work?
0 Kudos
spoplavskyy
Level 4

On the install step, in UserInstallFolder I added MyContextMenu.dll.

You mean I can add "Execute Command" action in UserInstallFolder and enter "regsvr32 $USER_INSTALL_DIR$\MyContextMenu.dll" in Command Line?
0 Kudos
pv7721
Level 20

You know, the Install Task section is not restricted to pure file installation only. Just click Add Action and in the list of available actions click the General Tab. You can use and Execute Command right after your .dll installation, the only thing to be careful about would be that you might need to indicate the full path to the .dll you want to register when issuing the regsrv32 command.
0 Kudos
spoplavskyy
Level 4

Is it possible to add .dll file to User Installation Folder, and than in command line use $USER_INSTALL_DIR$\myContextMenu.dll as path to .dll file?
0 Kudos
pv7721
Level 20

Yes, but again I would recommend using standard IA variables for separators:

$USER_INSTALL_DIR$$\$myContextMenu.dll
0 Kudos
spoplavskyy
Level 4

Thank you very much
0 Kudos