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!

xrkxs
Posts: 13
Joined: Wed Oct 17, 2007 4:33 pm

ProcessorArchitecture attribute wrong with x86 assemblies

Version 6.2 fixes the missing ProcessorArchitecture attribute for .NET 2.0 assemblies.

However there is still a "useabillity" problem with it. When a .NET 2.0 assembly is inserted in AI6.2 it ALWAYS sets the ProcessorArchitecture to MSIL, also if the assmebly is actually an x86 compiled assembly!

I hope this one can be easily fixed.

Regards,
Martein
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: ProcessorArchitecture attribute wrong with x86 assemblies

Hi,

I cannot reproduce this behavior on my test machines. Also, our tests did not show any problems with this feature.
Can you please send us the assembly which shows this behavior to support at advancedinstaller dot com so we can investigate it?

Please follow these steps:
- open the assembly project (in Visual Studio for example)
- right-click it and select "Properties"
- go to the "Build" tab
- what value is set for "Platform target" ?

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
xrkxs
Posts: 13
Joined: Wed Oct 17, 2007 4:33 pm

Re: ProcessorArchitecture attribute wrong with x86 assemblies

Hi Cosmin,

The assembly is build with Managed C++ for Win32 platform. (Project type: Visual C++->CLR in VS2005. So it is not an MSIL processorarchitecture but rather x86.

When you build assemblies using this compiler they show as ProcessorArchitecture=x86 also in the GAC.

I will send an example assembly to AI support, but there is nothing special about it!


Regards,
Martein
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: ProcessorArchitecture attribute wrong with x86 assemblies

Hi Martein,

This is a bug in Advanced Installer and it will be fixed in a future version of Advanced Installer. Thank you for bringing this to our attention.
Basically, the compiler you used to create the assembly doesn't set a flag for it. Therefore we need to add another detection method which will support the compiler you used.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”