Dawn of the Tiberium Age Self-Extracting Installer
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Licenses
Properties
Resources
.gitignore
App.config
DTAInstaller.csproj
DTAInstaller.sln
Form1.Designer.cs
Form1.cs
Form1.resx
LICENSE.md
Program.cs
README.md
clienticon.ico
screenshot.png

README.md

DTAInstaller

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.

How it works

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

  1. 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.
  2. extracts the Resources\Installer.zip file (which is embedded in the compiled DTAInstaller.exe as a resource) to the specified installation directory
  3. if the "Create Desktop Shortcut" option was checked, a desktop shortcut to the target directory\DTA.exe is created
  4. 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.

Screenshot