When specifying Priority="0" on the NativeImage extension, the installation properly executes an ngen command with no /queue qualifier and the native image is successfully generated but, at the end of the install the NativeImage extension executes an "ngen update /queue" command which deletes all of the native images and queues an update. The result is that native images are not available when the installation is complete.
This is WiX V3.0.5405. The following is a fragment of the ngen.log file which shows the JAMSScheduler.exe image being generated and showing that it is missing at the end of the installation. I added comments enclosed in []. 11/25/2009 18:32:43 [3560]: Command line: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\ngen.exe install C:\Program Files\MVPSI\JAMS\Scheduler\JAMSScheduler.exe 11/25/2009 18:32:43 [3560]: Installing assembly C:\Program Files\MVPSI\JAMS\Scheduler\JAMSScheduler.exe 11/25/2009 18:32:44 [3560]: Compiling assembly C:\Program Files\MVPSI\JAMS\Scheduler\JAMSScheduler.exe ... [other images from the installation are compiled] 11/25/2009 18:33:09 [3020]: Command line: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\ngen.exe install C:\Program Files\MVPSI\JAMS\Agent\JAMSHost32.exe 11/25/2009 18:33:09 [3020]: Installing assembly C:\Program Files\MVPSI\JAMS\Agent\JAMSHost32.exe 11/25/2009 18:33:10 [3020]: All compilation targets are up to date. 11/25/2009 18:33:10 [3020]: ngen returning 0x00000000 11/25/2009 18:33:10 [3704]: Command line: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\ngen.exe update /queue 11/25/2009 18:33:10 [3704]: ngen returning 0x00000000 [That's the end of the NGEN commands executed by the MSI] [The following commands were entered by me to figure out what is going wrong] 11/25/2009 18:34:16 [2712]: Command line: ngen queue status 11/25/2009 18:34:16 [2712]: ngen returning 0x00000000 11/25/2009 18:34:31 [804]: Command line: ngen display jamsscheduler 11/25/2009 18:34:31 [804]: Error: The specified assembly is not installed. 11/25/2009 18:34:31 [804]: ngen returning 0xffffffff 11/25/2009 18:34:37 [3768]: Command line: ngen display jamsshr 11/25/2009 18:34:37 [3768]: Error: The specified assembly is not installed. 11/25/2009 18:34:37 [3768]: ngen returning 0xffffffff [And some commands I entered later to verify that an update does delete everything] 11/30/2009 13:03:15 [10728]: Command line: ngen display jamswin 11/30/2009 13:03:15 [10728]: NGEN Roots: 11/30/2009 13:03:15 [10728]: C:\Program Files\MVPSI\JAMS\Client\JAMSWin.exe 11/30/2009 13:03:15 [10728]: NGEN Roots that depend on "jamswin": 11/30/2009 13:03:15 [10728]: C:\Program Files\MVPSI\JAMS\Client\JAMSWin.exe 11/30/2009 13:03:15 [10728]: Native Images: 11/30/2009 13:03:15 [10728]: JAMSWin, Version=4.8.83.0, Culture=neutral, PublicKeyToken=7da961def3057cf2 11/30/2009 13:03:15 [10728]: ngen returning 0x00000000 11/30/2009 13:04:46 [10936]: Command line: ngen update /queue 11/30/2009 13:04:47 [10936]: ngen returning 0x00000000 11/30/2009 13:04:52 [10984]: Command line: ngen display jamswin 11/30/2009 13:04:52 [10984]: Error: The specified assembly is not installed. 11/30/2009 13:04:52 [10984]: ngen returning 0xffffffff ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users