Install .NET 4.0

The Install .Net 4.0 action installs the .Net Framework 4.0 during an update, if the framework is not already present.

This action uses the Microsoft .Net Framework installer.  You can configure the action to include the web installer in the update, include the full installer, or download the installer from a designated location.

As the update action executes, progress can be shown by the AppLife Update user interface, or you can display the Microsoft Framework installer user interface.  The Microsoft installer interface can be shown n a passive mode, where the user does not provide any feedback, or in a standard mode.

Note:  If you are using the AppLife Update Windows Service for permissions elevation, you must use the Show progress as part of the update option.

If the Framework installer requires a system restart, you can configure the prompt shown to the user.

You can set a shared property if installing the framework requires a system restart.  This shared property can then be used to conditionally prevent your application from restarting by using a Prevent Application Restart action and a conditional statement.

Prepare Stage

No action taken

Execute Stage

Checks for the presence of the .Net 4.0 Framework. If the framework is not present, the framework installer is launched as configured in the action properties.

Cleanup Stage

No action taken. 

Rollback Stage

No action taken.  If the .Net 4.0 Framework is successfully installed, it will not be uninstalled in an update rollback.