Problem with extracting registration info on a 64-bit system - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

tskiles
Posts: 12
Joined: Mon Sep 21, 2009 7:13 pm

Problem with extracting registration info on a 64-bit system

Hi.

I recently started building my installations on a Windows 7 64-bit system and the .dlls in my project stopped registering. I had them set to:
- Auto register
- Extract registration info from native library
- Synchronization: Buildtime

In an effort to better understand my issue, I switched to Synchronization:Enabled and no new entries were added to the Registry area of my project.

I resolved my issue in the following way:

I opened my project up on a 32-bit Windows XP system and switched the libraries to Synchronization:Enabled. This added the appropriate entries to the Registry area of my project. I then switched to Synchronization:Disabled and saved the project. Now I can build the project on my 64-bit system without any issues.

Is there some setting I am missing on my 64-bit build system that would allow me to set this back to Synchronization:Buildtime? It seems like Advanced Installer cannot successfully extract anything from my libraries on my 64-bit build system.

-Todd
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Problem with extracting registration info on a 64-bit system

Hi Todd,

I am afraid we could not reproduce this issue.
Is the dll you are registering a 32-bit dll? If so, does it have other dependencies installed on the system? Are they available?
You can right click a dll and select "Add Dependencies" from the context menu in Advanced Installer.

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
tskiles
Posts: 12
Joined: Mon Sep 21, 2009 7:13 pm

Re: Problem with extracting registration info on a 64-bit system

The files I am trying to register are 32-bit ocx files. As I mentioned, the same project opened on my Windows XP laptop works fine. Advanced Installer extracts the registry info from the ocx files without any problem. On my 64-bit Windows 7 desktop, nothing is extracted.

I even started a new professional project with nothing but 1 of the ocx files in it just to test and see if it had something to do with the project and had the same behavior.

-Todd
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Problem with extracting registration info on a 64-bit system

Hi Todd,

Would it be ok if you sent us the .ocx so we can further analyze the issue? If so, please send it to support at advancedinstaller dot com.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Problem with extracting registration info on a 64-bit system

Hi Todd,

It appears the .ocx depends on another dll called FTD2XX.DLL which must be registered on your machine. Are you informed about this error when trying to mark your .ocx for registration in Advanced Installer?
If so, you should first register that .dll (using regsvr) before attempting to register the .ocx
If not, please also send us that .dll so we can further investigate.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
tskiles
Posts: 12
Joined: Mon Sep 21, 2009 7:13 pm

Re: Problem with extracting registration info on a 64-bit system

Ok, well that may begin to explain the issue. That dll is part of the driver package for the hardware that the .ocx controls. In fact, that same driver platform is used for all of the different hardware .ocx(s) that we support. It is installed on both build systems but it may be a 64-bit version on one and the 32-bit version on the other. You can grab the installation from http://www.ftdichip.com/Drivers/D2XX.htm. Could the source of my issue be that the .ocx is 32-bit and the ftd2xx.dll is registering as 64-bit on the Windows 7 build system?
tskiles
Posts: 12
Joined: Mon Sep 21, 2009 7:13 pm

Re: Problem with extracting registration info on a 64-bit system

Were you able to gain any additional insight by testing with the FDTI driver installed?
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Problem with extracting registration info on a 64-bit system

Hello,

I downloaded the drivers, added your .ocx to my package, added the driver files to the same folder (in Files and Folders) as the ocx and marked the ocx for registration.
It appears to work this way.

Perhaps this might be of use to you.

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
tskiles
Posts: 12
Joined: Mon Sep 21, 2009 7:13 pm

Re: Problem with extracting registration info on a 64-bit system

Unfortunately, no. Perhaps the fact that I actually have the drivers installed on the 64-bit system is having an impact. I will try creating a 32-bit "XP-mode" virtual machine to run Advanced Installer in and see if that helps. At this point, since it works on your 64-bit Windows 7 test machine, it is obviously a problem a problem on my end. Thank you for your help.
tskiles
Posts: 12
Joined: Mon Sep 21, 2009 7:13 pm

Re: Problem with extracting registration info on a 64-bit system

I wanted to post an update. I installed Advanced Installer into an XP Mode virtual machine running on the same 64-bit Windows 7 system that was exhibiting the problem. Running in the XP Mode VM worked fine. I did nothing more than add the files to my project and set the OCX to extract the registry settings just as you suggested and just as I had in the past on my previous Windows XP build machine. There must be some kind of conflict caused by attempting to extract the settings from 32-bit OCX on a 64-bit build system. For now, I have my workaround. When I get more time, I will build a fresh 64-bit Windows 7 system and see if it works. Then install the actual product and supporting drivers and see if I can break it. That might help diagnose where the conflict is arising. In the meantime, if there are any Advanced Installer logs you would like me to send, or if you would like me to demonstrate my issue to you over GotoMeeting, just email me.

-Thanks for now... I'll keep you posted.
jasoncd
Posts: 49
Joined: Thu Jan 29, 2009 4:48 pm

Re: Problem with extracting registration info on a 64-bit system

Any updates on this? I'm moving my only VB6 project from InstallShield to AI 7.2.1. I'm running on a 64-bit system. So far, none of my DLL's have had registration info extracted, except one. The difference there was that I rebuilt it on this system. The others are years old. The others were registered using regsvr32 in a command prompt started with "Run as administrator", since I run as a limited user.

I did not have problems extracting info with IS on my old 32-bit system. I think I can get around this by exporting the registry info from IS and importing it into AI. Or do as the OP did, and use XP Mode.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Problem with extracting registration info on a 64-bit system

Hello,

Unfortunately, as my colleague said, we cannot reproduce the issue. You can try to use the workaround explained by Todd in his last post.

Regards,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
drhh
Posts: 1
Joined: Tue Dec 13, 2011 3:30 pm

Re: Problem with extracting registration info on a 64-bit sy

Try running Advanced Installer as Administrator.

It worked for me.

Return to “Common Problems”