Jump to content

Include .NET Framework Installer?


Recommended Posts

QUOTE(MRedRaider @ Oct 25 2007, 02:22 AM)

IF .NET is not installed:

I solve this by running a batch file after the installation.

REM First check if version 2 of the DotNet framework is installeddir %windir%\Microsoft.NET\Framework\v* /B | find "v2.0"IF not errorlevel=1 GOTO DotNet2ExistsREM Version 2 was NOT installed so lets check i version 3 is installed thendir %windir%\Microsoft.NET\Framework\v* /B | find "v3.0"IF not errorlevel=1 GOTO DotNet2ExistsREM Not even version 3 was installed, then we need to install the version 2 anyway.
Echo Installing .NET Framework 2.0
c:
cd %1
dotnetfx.exe

GOTO TheEnd

:DotNet2Exists
ECHO Dot Net version 2 or 3 exists allready

:TheEnd

Link to comment

Thanks!!!

This solution should work great!

I still don't like the way 8.5 handles this situation.

I have been working on making my exe run without installing the runtime engine with much success. I have 30MB of files versus the 80MB that come with the installer. Now I may be able to run my own installer versus NIs... I just have to look into the licensing issues if I don't us NI's installer.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.