I am not sure I really understand how you have earlier proceeded, but you can try to proceed as it follows:
- Create a .BAT file containing the command lines.
- Add the .BAT file to your Advanced Installer project.
- Now please go to "Custom Actions" page and add a "Launch File" custom action with sequence. To add a custom action with sequence, simply press the "Add custom action with sequence" button which is placed to the right side of the custom action's name.
- Now, please configure the custom action as it follows:
1- File to launch: [#yourBatFile.bat]
2- Run as Administrator - ticked
3- Use 64-bit Launcher - ticked (if you are using the "RegAsm.exe" executable from the 64-bit folder - i.e. "C:\Windows\Microsoft.NET\Framweork64"
4- Under "Execution Time", please select the "When the system is being modified (deferred)" radio button.
5- Under "Execution Options", also select the "Run under the LocalSystem account with full privileges (no impersonation)" option.
Hope this helps.
In what regards the fact that our built-in support for "Register .Net assembly for COM intercompatibility" is not working, could you please your .DLL file and all its dependencies by e-mail at support at advancedinstaller dot com so I can further investigate it?