This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- .NET Precompile Assemblies
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Dec 15, 2008
11:35 AM
.NET Precompile Assemblies
Dear all!
The developers of our software want me to precompile about 20 .NET assemblies (they seem to be sure about it 🙂 .
I just played around with InstallShield's ".NET Precompile Assembly" and I'm not really convinced about it... The DOS window that prompts up during the installation is pretty annoying...
My main problem is that the .NET assemblies have dependencies between each other and during the precompilation they don't seem to be able to "find" each other (i get a lot of errors). As far as i understand the order of this precompilation is crucial, can anybody confirm this?
I'm pretty sure that if i precompile these assemblies in the right order they will be able to find each other... Am I right that it is not possible to set the "precompilation order" of assemblies within InstallShield?
Has anybody experience with Assembly Precompilation? Do you use the InstallShield feature or do you manually call a batch file which uses ngen.exe? (with a batch file i'd be able to set the order or the precompilation)
Thanks for your help!
Michael
The developers of our software want me to precompile about 20 .NET assemblies (they seem to be sure about it 🙂 .
I just played around with InstallShield's ".NET Precompile Assembly" and I'm not really convinced about it... The DOS window that prompts up during the installation is pretty annoying...
My main problem is that the .NET assemblies have dependencies between each other and during the precompilation they don't seem to be able to "find" each other (i get a lot of errors). As far as i understand the order of this precompilation is crucial, can anybody confirm this?
I'm pretty sure that if i precompile these assemblies in the right order they will be able to find each other... Am I right that it is not possible to set the "precompilation order" of assemblies within InstallShield?
Has anybody experience with Assembly Precompilation? Do you use the InstallShield feature or do you manually call a batch file which uses ngen.exe? (with a batch file i'd be able to set the order or the precompilation)
Thanks for your help!
Michael
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Dec 15, 2008
02:42 PM
If it's any help, I think you can set the order InstallShield implicitly requests by editing the Command Line of the ISJITCompileActionAtInstall and ISJITCompileActionAtUnInstallcustom actions (Show All custom actions to see them). I don't know if it will help for your use case though; I would have expected ngen to build a dependency tree instead of just failing.
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)