Skip to content

Commit

Permalink
Installer
Browse files Browse the repository at this point in the history
  • Loading branch information
krisdb2009 committed Oct 7, 2019
1 parent e4ce8f8 commit 8029665
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 12 deletions.
7 changes: 0 additions & 7 deletions SuperGrate.sln
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ VisualStudioVersion = 16.0.28803.202
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SuperGrate", "SuperGrate\SuperGrate.csproj", "{2F05C2FB-1F11-4D53-9D9D-C8CEC72AB64E}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SuperGrateInstaller", "SuperGrateInstaller\SuperGrateInstaller.csproj", "{CF5AACC9-BE7C-4199-94A4-70803D63618B}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SuperGrateProfileDelete", "SuperGrateProfileDelete\SuperGrateProfileDelete.csproj", "{600B0D09-F639-4603-A9A9-EA4132CCECA5}"
EndProject
Global
Expand All @@ -22,11 +20,6 @@ Global
{2F05C2FB-1F11-4D53-9D9D-C8CEC72AB64E}.Release_64|Any CPU.Build.0 = Release_64|Any CPU
{2F05C2FB-1F11-4D53-9D9D-C8CEC72AB64E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2F05C2FB-1F11-4D53-9D9D-C8CEC72AB64E}.Release|Any CPU.Build.0 = Release|Any CPU
{CF5AACC9-BE7C-4199-94A4-70803D63618B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{CF5AACC9-BE7C-4199-94A4-70803D63618B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{CF5AACC9-BE7C-4199-94A4-70803D63618B}.Release_64|Any CPU.ActiveCfg = Release|Any CPU
{CF5AACC9-BE7C-4199-94A4-70803D63618B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{CF5AACC9-BE7C-4199-94A4-70803D63618B}.Release|Any CPU.Build.0 = Release|Any CPU
{600B0D09-F639-4603-A9A9-EA4132CCECA5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{600B0D09-F639-4603-A9A9-EA4132CCECA5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{600B0D09-F639-4603-A9A9-EA4132CCECA5}.Release_64|Any CPU.ActiveCfg = Release|Any CPU
Expand Down
Binary file added SuperGrateInstaller/header.bmp
Binary file not shown.
18 changes: 13 additions & 5 deletions SuperGrateInstaller/installer.nsi
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
!define NAME "Super Grate"
!define VERSION "1.2.0.0"
!include "MUI2.nsh"
Name "Super Grate - v${VERSION}"
OutFile "SuperGrate - v${VERSION}.exe"
Name "${NAME}"
OutFile ".\bin\SuperGrateInstaller.exe"

!define MUI_WELCOMEFINISHPAGE_BITMAP ".\welcome.bmp"
!define MUI_ICON "..\SuperGrate\Images\supergrate.ico"
!define MUI_HEADERIMAGE
!define MUI_HEADERIMAGE_BITMAP ".\header.bmp"
!define MUI_WELCOMEFINISHPAGE_BITMAP ".\welcome.bmp"

!define MUI_WELCOMEPAGE_TITLE_3LINES
!define MUI_WELCOMEPAGE_TEXT "${NAME} setup will guide you through the installation process.$\r$\n$\r$\n$\r$\nPress Next to continue."

!insertmacro MUI_PAGE_WELCOME
!insertmacro MUI_PAGE_LICENSE ".\lisc.txt"
!insertmacro MUI_PAGE_COMPONENTS
!insertmacro MUI_PAGE_DIRECTORY
!insertmacro MUI_UNPAGE_CONFIRM
Expand All @@ -15,7 +21,9 @@ OutFile "SuperGrate - v${VERSION}.exe"

!insertmacro MUI_LANGUAGE "English"

Section "Install SuperGrate"
Section "Install ${NAME}"

File "..\SuperGrate\bin\Release\SuperGrate.exe"

SectionEnd

Expand Down
Binary file modified SuperGrateInstaller/welcome.bmp
Binary file not shown.

0 comments on commit 8029665

Please sign in to comment.