Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0f7afe2ebc | ||
|
|
ef913ecc11 | ||
|
|
c3d74e0202 | ||
|
|
2650fce4e1 | ||
|
|
f606b596a9 |
2
.gitignore
vendored
2
.gitignore
vendored
@@ -9,7 +9,7 @@
|
||||
|
||||
# User-specific files (MonoDevelop/Xamarin Studio)
|
||||
*.userprefs
|
||||
|
||||
*.pem
|
||||
# Build results
|
||||
[Dd]ebug/
|
||||
[Dd]ebugPublic/
|
||||
|
||||
BIN
MyWebsite.msi
BIN
MyWebsite.msi
Binary file not shown.
307
MyWebsite.wxs
307
MyWebsite.wxs
@@ -1,307 +0,0 @@
|
||||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
|
||||
<Product Id="4f3ca8e0-4878-4ae6-80d3-7f9fed988280" Name="MyWebsite" Language="1033" Codepage="Windows-1252" Version="1.0.0" UpgradeCode="317e4313-2314-46e9-ae7e-6cdfee60c05d" Manufacturer="parne">
|
||||
<Package InstallerVersion="200" Compressed="yes" SummaryCodepage="Windows-1252" Languages="1033" />
|
||||
<Media Id="1" Cabinet="MyWebsite.cab" EmbedCab="yes" />
|
||||
|
||||
<Directory Id="TARGETDIR" Name="SourceDir">
|
||||
<Directory Id="IISMain" Name="MyWebsite_1.0.0_Web">
|
||||
|
||||
<Component Id="Component.config.json" Guid="4f3ca8e0-4878-4ae6-80d3-7f9f86a47420">
|
||||
<File Id="config.json" Source="config.json" />
|
||||
|
||||
<WebVirtualDir Id="VirtDir" Alias="MyWebsiteWebSite" Directory="IISMain" WebSite="MyWebsiteWebSite" xmlns="http://schemas.microsoft.com/wix/IIsExtension">
|
||||
<WebApplication Id="ImAnAppNameWebApplication" Name="ImAnAppName" WebAppPool="MyWebsiteWebSite_AppPool" />
|
||||
</WebVirtualDir>
|
||||
|
||||
<WebSite Id="MyWebsiteWebSite" Description="MyWebsiteWebSite" Directory="IISMain" xmlns="http://schemas.microsoft.com/wix/IIsExtension">
|
||||
<WebAddress Id="MyWebsiteWebSite_Address1" IP="*" Port="80" Secure="no" Header="*" />
|
||||
|
||||
<WebApplication Id="webapppoolgen" Name="weapppoolgenMyWebsite" WebAppPool="MyWebsiteWebSite_AppPool" />
|
||||
</WebSite>
|
||||
|
||||
<WebAppPool Id="MyWebsiteWebSite_AppPool" Name="MyWebsite" Identity="localSystem" RecycleMinutes="0" IdleTimeout="0" ManagedPipelineMode="Integrated" ManagedRuntimeVersion="v4.0" xmlns="http://schemas.microsoft.com/wix/IIsExtension" />
|
||||
</Component>
|
||||
|
||||
<Directory Id="IISMain.CommandLineParser.1.9.71" Name="CommandLineParser.1.9.71">
|
||||
|
||||
<Component Id="Component.CommandLineParser.1.9.71.nupkg" Guid="4f3ca8e0-4878-4ae6-80d3-7f9f2f01fccd">
|
||||
<File Id="CommandLineParser.1.9.71.nupkg" Source="packages\CommandLineParser.1.9.71\CommandLineParser.1.9.71.nupkg" />
|
||||
</Component>
|
||||
|
||||
<Component Id="Component.readme.txt" Guid="4f3ca8e0-4878-4ae6-80d3-7f9f81b924d8">
|
||||
<File Id="readme.txt" Source="packages\CommandLineParser.1.9.71\readme.txt" />
|
||||
</Component>
|
||||
|
||||
<Directory Id="IISMain.CommandLineParser.1.9.71.lib" Name="lib">
|
||||
<Directory Id="IISMain.CommandLineParser.1.9.71.lib.net35" Name="net35">
|
||||
|
||||
<Component Id="Component.CommandLine.dll" Guid="4f3ca8e0-4878-4ae6-80d3-7f9f46bd7523">
|
||||
<File Id="CommandLine.dll" Source="packages\CommandLineParser.1.9.71\lib\net35\CommandLine.dll" />
|
||||
</Component>
|
||||
|
||||
<Component Id="Component.CommandLine.xml" Guid="4f3ca8e0-4878-4ae6-80d3-7f9f1c0c5907">
|
||||
<File Id="CommandLine.xml" Source="packages\CommandLineParser.1.9.71\lib\net35\CommandLine.xml" />
|
||||
</Component>
|
||||
|
||||
</Directory>
|
||||
|
||||
<Directory Id="IISMain.CommandLineParser.1.9.71.lib.net40" Name="net40">
|
||||
|
||||
<Component Id="Component.CommandLine.dll.1" Guid="4f3ca8e0-4878-4ae6-80d3-7f9fb82d7520">
|
||||
<File Id="CommandLine.dll.1" Source="packages\CommandLineParser.1.9.71\lib\net40\CommandLine.dll" />
|
||||
</Component>
|
||||
|
||||
<Component Id="Component.CommandLine.xml.1" Guid="4f3ca8e0-4878-4ae6-80d3-7f9faf9cafc4">
|
||||
<File Id="CommandLine.xml.1" Source="packages\CommandLineParser.1.9.71\lib\net40\CommandLine.xml" />
|
||||
</Component>
|
||||
|
||||
</Directory>
|
||||
|
||||
<Directory Id="IISMain.CommandLineParser.1.9.71.lib.net45" Name="net45">
|
||||
|
||||
<Component Id="Component.CommandLine.dll.2" Guid="4f3ca8e0-4878-4ae6-80d3-7f9fa023d3f1">
|
||||
<File Id="CommandLine.dll.2" Source="packages\CommandLineParser.1.9.71\lib\net45\CommandLine.dll" />
|
||||
</Component>
|
||||
|
||||
<Component Id="Component.CommandLine.xml.2" Guid="4f3ca8e0-4878-4ae6-80d3-7f9f96920d95">
|
||||
<File Id="CommandLine.xml.2" Source="packages\CommandLineParser.1.9.71\lib\net45\CommandLine.xml" />
|
||||
</Component>
|
||||
|
||||
</Directory>
|
||||
</Directory>
|
||||
</Directory>
|
||||
|
||||
<Directory Id="IISMain.Newtonsoft.Json.8.0.3" Name="Newtonsoft.Json.8.0.3">
|
||||
|
||||
<Component Id="Component.Newtonsoft.Json.8.0.3.nupkg" Guid="4f3ca8e0-4878-4ae6-80d3-7f9f888e83b5">
|
||||
<File Id="Newtonsoft.Json.8.0.3.nupkg" Source="packages\Newtonsoft.Json.8.0.3\Newtonsoft.Json.8.0.3.nupkg" />
|
||||
</Component>
|
||||
|
||||
<Directory Id="IISMain.Newtonsoft.Json.8.0.3.lib" Name="lib">
|
||||
<Directory Id="IISMain.Newtonsoft.Json.8.0.3.lib.net20" Name="net20">
|
||||
|
||||
<Component Id="Component.Newtonsoft.Json.dll" Guid="4f3ca8e0-4878-4ae6-80d3-7f9f6bf2ed5b">
|
||||
<File Id="Newtonsoft.Json.dll" Source="packages\Newtonsoft.Json.8.0.3\lib\net20\Newtonsoft.Json.dll" />
|
||||
</Component>
|
||||
|
||||
<Component Id="Component.Newtonsoft.Json.xml" Guid="4f3ca8e0-4878-4ae6-80d3-7f9f6a2bc0c7">
|
||||
<File Id="Newtonsoft.Json.xml" Source="packages\Newtonsoft.Json.8.0.3\lib\net20\Newtonsoft.Json.xml" />
|
||||
</Component>
|
||||
|
||||
</Directory>
|
||||
|
||||
<Directory Id="IISMain.Newtonsoft.Json.8.0.3.lib.net35" Name="net35">
|
||||
|
||||
<Component Id="Component.Newtonsoft.Json.dll.1" Guid="4f3ca8e0-4878-4ae6-80d3-7f9f6475882e">
|
||||
<File Id="Newtonsoft.Json.dll.1" Source="packages\Newtonsoft.Json.8.0.3\lib\net35\Newtonsoft.Json.dll" />
|
||||
</Component>
|
||||
|
||||
<Component Id="Component.Newtonsoft.Json.xml.1" Guid="4f3ca8e0-4878-4ae6-80d3-7f9f4bc8a81a">
|
||||
<File Id="Newtonsoft.Json.xml.1" Source="packages\Newtonsoft.Json.8.0.3\lib\net35\Newtonsoft.Json.xml" />
|
||||
</Component>
|
||||
|
||||
</Directory>
|
||||
|
||||
<Directory Id="IISMain.Newtonsoft.Json.8.0.3.lib.net40" Name="net40">
|
||||
|
||||
<Component Id="Component.Newtonsoft.Json.dll.2" Guid="4f3ca8e0-4878-4ae6-80d3-7f9f4c6be6ff">
|
||||
<File Id="Newtonsoft.Json.dll.2" Source="packages\Newtonsoft.Json.8.0.3\lib\net40\Newtonsoft.Json.dll" />
|
||||
</Component>
|
||||
|
||||
<Component Id="Component.Newtonsoft.Json.xml.2" Guid="4f3ca8e0-4878-4ae6-80d3-7f9f33be06eb">
|
||||
<File Id="Newtonsoft.Json.xml.2" Source="packages\Newtonsoft.Json.8.0.3\lib\net40\Newtonsoft.Json.xml" />
|
||||
</Component>
|
||||
|
||||
</Directory>
|
||||
|
||||
<Directory Id="IISMain.Newtonsoft.Json.8.0.3.lib.net45" Name="net45">
|
||||
|
||||
<Component Id="Component.Newtonsoft.Json.dll.3" Guid="4f3ca8e0-4878-4ae6-80d3-7f9faac37164">
|
||||
<File Id="Newtonsoft.Json.dll.3" Source="packages\Newtonsoft.Json.8.0.3\lib\net45\Newtonsoft.Json.dll" />
|
||||
</Component>
|
||||
|
||||
<Component Id="Component.Newtonsoft.Json.xml.3" Guid="4f3ca8e0-4878-4ae6-80d3-7f9f90179150">
|
||||
<File Id="Newtonsoft.Json.xml.3" Source="packages\Newtonsoft.Json.8.0.3\lib\net45\Newtonsoft.Json.xml" />
|
||||
</Component>
|
||||
|
||||
</Directory>
|
||||
|
||||
<Directory Id="IISMain.Newtonsoft.Json.8.0.3.lib.portable_net40_sl5_wp80_win8_wpa81" Name="portable-net40+sl5+wp80+win8+wpa81">
|
||||
|
||||
<Component Id="Component.Newtonsoft.Json.dll.4" Guid="4f3ca8e0-4878-4ae6-80d3-7f9f92bacf35">
|
||||
<File Id="Newtonsoft.Json.dll.4" Source="packages\Newtonsoft.Json.8.0.3\lib\portable-net40+sl5+wp80+win8+wpa81\Newtonsoft.Json.dll" />
|
||||
</Component>
|
||||
|
||||
<Component Id="Component.Newtonsoft.Json.xml.4" Guid="4f3ca8e0-4878-4ae6-80d3-7f9f63d14a49">
|
||||
<File Id="Newtonsoft.Json.xml.4" Source="packages\Newtonsoft.Json.8.0.3\lib\portable-net40+sl5+wp80+win8+wpa81\Newtonsoft.Json.xml" />
|
||||
</Component>
|
||||
|
||||
</Directory>
|
||||
|
||||
<Directory Id="IISMain.Newtonsoft.Json.8.0.3.lib.portable_net45_wp80_win8_wpa81_dnxcore50" Name="portable-net45+wp80+win8+wpa81+dnxcore50">
|
||||
|
||||
<Component Id="Component.Newtonsoft.Json.dll.5" Guid="4f3ca8e0-4878-4ae6-80d3-7f9fef125b9a">
|
||||
<File Id="Newtonsoft.Json.dll.5" Source="packages\Newtonsoft.Json.8.0.3\lib\portable-net45+wp80+win8+wpa81+dnxcore50\Newtonsoft.Json.dll" />
|
||||
</Component>
|
||||
|
||||
<Component Id="Component.Newtonsoft.Json.xml.5" Guid="4f3ca8e0-4878-4ae6-80d3-7f9fc02ad6ae">
|
||||
<File Id="Newtonsoft.Json.xml.5" Source="packages\Newtonsoft.Json.8.0.3\lib\portable-net45+wp80+win8+wpa81+dnxcore50\Newtonsoft.Json.xml" />
|
||||
</Component>
|
||||
|
||||
</Directory>
|
||||
</Directory>
|
||||
|
||||
<Directory Id="IISMain.Newtonsoft.Json.8.0.3.tools" Name="tools">
|
||||
|
||||
<Component Id="Component.install.ps1" Guid="4f3ca8e0-4878-4ae6-80d3-7f9f9766bf15">
|
||||
<File Id="install.ps1" Source="packages\Newtonsoft.Json.8.0.3\tools\install.ps1" />
|
||||
</Component>
|
||||
|
||||
</Directory>
|
||||
</Directory>
|
||||
|
||||
<Directory Id="IISMain.WixSharp.1.0.35.3" Name="WixSharp.1.0.35.3">
|
||||
|
||||
<Component Id="Component.readme.txt.1" Guid="4f3ca8e0-4878-4ae6-80d3-7f9f13118b93">
|
||||
<File Id="readme.txt.1" Source="packages\WixSharp.1.0.35.3\readme.txt" />
|
||||
</Component>
|
||||
|
||||
<Component Id="Component.WixSharp.1.0.35.3.nupkg" Guid="4f3ca8e0-4878-4ae6-80d3-7f9f755a89e6">
|
||||
<File Id="WixSharp.1.0.35.3.nupkg" Source="packages\WixSharp.1.0.35.3\WixSharp.1.0.35.3.nupkg" />
|
||||
</Component>
|
||||
|
||||
<Directory Id="IISMain.WixSharp.1.0.35.3.build" Name="build">
|
||||
|
||||
<Component Id="Component.SetEnvVar.dll" Guid="4f3ca8e0-4878-4ae6-80d3-7f9f2c9df8cd">
|
||||
<File Id="SetEnvVar.dll" Source="packages\WixSharp.1.0.35.3\build\SetEnvVar.dll" />
|
||||
</Component>
|
||||
|
||||
<Component Id="Component.WixSharp.targets" Guid="4f3ca8e0-4878-4ae6-80d3-7f9f52b5ce72">
|
||||
<File Id="WixSharp.targets" Source="packages\WixSharp.1.0.35.3\build\WixSharp.targets" />
|
||||
</Component>
|
||||
|
||||
</Directory>
|
||||
|
||||
<Directory Id="IISMain.WixSharp.1.0.35.3.tools" Name="tools">
|
||||
|
||||
<Component Id="Component.Install.ps1.1" Guid="4f3ca8e0-4878-4ae6-80d3-7f9fd38a38b8">
|
||||
<File Id="Install.ps1.1" Source="packages\WixSharp.1.0.35.3\tools\Install.ps1" />
|
||||
</Component>
|
||||
|
||||
</Directory>
|
||||
</Directory>
|
||||
|
||||
<Directory Id="IISMain.WixSharp.bin.1.0.35.3" Name="WixSharp.bin.1.0.35.3">
|
||||
|
||||
<Component Id="Component.WixSharp.bin.1.0.35.3.nupkg" Guid="4f3ca8e0-4878-4ae6-80d3-7f9face407ed">
|
||||
<File Id="WixSharp.bin.1.0.35.3.nupkg" Source="packages\WixSharp.bin.1.0.35.3\WixSharp.bin.1.0.35.3.nupkg" />
|
||||
</Component>
|
||||
|
||||
<Directory Id="IISMain.WixSharp.bin.1.0.35.3.lib" Name="lib">
|
||||
|
||||
<Component Id="Component.BootstrapperCore.dll" Guid="4f3ca8e0-4878-4ae6-80d3-7f9fc4faada7">
|
||||
<File Id="BootstrapperCore.dll" Source="packages\WixSharp.bin.1.0.35.3\lib\BootstrapperCore.dll" />
|
||||
</Component>
|
||||
|
||||
<Component Id="Component.BootstrapperCore.xml" Guid="4f3ca8e0-4878-4ae6-80d3-7f9ff18eada6">
|
||||
<File Id="BootstrapperCore.xml" Source="packages\WixSharp.bin.1.0.35.3\lib\BootstrapperCore.xml" />
|
||||
</Component>
|
||||
|
||||
<Component Id="Component.Microsoft.Deployment.WindowsInstaller.dll" Guid="4f3ca8e0-4878-4ae6-80d3-7f9f3003d3ab">
|
||||
<File Id="Microsoft.Deployment.WindowsInstaller.dll" Source="packages\WixSharp.bin.1.0.35.3\lib\Microsoft.Deployment.WindowsInstaller.dll" />
|
||||
</Component>
|
||||
|
||||
<Component Id="Component.Microsoft.Deployment.WindowsInstaller.xml" Guid="4f3ca8e0-4878-4ae6-80d3-7f9f3002d3b7">
|
||||
<File Id="Microsoft.Deployment.WindowsInstaller.xml" Source="packages\WixSharp.bin.1.0.35.3\lib\Microsoft.Deployment.WindowsInstaller.xml" />
|
||||
</Component>
|
||||
|
||||
<Component Id="Component.WixSharp.dll" Guid="4f3ca8e0-4878-4ae6-80d3-7f9f822b9b0b">
|
||||
<File Id="WixSharp.dll" Source="packages\WixSharp.bin.1.0.35.3\lib\WixSharp.dll" />
|
||||
</Component>
|
||||
|
||||
<Component Id="Component.WixSharp.Msi.dll" Guid="4f3ca8e0-4878-4ae6-80d3-7f9f84890cfb">
|
||||
<File Id="WixSharp.Msi.dll" Source="packages\WixSharp.bin.1.0.35.3\lib\WixSharp.Msi.dll" />
|
||||
</Component>
|
||||
|
||||
<Component Id="Component.WixSharp.Msi.xml" Guid="4f3ca8e0-4878-4ae6-80d3-7f9f0d450cfa">
|
||||
<File Id="WixSharp.Msi.xml" Source="packages\WixSharp.bin.1.0.35.3\lib\WixSharp.Msi.xml" />
|
||||
</Component>
|
||||
|
||||
<Component Id="Component.WixSharp.UI.dll" Guid="4f3ca8e0-4878-4ae6-80d3-7f9ff66e2753">
|
||||
<File Id="WixSharp.UI.dll" Source="packages\WixSharp.bin.1.0.35.3\lib\WixSharp.UI.dll" />
|
||||
</Component>
|
||||
|
||||
<Component Id="Component.WixSharp.UI.xml" Guid="4f3ca8e0-4878-4ae6-80d3-7f9fcb30b00f">
|
||||
<File Id="WixSharp.UI.xml" Source="packages\WixSharp.bin.1.0.35.3\lib\WixSharp.UI.xml" />
|
||||
</Component>
|
||||
|
||||
<Component Id="Component.WixSharp.xml" Guid="4f3ca8e0-4878-4ae6-80d3-7f9ff96f9b0c">
|
||||
<File Id="WixSharp.xml" Source="packages\WixSharp.bin.1.0.35.3\lib\WixSharp.xml" />
|
||||
</Component>
|
||||
|
||||
</Directory>
|
||||
</Directory>
|
||||
|
||||
<Component Id="Certificate1" Guid="4f3ca8e0-4878-4ae6-80d3-7f9fde40362a" KeyPath="yes">
|
||||
<Certificate Id="cert" CertificatePath="C:\projects\QuikPak\cert.pfx" Name="cert" Request="no" StoreLocation="localMachine" StoreName="personal" xmlns="http://schemas.microsoft.com/wix/IIsExtension" />
|
||||
<RemoveFolder Id="IISMain" On="uninstall" />
|
||||
</Component>
|
||||
|
||||
</Directory>
|
||||
</Directory>
|
||||
|
||||
<MajorUpgrade AllowDowngrades="yes" Schedule="afterInstallInitialize" />
|
||||
|
||||
<Upgrade Id="317e4313-2314-46e9-ae7e-6cdfee60c05d">
|
||||
<UpgradeVersion Minimum="0.0.0.1" Maximum="99.0.0.0" IncludeMinimum="yes" IncludeMaximum="no" Property="UPGRADEFOUND" />
|
||||
</Upgrade>
|
||||
|
||||
<Binary Id="cert" SourceFile="cert.pfx" />
|
||||
|
||||
<Feature Id="Complete" Title="Complete" Absent="allow" Level="1">
|
||||
<ComponentRef Id="Component.config.json" />
|
||||
<ComponentRef Id="Component.CommandLineParser.1.9.71.nupkg" />
|
||||
<ComponentRef Id="Component.readme.txt" />
|
||||
<ComponentRef Id="Component.CommandLine.dll" />
|
||||
<ComponentRef Id="Component.CommandLine.xml" />
|
||||
<ComponentRef Id="Component.CommandLine.dll.1" />
|
||||
<ComponentRef Id="Component.CommandLine.xml.1" />
|
||||
<ComponentRef Id="Component.CommandLine.dll.2" />
|
||||
<ComponentRef Id="Component.CommandLine.xml.2" />
|
||||
<ComponentRef Id="Component.Newtonsoft.Json.8.0.3.nupkg" />
|
||||
<ComponentRef Id="Component.Newtonsoft.Json.dll" />
|
||||
<ComponentRef Id="Component.Newtonsoft.Json.xml" />
|
||||
<ComponentRef Id="Component.Newtonsoft.Json.dll.1" />
|
||||
<ComponentRef Id="Component.Newtonsoft.Json.xml.1" />
|
||||
<ComponentRef Id="Component.Newtonsoft.Json.dll.2" />
|
||||
<ComponentRef Id="Component.Newtonsoft.Json.xml.2" />
|
||||
<ComponentRef Id="Component.Newtonsoft.Json.dll.3" />
|
||||
<ComponentRef Id="Component.Newtonsoft.Json.xml.3" />
|
||||
<ComponentRef Id="Component.Newtonsoft.Json.dll.4" />
|
||||
<ComponentRef Id="Component.Newtonsoft.Json.xml.4" />
|
||||
<ComponentRef Id="Component.Newtonsoft.Json.dll.5" />
|
||||
<ComponentRef Id="Component.Newtonsoft.Json.xml.5" />
|
||||
<ComponentRef Id="Component.install.ps1" />
|
||||
<ComponentRef Id="Component.readme.txt.1" />
|
||||
<ComponentRef Id="Component.WixSharp.1.0.35.3.nupkg" />
|
||||
<ComponentRef Id="Component.SetEnvVar.dll" />
|
||||
<ComponentRef Id="Component.WixSharp.targets" />
|
||||
<ComponentRef Id="Component.Install.ps1.1" />
|
||||
<ComponentRef Id="Component.WixSharp.bin.1.0.35.3.nupkg" />
|
||||
<ComponentRef Id="Component.BootstrapperCore.dll" />
|
||||
<ComponentRef Id="Component.BootstrapperCore.xml" />
|
||||
<ComponentRef Id="Component.Microsoft.Deployment.WindowsInstaller.dll" />
|
||||
<ComponentRef Id="Component.Microsoft.Deployment.WindowsInstaller.xml" />
|
||||
<ComponentRef Id="Component.WixSharp.dll" />
|
||||
<ComponentRef Id="Component.WixSharp.Msi.dll" />
|
||||
<ComponentRef Id="Component.WixSharp.Msi.xml" />
|
||||
<ComponentRef Id="Component.WixSharp.UI.dll" />
|
||||
<ComponentRef Id="Component.WixSharp.UI.xml" />
|
||||
<ComponentRef Id="Component.WixSharp.xml" />
|
||||
<ComponentRef Id="Certificate1" />
|
||||
</Feature>
|
||||
|
||||
</Product>
|
||||
</Wix>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 14
|
||||
VisualStudioVersion = 14.0.24720.0
|
||||
VisualStudioVersion = 14.0.25420.1
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "QuikPak", "QuikPak\QuikPak.csproj", "{906448E0-73EA-4283-BAB1-4C81EEFC4EFA}"
|
||||
EndProject
|
||||
@@ -9,7 +9,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
|
||||
ProjectSection(SolutionItems) = preProject
|
||||
.editorconfig = .editorconfig
|
||||
build.cmd = build.cmd
|
||||
config.json = config.json
|
||||
QuikPak\choco\quikpak.nuspec = QuikPak\choco\quikpak.nuspec
|
||||
Readme.md = Readme.md
|
||||
EndProjectSection
|
||||
|
||||
@@ -1,24 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace QuikPak
|
||||
{
|
||||
public class Cert : IEquatable<Cert>
|
||||
{
|
||||
public string CertificatePath { get; set; }
|
||||
public string PfxPassword { get; set; }
|
||||
|
||||
public bool Equals(Cert other)
|
||||
{
|
||||
return string.Equals(this.CertificatePath, other.CertificatePath);
|
||||
}
|
||||
|
||||
public override int GetHashCode()
|
||||
{
|
||||
return new { CertificatePath, PfxPassword }.GetHashCode();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -15,7 +15,8 @@ namespace QuikPak
|
||||
public int IdleTimeout { get; set; } = 0;
|
||||
public string ManagedPipelineMode { get; set; } = "Integrated";
|
||||
public string ManagedRuntimeVersion { get; set; } = "v4.0";
|
||||
public ICollection<Cert> Certificates { get; set; } = new HashSet<Cert>();
|
||||
|
||||
public IEnumerable<Cert> Certificates { get; set; }
|
||||
}
|
||||
|
||||
public class Endpoint
|
||||
@@ -24,4 +25,12 @@ namespace QuikPak
|
||||
public string DnsName { get; set; }
|
||||
public bool Secure { get; set; } = false;
|
||||
}
|
||||
}
|
||||
|
||||
public class Cert
|
||||
{
|
||||
public string Name { get; set; }
|
||||
public string Path { get; set; }
|
||||
|
||||
public string Password { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
17
QuikPak/Config.json
Normal file
17
QuikPak/Config.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"UpgradeCode": "317e4313-2314-46e9-ae7e-6cdfee60c05d",
|
||||
"Name": "terribledev",
|
||||
"Version": "1.0.0.1",
|
||||
"Endpoints": [
|
||||
{
|
||||
"port": 10000,
|
||||
"DnsName": "*",
|
||||
"Secure": false
|
||||
},
|
||||
{
|
||||
"port": 8000,
|
||||
"DnsName": "localhost",
|
||||
"Secure" : false
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -18,4 +18,4 @@ namespace QuikPak
|
||||
return HelpText.AutoBuild(this);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,8 +2,10 @@
|
||||
using Newtonsoft.Json;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using WixSharp;
|
||||
using System.Linq;
|
||||
using System.Xml;
|
||||
using System.Xml.Linq;
|
||||
|
||||
namespace QuikPak
|
||||
{
|
||||
@@ -24,7 +26,7 @@ namespace QuikPak
|
||||
}
|
||||
var config = JsonConvert.DeserializeObject<Config>(System.IO.File.ReadAllText(options.Config));
|
||||
var addresses = new List<WebSite.WebAddress>();
|
||||
Verifier.Verify(config);
|
||||
|
||||
foreach(var Endpoint in config.Endpoints)
|
||||
{
|
||||
var attr = new Attributes()
|
||||
@@ -38,40 +40,25 @@ namespace QuikPak
|
||||
}
|
||||
addresses.Add(new WebSite.WebAddress()
|
||||
{
|
||||
//Port = Endpoint.Port,
|
||||
//Address = Endpoint.DnsName,
|
||||
Attributes = attr
|
||||
});
|
||||
}
|
||||
|
||||
var items = new List<WixObject>();
|
||||
foreach(var cert in config.Certificates)
|
||||
{
|
||||
var name = System.IO.Path.GetFileNameWithoutExtension(cert.CertificatePath);
|
||||
items.Add(new Binary(new Id(name), cert.CertificatePath));
|
||||
items.Add(new Certificate(name, StoreLocation.localMachine, StoreName.personal, cert.CertificatePath, authorityRequest: false));
|
||||
}
|
||||
|
||||
var project = new Project(config.Name, items.ToArray())
|
||||
var project = new Project(config.Name)
|
||||
{
|
||||
Dirs = new[]
|
||||
{
|
||||
new Dir(new Id("IISMain"), config.Name + "_" +config.Version.ToString() +"_Web",
|
||||
new Dir(new Id("IISMain"), config.Name + "_" +config.Version +"_Web",
|
||||
|
||||
new Files(System.IO.Path.Combine(options.Path, "**")),
|
||||
new File(options.Config,
|
||||
new IISVirtualDir
|
||||
{
|
||||
Name = config.Name + "WebSite",
|
||||
AppName = "ImAnAppName",
|
||||
WebSite = new WebSite(new Id(config.Name + "WebSite"), config.Name + "WebSite")
|
||||
Name = config.Name + "_Web_VDIR",
|
||||
WebSite = new WebSite(config.Name)
|
||||
{
|
||||
InstallWebSite = true,
|
||||
Addresses = addresses.ToArray(),
|
||||
Attributes = new Dictionary<string, string>()
|
||||
{
|
||||
// ["awesome"] = "yo"
|
||||
}
|
||||
Description = config.Name,
|
||||
Addresses = addresses.ToArray()
|
||||
},
|
||||
WebAppPool = new WebAppPool(config.Name) {
|
||||
Attributes = new Dictionary<string, string>() {
|
||||
@@ -79,20 +66,20 @@ namespace QuikPak
|
||||
["RecycleMinutes"] = config.RecycleMinutes.ToString(),
|
||||
["IdleTimeout"] = config.IdleTimeout.ToString(),
|
||||
["ManagedPipelineMode"] = config.ManagedPipelineMode,
|
||||
["ManagedRuntimeVersion"] = config.ManagedRuntimeVersion,
|
||||
["ManagedRuntimeVersion"] = config.ManagedRuntimeVersion
|
||||
}
|
||||
},
|
||||
}
|
||||
})
|
||||
)
|
||||
},
|
||||
},
|
||||
Version = new Version(config.Version) { },
|
||||
GUID = string.IsNullOrWhiteSpace(config.Id) ? Guid.NewGuid() : new Guid(config.Id),
|
||||
UI = WUI.WixUI_ProgressOnly,
|
||||
OutFileName = config.Name,
|
||||
PreserveTempFiles = true,
|
||||
UpgradeCode = new Guid(config.UpgradeCode),
|
||||
Certificates = config.Certificates?.Select(a => new Certificate { PFXPassword = a.Password, CertificatePath = a.Path, Request = false, StoreName = StoreName.personal, StoreLocation = StoreLocation.localMachine, Name = a.Name}).ToArray() ?? new Certificate[0]
|
||||
};
|
||||
|
||||
project.Properties.Add(new Property("REINSTALLMODE", "dmus"));
|
||||
project.MajorUpgrade = new MajorUpgrade() { AllowDowngrades = true, Schedule = UpgradeSchedule.afterInstallInitialize };
|
||||
project.MajorUpgradeStrategy = new MajorUpgradeStrategy()
|
||||
@@ -106,16 +93,55 @@ namespace QuikPak
|
||||
},
|
||||
RemoveExistingProductAfter = Step.InstallInitialize
|
||||
};
|
||||
project.WixSourceGenerated += doc =>
|
||||
doc.FindAll("WebSite")
|
||||
.ForEach(x => x.AddElement(new System.Xml.Linq.XElement("WebApplication"), attributes: new Dictionary<string, string>()
|
||||
project.IncludeWixExtension(WixExtension.IIs);
|
||||
Compiler.WixSourceGenerated += (document) =>
|
||||
{
|
||||
string appPoolId = string.Empty;
|
||||
var certs = new List<XElement>();
|
||||
XElement website = null;
|
||||
foreach(var node in document.Descendants().ToList())
|
||||
{
|
||||
["Id"] = "webapppoolgen",
|
||||
["Name"] = "weapppoolgen" + config.Name,
|
||||
["WebAppPool"] = $"{config.Name}WebSite_AppPool"
|
||||
}));
|
||||
if(node == null || node.Name == null) continue;
|
||||
var nodeName = node.Name.ToString();
|
||||
if(nodeName.EndsWith("WebVirtualDir", true))
|
||||
{
|
||||
//remove virdir's as we should just use sites
|
||||
node.Remove();
|
||||
}
|
||||
if(nodeName.EndsWith("WebAppPool", true))
|
||||
{
|
||||
appPoolId = node.Attributes().First(a => a.Name == "Id").Value;
|
||||
}
|
||||
if(nodeName.EndsWith("Certificate", true))
|
||||
{
|
||||
certs.Add(node);
|
||||
}
|
||||
if(nodeName.EndsWith("WebSite", true))
|
||||
{
|
||||
website = node;
|
||||
}
|
||||
}
|
||||
if(string.IsNullOrWhiteSpace(appPoolId))
|
||||
{
|
||||
Console.Error.WriteLine("App pool unable to be identified. A major problem has occured");
|
||||
Environment.Exit(1);
|
||||
}
|
||||
if(website == null)
|
||||
{
|
||||
Console.Error.WriteLine("website unable to be identified. A major problem has occured");
|
||||
Environment.Exit(1);
|
||||
}
|
||||
|
||||
XNamespace name = "http://schemas.microsoft.com/wix/IIsExtension";
|
||||
foreach(var cert in certs)
|
||||
{
|
||||
|
||||
website.Add(new XElement(name+"CertificateRef", new XAttribute("Id", cert.Attribute("Id").Value)));
|
||||
}
|
||||
website.Add(new XElement(name + "WebApplication", new XAttribute("Id", config.Name + "webapp"), new XAttribute("Name", config.Name + "webapp"), new XAttribute("WebAppPool", appPoolId)));
|
||||
|
||||
};
|
||||
Compiler.BuildMsi(project);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="BootstrapperCore, Version=3.0.0.0, Culture=neutral, PublicKeyToken=ce35f76fcda82bad, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\WixSharp.bin.1.0.35.3\lib\BootstrapperCore.dll</HintPath>
|
||||
<HintPath>..\packages\WixSharp.bin.1.3.0.0\lib\BootstrapperCore.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="CommandLine, Version=1.9.71.2, Culture=neutral, PublicKeyToken=de6f01bd326f8c32, processorArchitecture=MSIL">
|
||||
@@ -43,7 +43,7 @@
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Deployment.WindowsInstaller, Version=3.0.0.0, Culture=neutral, PublicKeyToken=ce35f76fcda82bad, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\WixSharp.bin.1.0.35.3\lib\Microsoft.Deployment.WindowsInstaller.dll</HintPath>
|
||||
<HintPath>..\packages\WixSharp.bin.1.3.0.0\lib\Microsoft.Deployment.WindowsInstaller.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="Newtonsoft.Json, Version=8.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
||||
@@ -58,39 +58,31 @@
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Net.Http" />
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="WixSharp, Version=1.0.35.3, Culture=neutral, PublicKeyToken=3775edd25acc43c2, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\WixSharp.bin.1.0.35.3\lib\WixSharp.dll</HintPath>
|
||||
<Reference Include="WixSharp, Version=1.3.0.0, Culture=neutral, PublicKeyToken=3775edd25acc43c2, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\WixSharp.bin.1.3.0.0\lib\WixSharp.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="WixSharp.Msi, Version=1.0.35.0, Culture=neutral, PublicKeyToken=3775edd25acc43c2, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\WixSharp.bin.1.0.35.3\lib\WixSharp.Msi.dll</HintPath>
|
||||
<Reference Include="WixSharp.Msi, Version=1.3.0.0, Culture=neutral, PublicKeyToken=3775edd25acc43c2, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\WixSharp.bin.1.3.0.0\lib\WixSharp.Msi.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="WixSharp.UI, Version=1.0.35.2, Culture=neutral, PublicKeyToken=3775edd25acc43c2, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\WixSharp.bin.1.0.35.3\lib\WixSharp.UI.dll</HintPath>
|
||||
<Reference Include="WixSharp.UI, Version=1.3.0.0, Culture=neutral, PublicKeyToken=3775edd25acc43c2, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\WixSharp.bin.1.3.0.0\lib\WixSharp.UI.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Cert.cs" />
|
||||
<Compile Include="Config.cs" />
|
||||
<Compile Include="Options.cs" />
|
||||
<Compile Include="Program.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="Verifier.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="App.config" />
|
||||
<None Include="Config.json" />
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="..\packages\WixSharp.1.0.35.3\build\WixSharp.targets" Condition="Exists('..\packages\WixSharp.1.0.35.3\build\WixSharp.targets')" />
|
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||
<PropertyGroup>
|
||||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
||||
</PropertyGroup>
|
||||
<Error Condition="!Exists('..\packages\WixSharp.1.0.35.3\build\WixSharp.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\WixSharp.1.0.35.3\build\WixSharp.targets'))" />
|
||||
</Target>
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
@@ -98,5 +90,12 @@
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
<UsingTask AssemblyFile="packages\WixSharp.1.0.35.3\build\SetEnvVar.dll" TaskName="SetEnvVar" />
|
||||
<Import Project="..\packages\WixSharp.1.3.0.0\build\WixSharp.targets" Condition="Exists('..\packages\WixSharp.1.3.0.0\build\WixSharp.targets')" />
|
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||
<PropertyGroup>
|
||||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
||||
</PropertyGroup>
|
||||
<Error Condition="!Exists('..\packages\WixSharp.1.3.0.0\build\WixSharp.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\WixSharp.1.3.0.0\build\WixSharp.targets'))" />
|
||||
</Target>
|
||||
<UsingTask AssemblyFile="$(SolutionDir)packages\WixSharp.1.3.0.0\build\SetEnvVar.dll" TaskName="SetEnvVar" />
|
||||
</Project>
|
||||
@@ -1,27 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace QuikPak
|
||||
{
|
||||
public static class Verifier
|
||||
{
|
||||
public static void Verify(Config config)
|
||||
{
|
||||
if(string.IsNullOrWhiteSpace(config.UpgradeCode))
|
||||
{
|
||||
throw new Exception("Upgrade code required");
|
||||
}
|
||||
foreach(var certificate in config.Certificates)
|
||||
{
|
||||
if(string.IsNullOrWhiteSpace(certificate.CertificatePath) || !File.Exists(certificate.CertificatePath))
|
||||
{
|
||||
throw new Exception("Certificate path could not be found");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -5,29 +5,27 @@
|
||||
<!-- Read this before publishing packages to chocolatey.org: https://github.com/chocolatey/chocolatey/wiki/CreatePackages -->
|
||||
<id>quikpak</id>
|
||||
<title>QuikPak (Install)</title>
|
||||
<version>0.7.1</version>
|
||||
<version>$version$</version>
|
||||
<authors>Tommy Parnell</authors>
|
||||
<owners>Tommy Parnell</owners>
|
||||
<summary>quickly pack directory's as IIS websites</summary>
|
||||
<description>quickly pack directory's as IIS websites
|
||||
</description>
|
||||
<projectUrl>https://github.com/tparnell8/QuikPak</projectUrl>
|
||||
<packageSourceUrl>https://github.com/tparnell8/QuikPak</packageSourceUrl>
|
||||
<projectUrl>https://github.com/terribledev/QuikPak</projectUrl>
|
||||
<packageSourceUrl>https://github.com/terribledev/QuikPak</packageSourceUrl>
|
||||
<!--<projectSourceUrl></projectSourceUrl>
|
||||
<docsUrl></docsUrl>
|
||||
<mailingListUrl></mailingListUrl>
|
||||
<bugTrackerUrl></bugTrackerUrl>-->
|
||||
<tags>MSI creation IIS</tags>
|
||||
<copyright></copyright>
|
||||
<licenseUrl>https://github.com/tparnell8/QuikPak/blob/master/LICENSE.md</licenseUrl>
|
||||
<licenseUrl>https://github.com/terribledev/QuikPak/blob/master/LICENSE.md</licenseUrl>
|
||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||
<dependencies>
|
||||
<dependency id="wixtoolset" />
|
||||
</dependencies>
|
||||
<!--<provides></provides>-->
|
||||
</metadata>
|
||||
<files>
|
||||
<file src="tools\**" target="tools" />
|
||||
<file src="..\bin\Release\**" target="" />
|
||||
<file src="..\bin\Release\**" target="" />
|
||||
</files>
|
||||
</package>
|
||||
|
||||
@@ -1,91 +0,0 @@
|
||||
## Summary
|
||||
How do I create packages? See https://github.com/chocolatey/choco/wiki/CreatePackages
|
||||
|
||||
If you are submitting packages to the community feed (https://chocolatey.org)
|
||||
always try to ensure you have read, understood and adhere to the create
|
||||
packages wiki link above.
|
||||
|
||||
## Automatic Packages?
|
||||
Consider making this package an automatic package, for the best
|
||||
maintainability over time. Read up at https://github.com/chocolatey/choco/wiki/AutomaticPackages
|
||||
|
||||
## Shim Generation
|
||||
Any executables you include in the package or download (but don't call
|
||||
install against using the built-in functions) will be automatically shimmed.
|
||||
|
||||
This means those executables will automatically be included on the path.
|
||||
Shim generation runs whether the package is self-contained or uses automation
|
||||
scripts.
|
||||
|
||||
By default, these are considered console applications.
|
||||
|
||||
If the application is a GUI, you should create an empty file next to the exe
|
||||
named 'name.exe.gui' e.g. 'bob.exe' would need a file named 'bob.exe.gui'.
|
||||
See https://github.com/chocolatey/choco/wiki/CreatePackages#how-do-i-set-up-batch-redirects-for-applications-that-have-a-gui
|
||||
|
||||
If you want to ignore the executable, create an empty file next to the exe
|
||||
named 'name.exe.ignore' e.g. 'bob.exe' would need a file named
|
||||
'bob.exe.ignore'.
|
||||
See https://github.com/chocolatey/choco/wiki/CreatePackages#how-do-i-exclude-executables-from-getting-batch-redirects
|
||||
|
||||
## Self-Contained?
|
||||
If you have a self-contained package, you can remove the automation scripts
|
||||
entirely and just include the executables, they will automatically get shimmed,
|
||||
which puts them on the path. Ensure you have the legal right to distribute
|
||||
the application though. See https://github.com/chocolatey/choco/wiki/Legal.
|
||||
|
||||
You should read up on the Shim Generation section to familiarize yourself
|
||||
on what to do with GUI applications and/or ignoring shims.
|
||||
|
||||
## Automation Scripts
|
||||
You have a powerful use of Chocolatey, as you are using PowerShell. So you
|
||||
can do just about anything you need. Choco has some very handy built-in
|
||||
functions that you can use, these are sometimes called the helpers.
|
||||
|
||||
### Built-In Functions
|
||||
https://github.com/chocolatey/choco/wiki/HelpersReference
|
||||
|
||||
A note about a couple:
|
||||
* Get-BinRoot - this is a horribly named function that doesn't do what new folks think it does. It gets you the 'tools' root, which by default is set to 'c:\tools', not the chocolateyInstall bin folder.
|
||||
* Install-BinFile - used for non-exe files - executables are automatically shimmed...
|
||||
* Uninstall-BinFile - used for non-exe files - executables are automatically shimmed
|
||||
|
||||
### Getting package specific information
|
||||
Use the package parameters pattern - see https://github.com/chocolatey/choco/wiki/How-To-Parse-PackageParameters-Argument
|
||||
|
||||
### Need to mount an ISO?
|
||||
https://github.com/chocolatey/choco/wiki/How-To-Mount-An-Iso-In-Chocolatey-Package
|
||||
|
||||
|
||||
### Environment Variables
|
||||
Chocolatey makes a number of environment variables available (You can access any of these with $env:TheVariableNameBelow):
|
||||
|
||||
* TEMP = Overridden to the CacheLocation, but may be the same as the original TEMP folder
|
||||
* ChocolateyInstall = Top level folder where Chocolatey is installed
|
||||
* chocolateyPackageName = The name of the package, equivalent to the id in the nuspec (0.9.9+)
|
||||
* chocolateyPackageVersion = The version of the package, equivalent to the version in the nuspec (0.9.9+)
|
||||
* chocolateyPackageFolder = The top level location of the package folder
|
||||
|
||||
#### Advanced Environment Variables
|
||||
The following are more advanced settings:
|
||||
|
||||
* chocolateyPackageParameters = (0.9.8.22+)
|
||||
* CHOCOLATEY_VERSION = The version of Choco you normally see. Use if you are 'lighting' things up based on choco version. (0.9.9+)
|
||||
- Otherwise take a dependency on the specific version you need.
|
||||
* chocolateyForceX86 = If available and set to 'true', then user has requested 32bit version. (0.9.9+)
|
||||
- Automatically handled in built in Choco functions.
|
||||
* OS_PLATFORM = Like Windows, OSX, Linux. (0.9.9+)
|
||||
* OS_VERSION = The version of OS, like 6.1 something something for Windows. (0.9.9+)
|
||||
* OS_NAME = The reported name of the OS. (0.9.9+)
|
||||
* IS_PROCESSELEVATED = Is the process elevated? (0.9.9+)
|
||||
|
||||
#### Experimental Environment Variables
|
||||
The following are experimental or use not recommended:
|
||||
|
||||
* OS_IS64BIT = This may not return correctly - it may depend on the process the app is running under (0.9.9+)
|
||||
* CHOCOLATEY_VERSION_PRODUCT = the version of Choco that may match CHOCOLATEY_VERSION but may be different (0.9.9+)
|
||||
- it's based on git describe
|
||||
* IS_ADMIN = Is the user an administrator? But doesn't tell you if the process is elevated. (0.9.9+)
|
||||
* chocolateyInstallOverride = Not for use in package automation scripts. (0.9.9+)
|
||||
* chocolateyInstallArguments = the installer arguments meant for the native installer. You should use chocolateyPackageParameters intead. (0.9.9+)
|
||||
|
||||
@@ -2,6 +2,6 @@
|
||||
<packages>
|
||||
<package id="CommandLineParser" version="1.9.71" targetFramework="net45" />
|
||||
<package id="Newtonsoft.Json" version="8.0.3" targetFramework="net45" />
|
||||
<package id="WixSharp" version="1.0.35.3" targetFramework="net45" />
|
||||
<package id="WixSharp.bin" version="1.0.35.3" targetFramework="net45" />
|
||||
<package id="WixSharp" version="1.3.0.0" targetFramework="net45" />
|
||||
<package id="WixSharp.bin" version="1.3.0.0" targetFramework="net45" />
|
||||
</packages>
|
||||
31
Readme.md
31
Readme.md
@@ -10,7 +10,7 @@ You can also install it from our public feed which might have newer versions fas
|
||||
|
||||
## How to use
|
||||
|
||||
Create a json config file that looks something like this
|
||||
Create a json config file that looks something like this. The upgrade code must be a unique uuid, that will identify your msi.
|
||||
|
||||
|
||||
```json
|
||||
@@ -30,8 +30,31 @@ Create a json config file that looks something like this
|
||||
|
||||
```
|
||||
|
||||
then call QuikPak.exe -c path\to\your\config.json -x path\to\your\web\content
|
||||
then call QuikPak.exe -c path\to\your\config.jsondfsa -x path\to\your\web\content
|
||||
|
||||
## TODO
|
||||
## Certificates
|
||||
|
||||
Allow someone to include a certificate optionally for secure bindings
|
||||
You can also add certificates to your json bindings.
|
||||
|
||||
|
||||
```json
|
||||
|
||||
{
|
||||
"UpgradeCode": "317e4313-2314-46e9-ae7e-6cdfee60c05d",
|
||||
"Name": "terribledev",
|
||||
"Version": "1.0.0.1",
|
||||
"Endpoints": [
|
||||
{
|
||||
"port": 10000,
|
||||
"DnsName": "*",
|
||||
"Secure": false
|
||||
},
|
||||
{
|
||||
"port": 8000,
|
||||
"DnsName": "localhost",
|
||||
"Secure" : false
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
13
config.json
13
config.json
@@ -1,13 +0,0 @@
|
||||
{
|
||||
"UpgradeCode": "317e4313-2314-46e9-ae7e-6cdfee60c05d",
|
||||
"Name": "MyWebsite",
|
||||
"Version": "1.0.0",
|
||||
"Endpoints": [
|
||||
{
|
||||
"port": 80,
|
||||
"DnsName": "*",
|
||||
"Secure": false
|
||||
}
|
||||
],
|
||||
"Certificates": [{"CertificatePath": "C:\\projects\\QuikPak\\cert.pfx", "PfxPassword": "Andromeda1"}]
|
||||
}
|
||||
Reference in New Issue
Block a user