InnovRick
Posts: 9
Joined: Wed May 22, 2013 4:16 pm

Problem with command SetPackageType x86

Hi,

I seem to have found a bug with the 'SetPackageType' command. When 'SetPackageType' is called with the value 'x86', the resulting MSI does not install on either a 32-bit or 64-bit system (tested on Win7) and gives the following Windows Installer error : « This installation package is not supported by this processor type. Contact your product vendor.”

By default, the 'Package Type' field is set to '32-bit package' in the UI. After using the command, it still shows the same value, but when I look at the .aip file in a text editor, the following has been added:

<ROW BuildKey="DefaultBuild" BuildName="DefaultBuild" BuildOrder="1" BuildType="0" Languages="en" InstallationType="4" UseLargeSchema="true" MsiPackageType="x86"/>

I also analyzed the resulting MSIs in Orca and the following value differs:

Property->AI_PACKAGE_TYPE
  • 'Intel' : Value when not using SetPackageType
  • 'x86' : Value when SetPackageType is used
If I manually edit the .aip file and change the value of 'MsiPackageType' to Intel, the MSI works.

This is not a showstopper for us since the only thing we have to do is not use the 'SetPackageType' command when we want a 32-bit package type, but I felt it would be good to report it nonetheless.

Thank you,

Eric
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Problem with command SetPackageType x86

Hi Eric and welcome to Advanced Installer forums.

Indeed, this seems to be an Advanced Installer issue. A fix will be available in a future version of Advanced Installer, thank you for bringing it to our attention.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Wasiq Ali
Posts: 1
Joined: Wed Oct 23, 2013 12:58 pm

Re: Problem with command SetPackageType x86

Hello. I'm facing the same issue with Advanced Installer. I wish to build my x64 and x86 setups, both from a single .bat file that changes the PackageType. I have not yet updated my Advanced Installer. Is this issue resolved? If not, can you suggest to me a workaround to this problem?
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Problem with command SetPackageType x86

Hi and welcome to Advanced Installer forums.

Unfortunately, this issue was not fixed yet. However, as a workaround you can try to use "/SetPackageType intel" for the "x86" package type.

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

Re: Problem with command SetPackageType x86

Hello,

This was fixed in version 10.7 of Advanced Installer released on November 11, 2013.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”