install websites

This commit is contained in:
Tommy Parnell
2016-05-04 17:44:44 -04:00
parent 6d8f3757de
commit 8b874a864c
5 changed files with 5 additions and 15 deletions

View File

@@ -10,6 +10,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
.editorconfig = .editorconfig .editorconfig = .editorconfig
build.cmd = build.cmd build.cmd = build.cmd
config.json = config.json config.json = config.json
QuikPak\choco\quikpak.nuspec = QuikPak\choco\quikpak.nuspec
Readme.md = Readme.md Readme.md = Readme.md
EndProjectSection EndProjectSection
EndProject EndProject

View File

@@ -1,8 +1,4 @@
using System; using System.Collections.Generic;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace QuikPak namespace QuikPak
{ {

View File

@@ -1,10 +1,6 @@
using CommandLine; using CommandLine;
using CommandLine.Text; using CommandLine.Text;
using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace QuikPak namespace QuikPak
{ {

View File

@@ -2,9 +2,6 @@
using Newtonsoft.Json; using Newtonsoft.Json;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WixSharp; using WixSharp;
namespace QuikPak namespace QuikPak
@@ -49,6 +46,7 @@ namespace QuikPak
Dirs = new[] Dirs = new[]
{ {
new Dir(new Id("IISMain"), config.Name + "_" +config.Version.ToString() +"_Web", new Dir(new Id("IISMain"), config.Name + "_" +config.Version.ToString() +"_Web",
new Files(System.IO.Path.Combine(options.Path, "**")), new Files(System.IO.Path.Combine(options.Path, "**")),
new File(options.Config, new File(options.Config,
new IISVirtualDir new IISVirtualDir
@@ -58,10 +56,10 @@ namespace QuikPak
{ {
InstallWebSite = false, InstallWebSite = false,
Description = config.Name, Description = config.Name,
Addresses = addresses.ToArray(), Addresses = addresses.ToArray()
}, },
WebAppPool = new WebAppPool(config.Name) { WebAppPool = new WebAppPool(config.Name) {
Attributes = new Dictionary<string, string>() { Attributes = new Dictionary<string, string>() {
["Identity"] = config.Identity, ["Identity"] = config.Identity,
["RecycleMinutes"] = config.RecycleMinutes.ToString(), ["RecycleMinutes"] = config.RecycleMinutes.ToString(),
["IdleTimeout"] = config.IdleTimeout.ToString(), ["IdleTimeout"] = config.IdleTimeout.ToString(),

View File

@@ -1,5 +1,4 @@
using System.Reflection; using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following // General Information about an assembly is controlled through the following