PDA

View Full Version : Install *.dll plus individual dlls that need RegAsm



NewsArchive
04-02-2013, 12:22 PM
Hi Friedrich,

I am converting an old Install Aware script to SB (Yeah).
For convenience I'm using *.dll in an Install File command to pick up all
the DLLs from a folder.
2 of the DLLs are .Net assembly that need to be COM Interop registered.
Can I just put individual Install File commands for those 2 with
appropriate options checked?
Should I exclude the two files from the *.dll command?

Thanks,
Rick

NewsArchive
04-02-2013, 12:23 PM
Rick,

> I am converting an old Install Aware script to SB (Yeah).
> For convenience I'm using *.dll in an Install File command to pick up
> all the DLLs from a folder.
> 2 of the DLLs are .Net assembly that need to be COM Interop registered.
> Can I just put individual Install File commands for those 2 with
> appropriate options checked?
> Should I exclude the two files from the *.dll command?

You have two options:

1. Exactly what you said. Exclude the two DLLs from the "Install File(s)"
wildcard command and add two separate "Install Files(s)..." functions which
install and COM Interop register the two files.

2. What you can also do is to use "Register File Operation..." on these two
files to execute COM Interop registration.

Does this help?

Friedrich