Dawn of the Tiberium Age Self-Extracting Installer
A simple installer for Dawn of the Tiberium Age, but it can be easily modified to fit any project.
Created with Visual Studio 2017. Compiling may also work with older versions, but it hasn't been tested.
After compiling, you can simply take DTAInstaller.exe and distribute it. When run, it'll display the window below. After the user clicks Install, the installer
- creates the specified directory, if it doesn't already exist. If the directory exists and is not empty, the installer informs the user about it and asks whether they wish to proceed.
- extracts the Resources\Installer.zip file (which is embedded in the compiled
DTAInstaller.exe
as a resource) to the specified installation directory - if the "Create Desktop Shortcut" option was checked, a desktop shortcut to the
target directory\DTA.exe
is created - the installer starts
DTA.exe
from the target directory
The code is quite simple and all the functionality is in Form1.cs
, so the filenames etc. can be easily modified to fit any project.