Phill W. said:
You can make the DLL accessible via COM, by registering it for InterOp and
referencing the generated TLB from your Pascal installer.
Every DLL written in .Net requires the .Net Framework on the target
machine before it will run.
Regards,
Phill W.
There is also the option to compile the .Net assembly with references into a
static, assembly that requires no framework installation....
There is software out there that does this (or at least did in 2002 when I
needed it)...
But for InnoSetup and PascalScript, you can ensure that the user has the
..Net Framework installed using a check in InitializeSetup() and then either
include the framework installer (check EULA to make sure you are allowed to
do this) or prompt the user to install the framework and point to
Microsoft's download site. Make sure it's installed before continuing
Something that stinks and you should be aware of, you really can't install
items into the GAC using InnoSetup. This is because to do this with inno
you will need to run gacutil to install. GacUtil is not part of the
redistributable for the .Net framework and you are not allowed to distribute
it. You can write your own gac installer using the framework classes
though, but there is no guarantee it will work, and no exceptions will be
thrown if an assembly couldn't be installed. There is also PInvoke you
could use, along with SHFusion.dll (in the .Net framework directory) ...
HTH,
Mythran