I have a 32-bit project. Some of the DLL's are set to "Auto register file" (synchronization is "Buildtime", but this also happens when it's just "Enabled"). The DLL's component entry is not marked as 64-bit. However, after building the MSI, the component becomes flagged as 64-bit, both in the AI UI and in the MSI itself. This is causing considerable problems. Any idea what's going on?
I'm not sure why you encountered this behavior. I've tested your scenario but I cannot reproduce it.
Can you please send us the .AIP (project file) to support at advancedinstaller dot com so we can investigate it? If it contains confidential information you can send us a small test project which reproduce this behavior.
Also, can you please give us a test case scenario?
After several tests we were able to replicate the behavior. Here is my test case scenario when I could replicate this issue (32-bit module component is marked as 64-bit component):
- open without elevation an instance of Advanced Installer
- create a new project, go to "Files and Folders" page and add a 32-bit DLL file with the following options enabled "Auto register file (DLL,OCX,etc) -> Extract registration info from native library"
- the DLL component is not marked as 64-bit component
- remove the DLL file from "Files and Folders" page and add it again with the following options enabled "Auto register file (DLL,OCX,etc) -> Extract registration info from native library"
- now the DLL file component is marked as 64-bit component
This seems to be an Advanced Installer issue. A fix will be available in a future version of Advanced Installer, thank you for bringing this to our attention. We will let you know when the fix will be out.
We already added a fix for this issue and it will be available in our next version of Advanced Installer. However, until then, if you need you can send us an e-mail to support at advancedinstaller dot com and we can offer you a RC version of AI which includes this fix.
I think that I have the same issue. I have a COM visible assembly that is set to register. However it does not register properly. After installing, when I register it manually using the 32 bit version of regasm it works fine on a 64 bit machine otherwise it fails.
Has a fix for this been released or is it still to come out? I am on 10.9.1 and still getting the error.
As Daniel said, a fix will be available in the next version of Advanced Installer. Until then, if you need this, you can send us an e-mail to support at advancedinstaller dot com and we can offer you a Release Candidate version which includes this fix.