IA18.08: Generate Native Images in x64 mode is not working

Got a problem you cannot solve? Try here.
Wolfgang Guertl
Posts: 19
Joined: Wed Oct 15, 2014 7:14 am

IA18.08: Generate Native Images in x64 mode is not working

Postby Wolfgang Guertl » Wed Oct 15, 2014 7:51 am

IA18.08: Generate Native Images in x64 mode is not working

Hi

The function "Generate Native Images for assembly" does not work for Framework 4 assemblies in x64 MSI Mode.
I do use IA18.08 Studio Admin. The project assemblies are signed with a key file. The install.log does not show any problems.

ngen /show does not show any IA produced entries in x64 mode.

If the setup is running in x86 mode ngen /show does list the generated assembly.


Microsoft (R) CLR Native Image Generator - Version 4.0.30319.33440
Copyright (c) Microsoft Corporation. All rights reserved.
WARNING: This syntax is deprecated or you mis-typed your command. Run "ngen /?" to display a list of the currently supported parameters.

NGEN Roots:

.
.
.
C:\Program Files (x86)\IAngenbugx64Setup\IAngenbugx64.exe
.
.
.
.

please look at the attached zip.
any help would be very appreciated
regards from Austria


Wolfgang Guertl
Attachments
IAngenbugx64.zip
sample project shows the bug
(4.23 MiB) Downloaded 395 times

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

Re: IA18.08: Generate Native Images in x64 mode is not worki

Postby FrancescoT » Thu Oct 16, 2014 10:59 am

Dear Wolfgang,

unfortunately I can only confirm the issue and I'll notify our dev team about the problem.

As workaround, you could execute the "ngen" tool using the "Run Program" command to creates native images in x64 mode.

Code: Select all

Get System Setting Windows in 64 bit Mode into ISX64OS
if Variable ISX64OS Equals TRUE
  Run Program $FrameWork64Path$\ngen.exe ngen.exe install $TARGETDIR$\IAngenbugx64.exe (WAIT)
end


The same as IA clipboard format:

Code: Select all

~InstallAware Clipboard Data~
~End~
~{00BCA810-9522-4872-B08C-1E8A0D50DF38}~
~Run Program~
~{B8A00ED7-0D2B-459C-A73F-A3492F80DF71}~
~$FrameWork64Path$\ngen.exe~
~FALSE~
~ngen.exe install $TARGETDIR$\IAngenbugx64.exe~
~TRUE~
~~
~If~
~{4146256E-5751-4ABC-93C0-E577B378AA85}~
~ISX64OS~
~0~
~TRUE~
~FALSE~
~Get System Settings~
~{27B011FD-B0DF-415C-8E75-5E90C260A449}~
~ISX64OS~
~65~


Hope this helps you.

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

Wolfgang Guertl
Posts: 19
Joined: Wed Oct 15, 2014 7:14 am

Re: IA18.08: Generate Native Images in x64 mode is not worki

Postby Wolfgang Guertl » Tue Oct 21, 2014 8:56 am

Hi Franceso!

Thank you for your workaround. But i find another ngen issue in 32 bit mode. If the Setup run's with NEEDSUPGRADE=TRUE the ngened assemblies did not get uninstalled with the "Install/Remove MSI Package .... " command at line 47. A MesseboxShow will pause the upgrade process. Please have a look at the modified sample.

regards from Austria

Wolfgang Guertl
Attachments
IAngenbugx64_32bitUpgradeBug.zip
(4.23 MiB) Downloaded 378 times

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

Re: IA18.08: Generate Native Images in x64 mode is not worki

Postby FrancescoT » Tue Oct 21, 2014 10:58 am

I'll check 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


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 163 guests