Skip to content
This repository has been archived by the owner on Nov 28, 2018. It is now read-only.

Commit

Permalink
Added ToS
Browse files Browse the repository at this point in the history
  • Loading branch information
ikkentim committed Oct 1, 2015
1 parent b76e765 commit 73ccae2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Setup/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ private static void Main()
Version = version,
Description = "An installer for Theme Parkitect.",
MajorUpgradeStrategy = MajorUpgradeStrategy.Default,
LicenceFile = null,
LicenceFile = Directory.GetCurrentDirectory() + @"\..\..\tos.rtf",
BannerImage = Directory.GetCurrentDirectory() + @"\..\..\images\dialog_banner.png",
BackgroundImage = Directory.GetCurrentDirectory() + @"\..\..\images\dialog_bg.png",
ControlPanelInfo =
Expand All @@ -74,9 +74,9 @@ private static void Main()
Manufacturer = "ParkitectNexus, Tim Potze"
},
// Use CustomUI to skip the license page.
CustomUI = new DialogSequence()
.On(NativeDialogs.WelcomeDlg, Buttons.Next, new ShowDialog(NativeDialogs.InstallDirDlg))
.On(NativeDialogs.InstallDirDlg, Buttons.Back, new ShowDialog(NativeDialogs.WelcomeDlg))
// CustomUI = new DialogSequence()
// .On(NativeDialogs.WelcomeDlg, Buttons.Next, new ShowDialog(NativeDialogs.InstallDirDlg))
// .On(NativeDialogs.InstallDirDlg, Buttons.Back, new ShowDialog(NativeDialogs.WelcomeDlg))
};

// Set message to indicate a newer version has already been installed.
Expand Down
Binary file added tos.rtf
Binary file not shown.

0 comments on commit 73ccae2

Please sign in to comment.