Page 1 of 1

Script Packager and Com Objects

Posted: Tue Apr 28, 2009 10:46 am
by kellydyane
I am using the script packager to package an HTA application (on Windows XP) and have included a dll for the MS Soap Toolkit. When I run this on a system (Server 2003) I get an error that the object cannot be created. When I find the dll on the file system (%windir%system32) and try and register is manually, the registration fails. What am I doing wrong.

Should the dll be registered when I run the packaged exe?

Script Packager and Com Objects

Posted: Tue Apr 28, 2009 5:15 pm
by Alexander Riedel
Usually when a dll cannot be registered some dependency or prerequisite is not installed.
I find the tool here: http://www.dependencywalker.com/
very handy to determine what other dlls a module depends on.

The SOAP toolkit has a runtime installer, found here:
http://www.microsoft.com/downloads/deta ... layLang=en

I think it would be easier to run this once on a server rather than including individual dlls.

Alex