Hello,
I think the following walkthrough will help you. It details how to create
a custom action on your deployment. See
http://msdn.microsoft.com/library/en-us/vsintro7/html/vxwlkwalkthroughusingc ustomactiontoprecompileassermblyduringinstallation.asp
Alternatively, search "ngen setup deployment" at
http://msdn.microsoft.com/library/default.asp --------------------
[quoted text, click to view] >>From: "Some One" <someone@somewhere.com>
>>Subject: Running a DOS command (ngen.exe) after successful install
>>Date: Mon, 29 Sep 2003 11:50:04 -0500
>>Lines: 12
>>X-Priority: 3
>>X-MSMail-Priority: Normal
>>X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
>>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
>>Message-ID: <uVsmXoqhDHA.520@tk2msftngp13.phx.gbl>
>>Newsgroups: microsoft.public.vsnet.setup,microsoft.public.vstudio.setup
>>NNTP-Posting-Host: 216.140.239.100
>>Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftngp13.phx.gbl
>>Xref: cpmsftngxa06.phx.gbl microsoft.public.vstudio.setup:1483
microsoft.public.vsnet.setup:3498
>>X-Tomcat-NG: microsoft.public.vsnet.setup
>>
>>Hello Everyone,
>>
>>I have a Windows Form application and in the same .sln I have a setup
>>program to install it. Everything is fine. I was wondering if it is
possible
>>to run ngen.exe on my binaries after successful install?
>>
>>BTW: Just for your information, my programs run considerably faster after
>>using ngen on them.
>>
>>Thanks.
>>
>>
>>
Hope this helps,
Steve Donahue
--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm Note: For the benefit of the community-at-large, all responses to this
message are best directed to the newsgroup/thread from which they
originated.