MikaelH Posted October 25, 2007 Report Share Posted October 25, 2007 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 Quote Link to comment
MRedRaider Posted October 26, 2007 Report Share Posted October 26, 2007 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. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.