.NET Framework Full: 1.0, 1.1, 2.0, 3.0, 3.5, 4.0
*****************************************************
LiveXP WinBuilder Script for .Net Framework support
How to use it:
1. Extract both files (dotNetAll_henshaw.Script and
dotNetAll_henshaw.7z) into the same projects subfolder.
Do not rename them unless you know what you're doing.
2. Select the script ".Net Framework Full" from WinBuilder.
3. Run your net applications in LiveXP by calling them like this:
cmd.exe /c "path\yourApp.exe"
Here is an example:
In this example, we will create a desktop link to run a dotNet application.
Let's say you have a script for your dotnet application MyApp.exe in
your build. You want to install MyApp.exe to
"Program Files\My Application"
So, let's make a desktop shortcut to run this application:
//=========================== [variables] %ProgramTitle%=My Application v1.0 %ProgramEXE%=MyApp.exe %ProgramFolder%=My Application %cmd%= #$pSystemRoot#$p\System32\cmd.exe %path%=%Target_Prog%\%ProgramFolder%\%ProgramEXE% %param%=/c#$s#$q%path%#$q [process] Add_Shortcut,Desktop,,%cmd%,,,%param%,%path% //===========================
Actually, we are running the thinstalled cmd.exe and passing /c as the
first parameter and your application "MyApp.exe" as the second parameter.
Start-up time for dotNet applications will be a bit longer than normal
because I did not include the IL-NativeImages for space reasons.
These precompiled IL-libraries speed-up the live-compilation process of
net application thus reducing start-up time, but will increase the package
size to about three times.
More to that, to make a reasonable size, I had to apply some compression.
Attention:
Some applications like nlite, will report missing libraries-error then quit.
This is because, such applications call some other applications which fail
to see the virtual dotNet file-system because not loaded with the "/c"
parameter.
However, there is a work-around that. I will implement that in subsequent
revisions of my scripts.
Test your apps and give feed-backs.
Henshaw.
Download: .NET Framework Full (1.0, 1.1, 2.0, 3.0, 3.5, 4.0)
25-Mar-2011