This commit is contained in:
Tommy Parnell
2016-05-09 21:43:37 -04:00
parent 47bc01e2b9
commit 98eb1574ef
6 changed files with 260 additions and 306 deletions

Binary file not shown.

View File

@@ -1,297 +1,254 @@
<?xml version="1.0" encoding="Windows-1252"?> <?xml version="1.0" encoding="Windows-1252"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Product Id="9235996e-778c-44bc-bce9-46c7de574693" Name="MyWebsite" Language="1033" Codepage="Windows-1252" Version="1.0.0" UpgradeCode="317e4313-2314-46e9-ae7e-6cdfee60c05d" Manufacturer="parne"> <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" /> <Package InstallerVersion="200" Compressed="yes" SummaryCodepage="Windows-1252" Languages="1033" />
<Media Id="1" Cabinet="MyWebsite.cab" EmbedCab="yes" /> <Media Id="1" Cabinet="MyWebsite.cab" EmbedCab="yes" />
<Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="IISMain" Name="MyWebsite_1.0.0_Web"> <Directory Id="IISMain" Name="MyWebsite_1.0.0_Web">
<Component Id="Component.config.json" Guid="9235996e-778c-44bc-bce9-46c777633833"> <Component Id="Component.config.json" Guid="4f3ca8e0-4878-4ae6-80d3-7f9f86a47420">
<File Id="config.json" Source="config.json" /> <File Id="config.json" Source="config.json" />
<WebVirtualDir Id="VirtDir" Alias="MyWebsite_Web_VDIR" Directory="IISMain" WebSite="WebSite" xmlns="http://schemas.microsoft.com/wix/IIsExtension"> <WebVirtualDir Id="VirtDir" Alias="MyWebsiteWebSite" Directory="IISMain" WebSite="MyWebsiteWebSite" xmlns="http://schemas.microsoft.com/wix/IIsExtension">
<WebApplication Id="MyWebAppWebApplication" Name="MyWebApp" WebAppPool="MyWebsite_Web_VDIR_AppPool" /> <WebApplication Id="ImAnAppNameWebApplication" Name="ImAnAppName" WebAppPool="MyWebsiteWebSite_AppPool" />
</WebVirtualDir> </WebVirtualDir>
<WebSite Id="WebSite" Description="MyWebsite" Directory="IISMain" xmlns="http://schemas.microsoft.com/wix/IIsExtension"> <WebSite Id="MyWebsiteWebSite" Description="MyWebsiteWebSite" Directory="IISMain" xmlns="http://schemas.microsoft.com/wix/IIsExtension">
<WebAddress Id="WebSite_Address1" IP="*" Port="80" Secure="no" Header="*" /> <WebAddress Id="MyWebsiteWebSite_Address1" IP="*" Port="80" Secure="no" Header="*" />
<WebApplication Id="webapppoolgen" Name="weapppoolgenMyWebsite" WebAppPool="MyWebsiteWebSite_AppPool" />
</WebSite> </WebSite>
<WebAppPool Id="MyWebsite_Web_VDIR_AppPool" Name="MyWebsite" Identity="localSystem" RecycleMinutes="0" IdleTimeout="0" ManagedPipelineMode="Integrated" ManagedRuntimeVersion="v4.0" xmlns="http://schemas.microsoft.com/wix/IIsExtension" /> <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> </Component>
<Component Id="Component.App.config" Guid="9235996e-778c-44bc-bce9-46c71bb924b3"> <Directory Id="IISMain.CommandLineParser.1.9.71" Name="CommandLineParser.1.9.71">
<File Id="App.config" Source="QuikPak\App.config" />
</Component>
<Component Id="Component.Certificate.cs" Guid="9235996e-778c-44bc-bce9-46c77942d4cf"> <Component Id="Component.CommandLineParser.1.9.71.nupkg" Guid="4f3ca8e0-4878-4ae6-80d3-7f9f2f01fccd">
<File Id="Certificate.cs" Source="QuikPak\Certificate.cs" /> <File Id="CommandLineParser.1.9.71.nupkg" Source="packages\CommandLineParser.1.9.71\CommandLineParser.1.9.71.nupkg" />
</Component>
<Component Id="Component.Config.cs" Guid="9235996e-778c-44bc-bce9-46c73ab02b70">
<File Id="Config.cs" Source="QuikPak\Config.cs" />
</Component>
<Component Id="Component.Options.cs" Guid="9235996e-778c-44bc-bce9-46c7c940a51c">
<File Id="Options.cs" Source="QuikPak\Options.cs" />
</Component>
<Component Id="Component.packages.config" Guid="9235996e-778c-44bc-bce9-46c7f1b80e04">
<File Id="packages.config" Source="QuikPak\packages.config" />
</Component>
<Component Id="Component.Program.cs" Guid="9235996e-778c-44bc-bce9-46c7f313d6f1">
<File Id="Program.cs" Source="QuikPak\Program.cs" />
</Component>
<Component Id="Component.QuikPak.csproj" Guid="9235996e-778c-44bc-bce9-46c7d22590a2">
<File Id="QuikPak.csproj" Source="QuikPak\QuikPak.csproj" />
</Component>
<Component Id="Component.QuikPak.csproj.user" Guid="9235996e-778c-44bc-bce9-46c7595d30f3">
<File Id="QuikPak.csproj.user" Source="QuikPak\QuikPak.csproj.user" />
</Component>
<Component Id="Component.Verifier.cs" Guid="9235996e-778c-44bc-bce9-46c710b985b0">
<File Id="Verifier.cs" Source="QuikPak\Verifier.cs" />
</Component>
<Directory Id="IISMain.bin" Name="bin">
<Directory Id="IISMain.bin.Debug" Name="Debug">
<Component Id="Component.BootstrapperCore.dll" Guid="9235996e-778c-44bc-bce9-46c7b5b971ba">
<File Id="BootstrapperCore.dll" Source="QuikPak\bin\Debug\BootstrapperCore.dll" />
</Component>
<Component Id="Component.BootstrapperCore.xml" Guid="9235996e-778c-44bc-bce9-46c7e24d71b9">
<File Id="BootstrapperCore.xml" Source="QuikPak\bin\Debug\BootstrapperCore.xml" />
</Component>
<Component Id="Component.CommandLine.dll" Guid="9235996e-778c-44bc-bce9-46c7377c3936">
<File Id="CommandLine.dll" Source="QuikPak\bin\Debug\CommandLine.dll" />
</Component>
<Component Id="Component.CommandLine.xml" Guid="9235996e-778c-44bc-bce9-46c70dcb1d1a">
<File Id="CommandLine.xml" Source="QuikPak\bin\Debug\CommandLine.xml" />
</Component>
<Component Id="Component.Microsoft.Deployment.WindowsInstaller.dll" Guid="9235996e-778c-44bc-bce9-46c721c297be">
<File Id="Microsoft.Deployment.WindowsInstaller.dll" Source="QuikPak\bin\Debug\Microsoft.Deployment.WindowsInstaller.dll" />
</Component>
<Component Id="Component.Microsoft.Deployment.WindowsInstaller.xml" Guid="9235996e-778c-44bc-bce9-46c721c197ca">
<File Id="Microsoft.Deployment.WindowsInstaller.xml" Source="QuikPak\bin\Debug\Microsoft.Deployment.WindowsInstaller.xml" />
</Component>
<Component Id="Component.MyWebsite.msi" Guid="9235996e-778c-44bc-bce9-46c7ac734164">
<File Id="MyWebsite.msi" Source="QuikPak\bin\Debug\MyWebsite.msi" />
</Component>
<Component Id="Component.MyWebsite.wxs" Guid="9235996e-778c-44bc-bce9-46c727666990">
<File Id="MyWebsite.wxs" Source="QuikPak\bin\Debug\MyWebsite.wxs" />
</Component>
<Component Id="Component.Newtonsoft.Json.dll" Guid="9235996e-778c-44bc-bce9-46c75cb1b16e">
<File Id="Newtonsoft.Json.dll" Source="QuikPak\bin\Debug\Newtonsoft.Json.dll" />
</Component>
<Component Id="Component.Newtonsoft.Json.xml" Guid="9235996e-778c-44bc-bce9-46c75bea84da">
<File Id="Newtonsoft.Json.xml" Source="QuikPak\bin\Debug\Newtonsoft.Json.xml" />
</Component>
<Component Id="Component.QuikPak.exe" Guid="9235996e-778c-44bc-bce9-46c74d4762a6">
<File Id="QuikPak.exe" Source="QuikPak\bin\Debug\QuikPak.exe" />
</Component>
<Component Id="Component.QuikPak.exe.config" Guid="9235996e-778c-44bc-bce9-46c7b71282db">
<File Id="QuikPak.exe.config" Source="QuikPak\bin\Debug\QuikPak.exe.config" />
</Component>
<Component Id="Component.QuikPak.pdb" Guid="9235996e-778c-44bc-bce9-46c7fccdba24">
<File Id="QuikPak.pdb" Source="QuikPak\bin\Debug\QuikPak.pdb" />
</Component>
<Component Id="Component.QuikPak.vshost.exe" Guid="9235996e-778c-44bc-bce9-46c7ab6e313e">
<File Id="QuikPak.vshost.exe" Source="QuikPak\bin\Debug\QuikPak.vshost.exe" />
</Component>
<Component Id="Component.QuikPak.vshost.exe.config" Guid="9235996e-778c-44bc-bce9-46c796e060ac">
<File Id="QuikPak.vshost.exe.config" Source="QuikPak\bin\Debug\QuikPak.vshost.exe.config" />
</Component>
<Component Id="Component.WixSharp.dll" Guid="9235996e-778c-44bc-bce9-46c773ea5f1e">
<File Id="WixSharp.dll" Source="QuikPak\bin\Debug\WixSharp.dll" />
</Component>
<Component Id="Component.WixSharp.Msi.dll" Guid="9235996e-778c-44bc-bce9-46c77548d00e">
<File Id="WixSharp.Msi.dll" Source="QuikPak\bin\Debug\WixSharp.Msi.dll" />
</Component>
<Component Id="Component.WixSharp.Msi.xml" Guid="9235996e-778c-44bc-bce9-46c7fe04d00d">
<File Id="WixSharp.Msi.xml" Source="QuikPak\bin\Debug\WixSharp.Msi.xml" />
</Component>
<Component Id="Component.WixSharp.UI.dll" Guid="9235996e-778c-44bc-bce9-46c7e72deb66">
<File Id="WixSharp.UI.dll" Source="QuikPak\bin\Debug\WixSharp.UI.dll" />
</Component>
<Component Id="Component.WixSharp.UI.xml" Guid="9235996e-778c-44bc-bce9-46c7bcef7422">
<File Id="WixSharp.UI.xml" Source="QuikPak\bin\Debug\WixSharp.UI.xml" />
</Component>
<Component Id="Component.WixSharp.xml" Guid="9235996e-778c-44bc-bce9-46c7ea2e5f1f">
<File Id="WixSharp.xml" Source="QuikPak\bin\Debug\WixSharp.xml" />
</Component>
</Directory>
<Directory Id="IISMain.bin.Release" Name="Release">
<Component Id="Component.BootstrapperCore.dll.1" Guid="9235996e-778c-44bc-bce9-46c7df923861">
<File Id="BootstrapperCore.dll.1" Source="QuikPak\bin\Release\BootstrapperCore.dll" />
</Component>
<Component Id="Component.CommandLine.dll.1" Guid="9235996e-778c-44bc-bce9-46c7a9ec3933">
<File Id="CommandLine.dll.1" Source="QuikPak\bin\Release\CommandLine.dll" />
</Component>
<Component Id="Component.Microsoft.Deployment.WindowsInstaller.dll.1" Guid="9235996e-778c-44bc-bce9-46c7b1e858fb">
<File Id="Microsoft.Deployment.WindowsInstaller.dll.1" Source="QuikPak\bin\Release\Microsoft.Deployment.WindowsInstaller.dll" />
</Component>
<Component Id="Component.Newtonsoft.Json.dll.1" Guid="9235996e-778c-44bc-bce9-46c755344c41">
<File Id="Newtonsoft.Json.dll.1" Source="QuikPak\bin\Release\Newtonsoft.Json.dll" />
</Component>
<Component Id="Component.QuikPak.exe.1" Guid="9235996e-778c-44bc-bce9-46c7cf7b9365">
<File Id="QuikPak.exe.1" Source="QuikPak\bin\Release\QuikPak.exe" />
</Component>
<Component Id="Component.QuikPak.exe.config.1" Guid="9235996e-778c-44bc-bce9-46c7cc594870">
<File Id="QuikPak.exe.config.1" Source="QuikPak\bin\Release\QuikPak.exe.config" />
</Component>
<Component Id="Component.WixSharp.dll.1" Guid="9235996e-778c-44bc-bce9-46c79ea19373">
<File Id="WixSharp.dll.1" Source="QuikPak\bin\Release\WixSharp.dll" />
</Component>
<Component Id="Component.WixSharp.Msi.dll.1" Guid="9235996e-778c-44bc-bce9-46c754fc8f03">
<File Id="WixSharp.Msi.dll.1" Source="QuikPak\bin\Release\WixSharp.Msi.dll" />
</Component>
<Component Id="Component.WixSharp.UI.dll.1" Guid="9235996e-778c-44bc-bce9-46c7a71a22b8">
<File Id="WixSharp.UI.dll.1" Source="QuikPak\bin\Release\WixSharp.UI.dll" />
</Component>
</Directory>
</Directory>
<Directory Id="IISMain.choco" Name="choco">
<Component Id="Component.quikpak.nuspec" Guid="9235996e-778c-44bc-bce9-46c71decb1b2">
<File Id="quikpak.nuspec" Source="QuikPak\choco\quikpak.nuspec" />
</Component> </Component>
<Directory Id="IISMain.choco.tools" Name="tools"> <Component Id="Component.readme.txt" Guid="4f3ca8e0-4878-4ae6-80d3-7f9f81b924d8">
<File Id="readme.txt" Source="packages\CommandLineParser.1.9.71\readme.txt" />
</Component>
<Component Id="Component.ReadMe.md" Guid="9235996e-778c-44bc-bce9-46c70ad8b8cf"> <Directory Id="IISMain.CommandLineParser.1.9.71.lib" Name="lib">
<File Id="ReadMe.md" Source="QuikPak\choco\tools\ReadMe.md" /> <Directory Id="IISMain.CommandLineParser.1.9.71.lib.net35" Name="net35">
</Component>
<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> </Directory>
<Directory Id="IISMain.obj" Name="obj"> <Directory Id="IISMain.Newtonsoft.Json.8.0.3" Name="Newtonsoft.Json.8.0.3">
<Directory Id="IISMain.obj.Debug" Name="Debug">
<Component Id="Component.DesignTimeResolveAssemblyReferences.cache" Guid="9235996e-778c-44bc-bce9-46c706b5f1c1"> <Component Id="Component.Newtonsoft.Json.8.0.3.nupkg" Guid="4f3ca8e0-4878-4ae6-80d3-7f9f888e83b5">
<File Id="DesignTimeResolveAssemblyReferences.cache" Source="QuikPak\obj\Debug\DesignTimeResolveAssemblyReferences.cache" /> <File Id="Newtonsoft.Json.8.0.3.nupkg" Source="packages\Newtonsoft.Json.8.0.3\Newtonsoft.Json.8.0.3.nupkg" />
</Component> </Component>
<Component Id="Component.DesignTimeResolveAssemblyReferencesInput.cache" Guid="9235996e-778c-44bc-bce9-46c73f19dc30"> <Directory Id="IISMain.Newtonsoft.Json.8.0.3.lib" Name="lib">
<File Id="DesignTimeResolveAssemblyReferencesInput.cache" Source="QuikPak\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache" /> <Directory Id="IISMain.Newtonsoft.Json.8.0.3.lib.net20" Name="net20">
</Component>
<Component Id="Component.QuikPak.csproj.FileListAbsolute.txt" Guid="9235996e-778c-44bc-bce9-46c7aeccee7c"> <Component Id="Component.Newtonsoft.Json.dll" Guid="4f3ca8e0-4878-4ae6-80d3-7f9f6bf2ed5b">
<File Id="QuikPak.csproj.FileListAbsolute.txt" Source="QuikPak\obj\Debug\QuikPak.csproj.FileListAbsolute.txt" /> <File Id="Newtonsoft.Json.dll" Source="packages\Newtonsoft.Json.8.0.3\lib\net20\Newtonsoft.Json.dll" />
</Component> </Component>
<Component Id="Component.QuikPak.csprojResolveAssemblyReference.cache" Guid="9235996e-778c-44bc-bce9-46c708d6fd6c"> <Component Id="Component.Newtonsoft.Json.xml" Guid="4f3ca8e0-4878-4ae6-80d3-7f9f6a2bc0c7">
<File Id="QuikPak.csprojResolveAssemblyReference.cache" Source="QuikPak\obj\Debug\QuikPak.csprojResolveAssemblyReference.cache" /> <File Id="Newtonsoft.Json.xml" Source="packages\Newtonsoft.Json.8.0.3\lib\net20\Newtonsoft.Json.xml" />
</Component> </Component>
<Component Id="Component.QuikPak.exe.2" Guid="9235996e-778c-44bc-bce9-46c771220800"> </Directory>
<File Id="QuikPak.exe.2" Source="QuikPak\obj\Debug\QuikPak.exe" />
</Component>
<Component Id="Component.QuikPak.pdb.1" Guid="9235996e-778c-44bc-bce9-46c7b48f7f2d"> <Directory Id="IISMain.Newtonsoft.Json.8.0.3.lib.net35" Name="net35">
<File Id="QuikPak.pdb.1" Source="QuikPak\obj\Debug\QuikPak.pdb" />
</Component>
<Component Id="Component.TemporaryGeneratedFile_036C0B5B_1481_4323_8D20_8F5ADCB23D92.cs" Guid="9235996e-778c-44bc-bce9-46c7e234e49a"> <Component Id="Component.Newtonsoft.Json.dll.1" Guid="4f3ca8e0-4878-4ae6-80d3-7f9f6475882e">
<File Id="TemporaryGeneratedFile_036C0B5B_1481_4323_8D20_8F5ADCB23D92.cs" Source="QuikPak\obj\Debug\TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs" /> <File Id="Newtonsoft.Json.dll.1" Source="packages\Newtonsoft.Json.8.0.3\lib\net35\Newtonsoft.Json.dll" />
</Component> </Component>
<Component Id="Component.TemporaryGeneratedFile_5937a670_0e60_4077_877b_f7221da3dda1.cs" Guid="9235996e-778c-44bc-bce9-46c7a7917585"> <Component Id="Component.Newtonsoft.Json.xml.1" Guid="4f3ca8e0-4878-4ae6-80d3-7f9f4bc8a81a">
<File Id="TemporaryGeneratedFile_5937a670_0e60_4077_877b_f7221da3dda1.cs" Source="QuikPak\obj\Debug\TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs" /> <File Id="Newtonsoft.Json.xml.1" Source="packages\Newtonsoft.Json.8.0.3\lib\net35\Newtonsoft.Json.xml" />
</Component> </Component>
<Component Id="Component.TemporaryGeneratedFile_E7A71F73_0F8D_4B9B_B56E_8E70B10BC5D3.cs" Guid="9235996e-778c-44bc-bce9-46c7bbfd6f29"> </Directory>
<File Id="TemporaryGeneratedFile_E7A71F73_0F8D_4B9B_B56E_8E70B10BC5D3.cs" Source="QuikPak\obj\Debug\TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs" />
</Component>
<Directory Id="IISMain.obj.Debug.TempPE" Name="TempPE"> <Directory Id="IISMain.Newtonsoft.Json.8.0.3.lib.net40" Name="net40">
<Component Id="TempPE.EmptyDirectory" Guid="9235996e-778c-44bc-bce9-46c777cc1be4" KeyPath="yes"> <Component Id="Component.Newtonsoft.Json.dll.2" Guid="4f3ca8e0-4878-4ae6-80d3-7f9f4c6be6ff">
<CreateFolder /> <File Id="Newtonsoft.Json.dll.2" Source="packages\Newtonsoft.Json.8.0.3\lib\net40\Newtonsoft.Json.dll" />
<RemoveFolder Id="IISMain.obj.Debug.TempPE" On="uninstall" /> </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> </Component>
</Directory> </Directory>
</Directory> </Directory>
<Directory Id="IISMain.obj.Release" Name="Release"> <Directory Id="IISMain.Newtonsoft.Json.8.0.3.tools" Name="tools">
<Component Id="Component.QuikPak.csproj.FileListAbsolute.txt.1" Guid="9235996e-778c-44bc-bce9-46c7dec80c4b"> <Component Id="Component.install.ps1" Guid="4f3ca8e0-4878-4ae6-80d3-7f9f9766bf15">
<File Id="QuikPak.csproj.FileListAbsolute.txt.1" Source="QuikPak\obj\Release\QuikPak.csproj.FileListAbsolute.txt" /> <File Id="install.ps1" Source="packages\Newtonsoft.Json.8.0.3\tools\install.ps1" />
</Component> </Component>
<Component Id="Component.QuikPak.csprojResolveAssemblyReference.cache.1" Guid="9235996e-778c-44bc-bce9-46c72dfd6d10"> </Directory>
<File Id="QuikPak.csprojResolveAssemblyReference.cache.1" Source="QuikPak\obj\Release\QuikPak.csprojResolveAssemblyReference.cache" /> </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>
<Component Id="Component.QuikPak.exe.3" Guid="9235996e-778c-44bc-bce9-46c714ca7d9b"> <Component Id="Component.WixSharp.targets" Guid="4f3ca8e0-4878-4ae6-80d3-7f9f52b5ce72">
<File Id="QuikPak.exe.3" Source="QuikPak\obj\Release\QuikPak.exe" /> <File Id="WixSharp.targets" Source="packages\WixSharp.1.0.35.3\build\WixSharp.targets" />
</Component>
<Component Id="Component.QuikPak.pdb.2" Guid="9235996e-778c-44bc-bce9-46c79c85ddfe">
<File Id="QuikPak.pdb.2" Source="QuikPak\obj\Release\QuikPak.pdb" />
</Component> </Component>
</Directory> </Directory>
<Component Id="IISMain.obj" Guid="9235996e-778c-44bc-bce9-46c7f2046f87" KeyPath="yes"> <Directory Id="IISMain.WixSharp.1.0.35.3.tools" Name="tools">
<CreateFolder />
<RemoveFolder Id="IISMain.obj" On="uninstall" />
</Component>
<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>
<Directory Id="IISMain.Properties" Name="Properties"> <Directory Id="IISMain.WixSharp.bin.1.0.35.3" Name="WixSharp.bin.1.0.35.3">
<Component Id="Component.AssemblyInfo.cs" Guid="9235996e-778c-44bc-bce9-46c7bc472992"> <Component Id="Component.WixSharp.bin.1.0.35.3.nupkg" Guid="4f3ca8e0-4878-4ae6-80d3-7f9face407ed">
<File Id="AssemblyInfo.cs" Source="QuikPak\Properties\AssemblyInfo.cs" /> <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> </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> </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>
<Component Id="TARGETDIR" Guid="9235996e-778c-44bc-bce9-46c74127a606" KeyPath="yes">
<CreateFolder />
<RemoveFolder Id="TARGETDIR" On="uninstall" />
</Component>
</Directory> </Directory>
<MajorUpgrade AllowDowngrades="yes" Schedule="afterInstallInitialize" /> <MajorUpgrade AllowDowngrades="yes" Schedule="afterInstallInitialize" />
@@ -300,66 +257,49 @@
<UpgradeVersion Minimum="0.0.0.1" Maximum="99.0.0.0" IncludeMinimum="yes" IncludeMaximum="no" Property="UPGRADEFOUND" /> <UpgradeVersion Minimum="0.0.0.1" Maximum="99.0.0.0" IncludeMinimum="yes" IncludeMaximum="no" Property="UPGRADEFOUND" />
</Upgrade> </Upgrade>
<Binary Id="cert" SourceFile="cert.pfx" />
<Feature Id="Complete" Title="Complete" Absent="allow" Level="1"> <Feature Id="Complete" Title="Complete" Absent="allow" Level="1">
<ComponentRef Id="Component.config.json" /> <ComponentRef Id="Component.config.json" />
<ComponentRef Id="Component.App.config" /> <ComponentRef Id="Component.CommandLineParser.1.9.71.nupkg" />
<ComponentRef Id="Component.Certificate.cs" /> <ComponentRef Id="Component.readme.txt" />
<ComponentRef Id="Component.Config.cs" />
<ComponentRef Id="Component.Options.cs" />
<ComponentRef Id="Component.packages.config" />
<ComponentRef Id="Component.Program.cs" />
<ComponentRef Id="Component.QuikPak.csproj" />
<ComponentRef Id="Component.QuikPak.csproj.user" />
<ComponentRef Id="Component.Verifier.cs" />
<ComponentRef Id="Component.BootstrapperCore.dll" />
<ComponentRef Id="Component.BootstrapperCore.xml" />
<ComponentRef Id="Component.CommandLine.dll" /> <ComponentRef Id="Component.CommandLine.dll" />
<ComponentRef Id="Component.CommandLine.xml" /> <ComponentRef Id="Component.CommandLine.xml" />
<ComponentRef Id="Component.Microsoft.Deployment.WindowsInstaller.dll" /> <ComponentRef Id="Component.CommandLine.dll.1" />
<ComponentRef Id="Component.Microsoft.Deployment.WindowsInstaller.xml" /> <ComponentRef Id="Component.CommandLine.xml.1" />
<ComponentRef Id="Component.MyWebsite.msi" /> <ComponentRef Id="Component.CommandLine.dll.2" />
<ComponentRef Id="Component.MyWebsite.wxs" /> <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.dll" />
<ComponentRef Id="Component.Newtonsoft.Json.xml" /> <ComponentRef Id="Component.Newtonsoft.Json.xml" />
<ComponentRef Id="Component.QuikPak.exe" /> <ComponentRef Id="Component.Newtonsoft.Json.dll.1" />
<ComponentRef Id="Component.QuikPak.exe.config" /> <ComponentRef Id="Component.Newtonsoft.Json.xml.1" />
<ComponentRef Id="Component.QuikPak.pdb" /> <ComponentRef Id="Component.Newtonsoft.Json.dll.2" />
<ComponentRef Id="Component.QuikPak.vshost.exe" /> <ComponentRef Id="Component.Newtonsoft.Json.xml.2" />
<ComponentRef Id="Component.QuikPak.vshost.exe.config" /> <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.dll" />
<ComponentRef Id="Component.WixSharp.Msi.dll" /> <ComponentRef Id="Component.WixSharp.Msi.dll" />
<ComponentRef Id="Component.WixSharp.Msi.xml" /> <ComponentRef Id="Component.WixSharp.Msi.xml" />
<ComponentRef Id="Component.WixSharp.UI.dll" /> <ComponentRef Id="Component.WixSharp.UI.dll" />
<ComponentRef Id="Component.WixSharp.UI.xml" /> <ComponentRef Id="Component.WixSharp.UI.xml" />
<ComponentRef Id="Component.WixSharp.xml" /> <ComponentRef Id="Component.WixSharp.xml" />
<ComponentRef Id="Component.BootstrapperCore.dll.1" /> <ComponentRef Id="Certificate1" />
<ComponentRef Id="Component.CommandLine.dll.1" />
<ComponentRef Id="Component.Microsoft.Deployment.WindowsInstaller.dll.1" />
<ComponentRef Id="Component.Newtonsoft.Json.dll.1" />
<ComponentRef Id="Component.QuikPak.exe.1" />
<ComponentRef Id="Component.QuikPak.exe.config.1" />
<ComponentRef Id="Component.WixSharp.dll.1" />
<ComponentRef Id="Component.WixSharp.Msi.dll.1" />
<ComponentRef Id="Component.WixSharp.UI.dll.1" />
<ComponentRef Id="Component.quikpak.nuspec" />
<ComponentRef Id="Component.ReadMe.md" />
<ComponentRef Id="Component.DesignTimeResolveAssemblyReferences.cache" />
<ComponentRef Id="Component.DesignTimeResolveAssemblyReferencesInput.cache" />
<ComponentRef Id="Component.QuikPak.csproj.FileListAbsolute.txt" />
<ComponentRef Id="Component.QuikPak.csprojResolveAssemblyReference.cache" />
<ComponentRef Id="Component.QuikPak.exe.2" />
<ComponentRef Id="Component.QuikPak.pdb.1" />
<ComponentRef Id="Component.TemporaryGeneratedFile_036C0B5B_1481_4323_8D20_8F5ADCB23D92.cs" />
<ComponentRef Id="Component.TemporaryGeneratedFile_5937a670_0e60_4077_877b_f7221da3dda1.cs" />
<ComponentRef Id="Component.TemporaryGeneratedFile_E7A71F73_0F8D_4B9B_B56E_8E70B10BC5D3.cs" />
<ComponentRef Id="TempPE.EmptyDirectory" />
<ComponentRef Id="Component.QuikPak.csproj.FileListAbsolute.txt.1" />
<ComponentRef Id="Component.QuikPak.csprojResolveAssemblyReference.cache.1" />
<ComponentRef Id="Component.QuikPak.exe.3" />
<ComponentRef Id="Component.QuikPak.pdb.2" />
<ComponentRef Id="Component.AssemblyInfo.cs" />
<ComponentRef Id="IISMain.obj" />
<ComponentRef Id="TARGETDIR" />
</Feature> </Feature>
</Product> </Product>

View File

@@ -6,12 +6,12 @@ using System.Threading.Tasks;
namespace QuikPak namespace QuikPak
{ {
public class Certificate : IEquatable<Certificate> public class Cert : IEquatable<Cert>
{ {
public string CertificatePath { get; set; } public string CertificatePath { get; set; }
public string PfxPassword { get; set; } public string PfxPassword { get; set; }
public bool Equals(Certificate other) public bool Equals(Cert other)
{ {
return string.Equals(this.CertificatePath, other.CertificatePath); return string.Equals(this.CertificatePath, other.CertificatePath);
} }

View File

@@ -15,7 +15,7 @@ namespace QuikPak
public int IdleTimeout { get; set; } = 0; public int IdleTimeout { get; set; } = 0;
public string ManagedPipelineMode { get; set; } = "Integrated"; public string ManagedPipelineMode { get; set; } = "Integrated";
public string ManagedRuntimeVersion { get; set; } = "v4.0"; public string ManagedRuntimeVersion { get; set; } = "v4.0";
public ICollection<Certificate> Certificates { get; set; } = new HashSet<Certificate>(); public ICollection<Cert> Certificates { get; set; } = new HashSet<Cert>();
} }
public class Endpoint public class Endpoint

View File

@@ -38,22 +38,22 @@ namespace QuikPak
} }
addresses.Add(new WebSite.WebAddress() addresses.Add(new WebSite.WebAddress()
{ {
//Port = Endpoint.Port,
//Address = Endpoint.DnsName,
Attributes = attr Attributes = attr
}); });
} }
var project = new Project(config.Name) 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())
{ {
//Certificates = config.Certificates.Select(a => new WixSharp.Certificate(
// System.IO.Path.GetFileNameWithoutExtension(a.CertificatePath),
// StoreLocation.localMachine,
// StoreName.personal,
// a.CertificatePath
// , false
// )
//{
// PFXPassword = a.PfxPassword,
//}).ToArray(),
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",
@@ -62,12 +62,16 @@ namespace QuikPak
new File(options.Config, new File(options.Config,
new IISVirtualDir new IISVirtualDir
{ {
Name = config.Name + "_Web_VDIR", Name = config.Name + "WebSite",
WebSite = new WebSite(config.Name) AppName = "ImAnAppName",
WebSite = new WebSite(new Id(config.Name + "WebSite"), config.Name + "WebSite")
{ {
InstallWebSite = true, InstallWebSite = true,
Description = config.Name, Addresses = addresses.ToArray(),
Addresses = addresses.ToArray() Attributes = new Dictionary<string, string>()
{
// ["awesome"] = "yo"
}
}, },
WebAppPool = new WebAppPool(config.Name) { WebAppPool = new WebAppPool(config.Name) {
Attributes = new Dictionary<string, string>() { Attributes = new Dictionary<string, string>() {
@@ -75,9 +79,9 @@ namespace QuikPak
["RecycleMinutes"] = config.RecycleMinutes.ToString(), ["RecycleMinutes"] = config.RecycleMinutes.ToString(),
["IdleTimeout"] = config.IdleTimeout.ToString(), ["IdleTimeout"] = config.IdleTimeout.ToString(),
["ManagedPipelineMode"] = config.ManagedPipelineMode, ["ManagedPipelineMode"] = config.ManagedPipelineMode,
["ManagedRuntimeVersion"] = config.ManagedRuntimeVersion ["ManagedRuntimeVersion"] = config.ManagedRuntimeVersion,
} }
} },
}) })
) )
}, },
@@ -88,6 +92,7 @@ namespace QuikPak
PreserveTempFiles = true, PreserveTempFiles = true,
UpgradeCode = new Guid(config.UpgradeCode), UpgradeCode = new Guid(config.UpgradeCode),
}; };
project.Properties.Add(new Property("REINSTALLMODE", "dmus")); project.Properties.Add(new Property("REINSTALLMODE", "dmus"));
project.MajorUpgrade = new MajorUpgrade() { AllowDowngrades = true, Schedule = UpgradeSchedule.afterInstallInitialize }; project.MajorUpgrade = new MajorUpgrade() { AllowDowngrades = true, Schedule = UpgradeSchedule.afterInstallInitialize };
project.MajorUpgradeStrategy = new MajorUpgradeStrategy() project.MajorUpgradeStrategy = new MajorUpgradeStrategy()
@@ -101,6 +106,15 @@ namespace QuikPak
}, },
RemoveExistingProductAfter = Step.InstallInitialize RemoveExistingProductAfter = Step.InstallInitialize
}; };
project.WixSourceGenerated += doc =>
doc.FindAll("WebSite")
.ForEach(x => x.AddElement(new System.Xml.Linq.XElement("WebApplication"), attributes: new Dictionary<string, string>()
{
["Id"] = "webapppoolgen",
["Name"] = "weapppoolgen" + config.Name,
["WebAppPool"] = $"{config.Name}WebSite_AppPool"
}));
Compiler.BuildMsi(project); Compiler.BuildMsi(project);
} }
} }

View File

@@ -72,7 +72,7 @@
</Reference> </Reference>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Compile Include="Certificate.cs" /> <Compile Include="Cert.cs" />
<Compile Include="Config.cs" /> <Compile Include="Config.cs" />
<Compile Include="Options.cs" /> <Compile Include="Options.cs" />
<Compile Include="Program.cs" /> <Compile Include="Program.cs" />