cainrandom
Posts: 32
Joined: Wed Nov 26, 2008 11:23 pm

Auto registration marking DLL as 64-bit

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?
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: Auto registration marking DLL as 64-bit

Hello,

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?

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Auto registration marking DLL as 64-bit

Hello,

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.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
cainrandom
Posts: 32
Joined: Wed Nov 26, 2008 11:23 pm

Re: Auto registration marking DLL as 64-bit

Thanks, Daniel. I sent the files you requested as well. As a workaround, I just switched everything to self-registration.
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Auto registration marking DLL as 64-bit

You're welcome Cain. I'm glad you found the workaround.

We will notify you when a fix for this issue will be available.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Auto registration marking DLL as 64-bit

Hello,

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.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
zeiddev
Posts: 103
Joined: Sat Aug 10, 2013 12:30 am

Re: Auto registration marking DLL as 64-bit

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.

David
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: Auto registration marking DLL as 64-bit

Hi David,

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.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: Auto registration marking DLL as 64-bit

Hello,

The 32-bit module component is marked as 64-bit component issue has been fixed in version 11.0 of Advanced Installer released on March 13th, 2014.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
cainrandom
Posts: 32
Joined: Wed Nov 26, 2008 11:23 pm

Re: Auto registration marking DLL as 64-bit

Thanks, Dan!

Return to “Common Problems”