We have a number of .NET dll's and tlb's registering correctly when the installer is made for Win10 32 bit. However they fail to register when we run the 64 bit version of our installer on a Win10 64 bit machine.
The .NET dll's and tlb's use the auto register option found in the Files and Folders section of Advanced Installer:
dll

tlb

I've searched high and low and I've found a few plausible solutions:
1. Change Advanced Installers path to regasm.exe from the 32 bit path to the 64 bit. This has also failed.
2. Use custom actions "Launch File" to register the dll's and tlb's manually using regasm.exe
Properties:
Code: Select all
File to launch: "[WindowsFolder]\Microsoft.NET\Framework64\"
Command Line: /codebase "[#pathto.dll]" /tlb:"[#pathto.tlb]"
Hide program's window: checked
Run as adminL checkedCode: Select all
Immediately: checkedCode: Select all
Wait for custom action to finish before proceeding: checkedCode: Select all
Install:Checked
Condition: O64 = "TRUE" AND ((&BaseComponents = 3) AND NOT (!BaseComponents = 3))The custom action solution works however it is not suitable solutions for our client. They are a large business and deploy software using SCCM and running a power sheel script of:
Code: Select all
msi.exe [package] /qnWe have been using Advanced Installer for a long time now but debating on going back to basics with WIX Toolset to overcomes this single issue.
FOLLOW US
Get the latest news in Application Packaging