I want to make usage of the precompiled feature for dotnet applications.
For that porpose I've marked my exe as Assembly in advanced installer and check the "Generate native image for private assembly".
After installation, the apllication will NOT be registered.
In install.log I can see that the ngen step show an error:
Code: Select all
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\ngen.exe install "S1, Version=0.1.21719.0, Culture=neutral, PublicKeyToken=d436eab7900e45b5"Microsoft (R) CLR Native Image Generator - Version 4.8.3752.0
Copyright (c) Microsoft Corporation. All rights reserved.
Uninstalling assembly S1, Version=0.1.21719.0, Culture=neutral, PublicKeyToken=d436eab7900e45b5 because of an error during compilation: Das System kann die angegebene Datei nicht finden. (Exception from HRESULT: 0x80070002).
Das System kann die angegebene Datei nicht finden. (Exception from HRESULT: 0x80070002)
The correct syntax would be:
Code: Select all
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\ngen.exe install "S1.exe"
Regards, Éric.