Prev Previous Post   Next Post Next
Old 4th January 2009, 11:57   #1
typingcat
Junior Member
 
Join Date: Feb 2006
Posts: 4
Integrated .Net Framework, not download it

Hello. I'm a new user of NSIS. I have created a simple application that uses WinPCap in C#. So, my application requires both .NET Framework and WinPCap installed. Other than that my application doesn't need any special setup, no sytem file change, no registry entry, no anything.

I've searched Google for this, but all the search results were about downloading the .NET Framework from Microsoft's web site then installing. For I'm going to distribute my application in a CD, I want the .Net Framework integrated inside the setup file in order to save user's downloading time.

I need to know how to integrate the .NET Framework into the setup file, but not copy it to the Program files folder. I tried to do it myself, but the .Net Framework setup file was also copied to the Program Files folder.

If you have some free time, would you give me a simple code that does:
1. Integrate the .NET Framework setup file into my setup file.
2. Execute the .NET Framework setup quitely before installing (I already know how to check if .NET is installed so you may skip the code to check if it is installed or not)
3. Not copy the .NET Framework setup file to the Program Files folder.

If you teach me the code above, I think I myself can then apply the code to do the same thing for WinPCap. Thank you for your help.
typingcat is offline   Reply With Quote
 
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump