IA15 miabuild installer always run 32bit mode

Got a problem you cannot solve? Try here.
Post Reply
Bjarne
Posts: 100
Joined: Mon Apr 07, 2008 2:38 am
Contact:

IA15 miabuild installer always run 32bit mode

Post by Bjarne »

Hi all.
I have a problem with IA15 relating to miabuild.exe. The project detects whether the target machine is x86 or x64 and sets "Set 64 Bit mode" accordingly.
When compiling the project through the IDE (web build) the resulting *.exe behaves as expected, the target folder is set to "C:\Program Files\xxx" regardless if the target machine is x86 or x64.
But when compiling the same project through miabuild.exe the resulting installer suggests "C:\Program Files(x86)\xxx" on a x64 box indicating that the "Set 64 Bit mode" doesn't seem to behave properly and runs the installer in 32 bit?

Any thoughts?
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: IA15 miabuild installer always run 32bit mode

Post by FrancescoT »

Dear Bjarne,

Without having your project, I can only suppose ... that probably exist a compiler variable declared with your project and this could be assigned to a different value through IA IDE.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Bjarne
Posts: 100
Joined: Mon Apr 07, 2008 2:38 am
Contact:

Re: IA15 miabuild installer always run 32bit mode

Post by Bjarne »

Well, I do indeed use compiler vars but the only one's passed as args are PRODUCT_VERSION and OUTPUT_FILENAME, the entire command line is shown here below.

Code: Select all

 C:\Windows\system32\cmd.exe /c miabuild.exe "D:\InstallAware Projects\MyProject.mpr" /r PRODUCT_VERSION=1.0.0.0 OUTPUT_FILENAME=MyApp.exe
Compiler var 'LOADOLDDATA' is static and set to TRUE in the IDE.

Can any of these really effect the 32/64 mode? :roll:
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: IA15 miabuild installer always run 32bit mode

Post by FrancescoT »

Dear Bjarne,
LOADOLDDATA: If set to TRUE, the setup engine will load feature definitions and other saved data (see the Load Feature Selections command for more details) from an older version of setup.
By the way, the above variable as TRUE will only loads the saved data if a previous version is found during installation.

If are able to send me a very minimal project that replicates your issue, I will try to verify it.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Bjarne
Posts: 100
Joined: Mon Apr 07, 2008 2:38 am
Contact:

Re: IA15 miabuild installer always run 32bit mode

Post by Bjarne »

You can put this one aside. After rewriting the IA related scripts (checkXXX, setupXXX) the problem vanished. Don't ask me why :mrgreen:
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: IA15 miabuild installer always run 32bit mode

Post by FrancescoT »

:D :D :D
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Post Reply