I build an install file that includes XML and a few other programs. Right now I am getting the following message during an attempted install of my files:

msxml4.dll failed to register. HRESULT -2147023782. Contact your support personnel.

This is because I actually need to register MSXML4 on regsvr32 for my install.

Manually I can do the following:

%windir%\SysWOW64\regsvr32 C:\User\Desktop\msxml4.dll

However, I would like to do so automatically by modifying my Visual Studio set up package before I build it through a Custom Action or anything else that would get the job done.

Any suggestions would be very appreciated.

1

There are 1 best solutions below

3
On

Administrative rights are required for assembly registration.