Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rampastring/dtainstaller
Dawn of the Tiberium Age Self-Extracting Installer
https://github.com/rampastring/dtainstaller
c-sharp command-and-conquer dawn-of-the-tiberium-age installer winforms
Last synced: 5 days ago
JSON representation
Dawn of the Tiberium Age Self-Extracting Installer
- Host: GitHub
- URL: https://github.com/rampastring/dtainstaller
- Owner: Rampastring
- License: other
- Created: 2017-11-22T00:00:32.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-06T22:17:04.000Z (about 6 years ago)
- Last Synced: 2023-10-20T22:45:24.288Z (about 1 year ago)
- Topics: c-sharp, command-and-conquer, dawn-of-the-tiberium-age, installer, winforms
- Language: C#
- Size: 552 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# DTAInstaller
Dawn of the Tiberium Age Self-Extracting InstallerA simple installer for [Dawn of the Tiberium Age](http://www.moddb.com/mods/the-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 directoryThe 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](screenshot.png?raw=true "DTA Installer")