I have a problem to build an MSI Package containing some .Net (Version 2) DLLs which have to get registered automatically by the package. I used the Properties / Registration Dialogue on the Files and Folders Page to mark them for Auto Registration / Register .Net Assembly with Synchronization Option "Disabled". Every time I did it like this the Advanced Installer (Version 9.4) replied "The selected file could not be registered". What did I do wrong? I think it's no problem of the DLLs, because I used a script for registration up to now and had no problems. The script calles the regasm-Tool like this:
Code: Select all
set DOTNETDIR=C:\Windows\Microsoft.NET\Framework\v2.0.50727
set REGASM=%DOTNETDIR%\regasm.exe
%REGASM% TSystems.Agev.Mmi.Bookmark.dll
...By the way: the 'trick' only works for one built. Next time I started the Advanced Installer, I got the error message again.
Best regards,
Thorsten Baumeister
FOLLOW US
Get the latest news in Application Packaging