Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: COM extraction from .ocx .exe does nothing or is incomplete

Hello,
That would be great. Also note, that there could be other folder properties other than [APPDIR]. For example, I might define a directory "MyFolder_Dir" as "C:\MyFolder". Currently, this will result in [WindowsVolume]MyFolder, instead of [MyFolder_Dir]MyFolder.
I've forwarded your feedback to our dev team and hopefully your thoughts will be also considered.
I would like to suggest two additional related features for the future:
- The ability to put AI properties in a registry file. Maybe some special syntax to sidestep the character escaping
I've talked with our dev team about such an improvement, but I'm afraid for now they declined the proposal. Our import registry file feature is designed to use only original Windows REG files. Thank you for your understanding.
- The ability to import the registry files into components at build time (dynamic). I might have mentioned this one before.
Maybe we'll consider such an improvement in a future version of Advanced Installer. Thank you for your suggestion.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: COM extraction from .ocx .exe does nothing or is incomplete

Hello,

The issue regarding the Imported registry values that aren't resolved to the formatted file references was fixed in version 12.6 of Advanced Installer released on December 8th, 2015.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
GlenT
Posts: 118
Joined: Mon Jul 16, 2012 8:44 pm

Re: COM extraction from .ocx .exe does nothing or is incomplete

It's funny, I hadn't thought about this for quite a while. But today, I thought I'd drop by and see if anything was new. Thanks, I'll give it a try.
GlenT
Posts: 118
Joined: Mon Jul 16, 2012 8:44 pm

Re: COM extraction from .ocx .exe does nothing or is incomplete

Not related to COM, but the first thing that I noticed with 12.6 is that your Build Project progress form no longer shows the detailed operation currently being performed. Too bad. I like to watch this, especially when I just updated AI to a new version, to make sure that things like code signing etc. get executed.

Now it provides nothing by a summary of what has been completed.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: COM extraction from .ocx .exe does nothing or is incomplete

Hello Glen,

Thank you for your feedback.

Indeed our build progress has changed to a new style which display less info about the build operations. I've forwarded your thoughts to our development team and maybe an improvement will be available in a future version of Advanced Installer. Maybe they can display more details in the build log.

We'll update this thread when such an improvement will be available. Thank you for your thoughts.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
GlenT
Posts: 118
Joined: Mon Jul 16, 2012 8:44 pm

Re: COM extraction from .ocx .exe does nothing or is incomplete

Well, without getting into the other issues raised, my preliminary observation is that the extraction of COM information from .EXE files is completely broken -- again. It was working reasonably well a few releases back. From a possible 20 COM items in my test item, extraction succeeded in pulling only 2.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: COM extraction from .ocx .exe does nothing or is incomplete

Hi Glen,

Have you checked in COM page from AI, not just in Registry page? Now Advanced Installer automatically moves the matching registry in the COM page.
The first time you enter the page it notifies you about this. Also, from the toolbar in the Registry page you can disable this behavior.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
GlenT
Posts: 118
Joined: Mon Jul 16, 2012 8:44 pm

Re: COM extraction from .ocx .exe does nothing or is incomplete

Yes, I saw the new menu item with ability to turn this on an off.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: COM extraction from .ocx .exe does nothing or is incomplete

Hello Glen,

I've tested using AI 12.6.1 some of the COM resources you sent us in the past and it seems the COM registration registries are extracted correctly. I've ran the tests on Windows 8.1 and Windows 7 x64 machines. Would it be possible for you to send us a buildable sample (AIP + its referenced files) to support at advancedinstaller dot com so we can test and investigate it?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
GlenT
Posts: 118
Joined: Mon Jul 16, 2012 8:44 pm

Re: COM extraction from .ocx .exe does nothing or is incomplete

OK, will send another set. Same issue as before: none of the COM Interface entries are extracted.
GlenT
Posts: 118
Joined: Mon Jul 16, 2012 8:44 pm

Re: COM extraction from .ocx .exe does nothing or is incomplete

OK, just a note to update where we are at with this, we found that on our development machine (Win7 Pro 32bit) that all of our objects had to be unregistered, in order for the AI COM extraction tool to work correctly. If they are registered when extraction is attempted, then the Interface entries are left out of the extraction. However, if the objects are not registered on the current workstation, then the AI COM extraction works as expected.

Also good to know, is that with the new feature of being able to see the complete set of COM entries in the Registry page, it is possible to delete all entries successfully and then perform a fresh extraction, without having left-over COM stuff in the AI project. That is, I believe that this is the case, as I was able to flush out the old stuff and bring in a new set, without any apparent problems. YMMV.

Return to “Common Problems”