certs
This commit is contained in:
BIN
MyWebsite.msi
BIN
MyWebsite.msi
Binary file not shown.
510
MyWebsite.wxs
510
MyWebsite.wxs
@@ -1,297 +1,254 @@
|
||||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<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" />
|
||||
<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="9235996e-778c-44bc-bce9-46c777633833">
|
||||
<Component Id="Component.config.json" Guid="4f3ca8e0-4878-4ae6-80d3-7f9f86a47420">
|
||||
<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">
|
||||
<WebApplication Id="MyWebAppWebApplication" Name="MyWebApp" WebAppPool="MyWebsite_Web_VDIR_AppPool" />
|
||||
<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="WebSite" Description="MyWebsite" Directory="IISMain" xmlns="http://schemas.microsoft.com/wix/IIsExtension">
|
||||
<WebAddress Id="WebSite_Address1" IP="*" Port="80" Secure="no" Header="*" />
|
||||
<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="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 Id="Component.App.config" Guid="9235996e-778c-44bc-bce9-46c71bb924b3">
|
||||
<File Id="App.config" Source="QuikPak\App.config" />
|
||||
</Component>
|
||||
<Directory Id="IISMain.CommandLineParser.1.9.71" Name="CommandLineParser.1.9.71">
|
||||
|
||||
<Component Id="Component.Certificate.cs" Guid="9235996e-778c-44bc-bce9-46c77942d4cf">
|
||||
<File Id="Certificate.cs" Source="QuikPak\Certificate.cs" />
|
||||
</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 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>
|
||||
|
||||
<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">
|
||||
<File Id="ReadMe.md" Source="QuikPak\choco\tools\ReadMe.md" />
|
||||
</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.obj" Name="obj">
|
||||
<Directory Id="IISMain.obj.Debug" Name="Debug">
|
||||
<Directory Id="IISMain.Newtonsoft.Json.8.0.3" Name="Newtonsoft.Json.8.0.3">
|
||||
|
||||
<Component Id="Component.DesignTimeResolveAssemblyReferences.cache" Guid="9235996e-778c-44bc-bce9-46c706b5f1c1">
|
||||
<File Id="DesignTimeResolveAssemblyReferences.cache" Source="QuikPak\obj\Debug\DesignTimeResolveAssemblyReferences.cache" />
|
||||
</Component>
|
||||
<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>
|
||||
|
||||
<Component Id="Component.DesignTimeResolveAssemblyReferencesInput.cache" Guid="9235996e-778c-44bc-bce9-46c73f19dc30">
|
||||
<File Id="DesignTimeResolveAssemblyReferencesInput.cache" Source="QuikPak\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache" />
|
||||
</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.QuikPak.csproj.FileListAbsolute.txt" Guid="9235996e-778c-44bc-bce9-46c7aeccee7c">
|
||||
<File Id="QuikPak.csproj.FileListAbsolute.txt" Source="QuikPak\obj\Debug\QuikPak.csproj.FileListAbsolute.txt" />
|
||||
</Component>
|
||||
<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.QuikPak.csprojResolveAssemblyReference.cache" Guid="9235996e-778c-44bc-bce9-46c708d6fd6c">
|
||||
<File Id="QuikPak.csprojResolveAssemblyReference.cache" Source="QuikPak\obj\Debug\QuikPak.csprojResolveAssemblyReference.cache" />
|
||||
</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>
|
||||
|
||||
<Component Id="Component.QuikPak.exe.2" Guid="9235996e-778c-44bc-bce9-46c771220800">
|
||||
<File Id="QuikPak.exe.2" Source="QuikPak\obj\Debug\QuikPak.exe" />
|
||||
</Component>
|
||||
</Directory>
|
||||
|
||||
<Component Id="Component.QuikPak.pdb.1" Guid="9235996e-778c-44bc-bce9-46c7b48f7f2d">
|
||||
<File Id="QuikPak.pdb.1" Source="QuikPak\obj\Debug\QuikPak.pdb" />
|
||||
</Component>
|
||||
<Directory Id="IISMain.Newtonsoft.Json.8.0.3.lib.net35" Name="net35">
|
||||
|
||||
<Component Id="Component.TemporaryGeneratedFile_036C0B5B_1481_4323_8D20_8F5ADCB23D92.cs" Guid="9235996e-778c-44bc-bce9-46c7e234e49a">
|
||||
<File Id="TemporaryGeneratedFile_036C0B5B_1481_4323_8D20_8F5ADCB23D92.cs" Source="QuikPak\obj\Debug\TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs" />
|
||||
</Component>
|
||||
<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.TemporaryGeneratedFile_5937a670_0e60_4077_877b_f7221da3dda1.cs" Guid="9235996e-778c-44bc-bce9-46c7a7917585">
|
||||
<File Id="TemporaryGeneratedFile_5937a670_0e60_4077_877b_f7221da3dda1.cs" Source="QuikPak\obj\Debug\TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs" />
|
||||
</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>
|
||||
|
||||
<Component Id="Component.TemporaryGeneratedFile_E7A71F73_0F8D_4B9B_B56E_8E70B10BC5D3.cs" Guid="9235996e-778c-44bc-bce9-46c7bbfd6f29">
|
||||
<File Id="TemporaryGeneratedFile_E7A71F73_0F8D_4B9B_B56E_8E70B10BC5D3.cs" Source="QuikPak\obj\Debug\TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs" />
|
||||
</Component>
|
||||
</Directory>
|
||||
|
||||
<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">
|
||||
<CreateFolder />
|
||||
<RemoveFolder Id="IISMain.obj.Debug.TempPE" On="uninstall" />
|
||||
<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.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">
|
||||
<File Id="QuikPak.csproj.FileListAbsolute.txt.1" Source="QuikPak\obj\Release\QuikPak.csproj.FileListAbsolute.txt" />
|
||||
<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>
|
||||
|
||||
<Component Id="Component.QuikPak.csprojResolveAssemblyReference.cache.1" Guid="9235996e-778c-44bc-bce9-46c72dfd6d10">
|
||||
<File Id="QuikPak.csprojResolveAssemblyReference.cache.1" Source="QuikPak\obj\Release\QuikPak.csprojResolveAssemblyReference.cache" />
|
||||
</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.QuikPak.exe.3" Guid="9235996e-778c-44bc-bce9-46c714ca7d9b">
|
||||
<File Id="QuikPak.exe.3" Source="QuikPak\obj\Release\QuikPak.exe" />
|
||||
</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 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>
|
||||
|
||||
<Component Id="IISMain.obj" Guid="9235996e-778c-44bc-bce9-46c7f2046f87" KeyPath="yes">
|
||||
<CreateFolder />
|
||||
<RemoveFolder Id="IISMain.obj" On="uninstall" />
|
||||
</Component>
|
||||
<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.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">
|
||||
<File Id="AssemblyInfo.cs" Source="QuikPak\Properties\AssemblyInfo.cs" />
|
||||
<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>
|
||||
|
||||
<Component Id="TARGETDIR" Guid="9235996e-778c-44bc-bce9-46c74127a606" KeyPath="yes">
|
||||
<CreateFolder />
|
||||
<RemoveFolder Id="TARGETDIR" On="uninstall" />
|
||||
</Component>
|
||||
|
||||
</Directory>
|
||||
|
||||
<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" />
|
||||
</Upgrade>
|
||||
|
||||
<Binary Id="cert" SourceFile="cert.pfx" />
|
||||
|
||||
<Feature Id="Complete" Title="Complete" Absent="allow" Level="1">
|
||||
<ComponentRef Id="Component.config.json" />
|
||||
<ComponentRef Id="Component.App.config" />
|
||||
<ComponentRef Id="Component.Certificate.cs" />
|
||||
<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.CommandLineParser.1.9.71.nupkg" />
|
||||
<ComponentRef Id="Component.readme.txt" />
|
||||
<ComponentRef Id="Component.CommandLine.dll" />
|
||||
<ComponentRef Id="Component.CommandLine.xml" />
|
||||
<ComponentRef Id="Component.Microsoft.Deployment.WindowsInstaller.dll" />
|
||||
<ComponentRef Id="Component.Microsoft.Deployment.WindowsInstaller.xml" />
|
||||
<ComponentRef Id="Component.MyWebsite.msi" />
|
||||
<ComponentRef Id="Component.MyWebsite.wxs" />
|
||||
<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.QuikPak.exe" />
|
||||
<ComponentRef Id="Component.QuikPak.exe.config" />
|
||||
<ComponentRef Id="Component.QuikPak.pdb" />
|
||||
<ComponentRef Id="Component.QuikPak.vshost.exe" />
|
||||
<ComponentRef Id="Component.QuikPak.vshost.exe.config" />
|
||||
<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="Component.BootstrapperCore.dll.1" />
|
||||
<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" />
|
||||
<ComponentRef Id="Certificate1" />
|
||||
</Feature>
|
||||
|
||||
</Product>
|
||||
|
||||
@@ -6,12 +6,12 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace QuikPak
|
||||
{
|
||||
public class Certificate : IEquatable<Certificate>
|
||||
public class Cert : IEquatable<Cert>
|
||||
{
|
||||
public string CertificatePath { get; set; }
|
||||
public string PfxPassword { get; set; }
|
||||
|
||||
public bool Equals(Certificate other)
|
||||
public bool Equals(Cert other)
|
||||
{
|
||||
return string.Equals(this.CertificatePath, other.CertificatePath);
|
||||
}
|
||||
@@ -15,7 +15,7 @@ namespace QuikPak
|
||||
public int IdleTimeout { get; set; } = 0;
|
||||
public string ManagedPipelineMode { get; set; } = "Integrated";
|
||||
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
|
||||
|
||||
@@ -38,22 +38,22 @@ namespace QuikPak
|
||||
}
|
||||
addresses.Add(new WebSite.WebAddress()
|
||||
{
|
||||
//Port = Endpoint.Port,
|
||||
//Address = Endpoint.DnsName,
|
||||
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[]
|
||||
{
|
||||
new Dir(new Id("IISMain"), config.Name + "_" +config.Version.ToString() +"_Web",
|
||||
@@ -62,12 +62,16 @@ namespace QuikPak
|
||||
new File(options.Config,
|
||||
new IISVirtualDir
|
||||
{
|
||||
Name = config.Name + "_Web_VDIR",
|
||||
WebSite = new WebSite(config.Name)
|
||||
Name = config.Name + "WebSite",
|
||||
AppName = "ImAnAppName",
|
||||
WebSite = new WebSite(new Id(config.Name + "WebSite"), config.Name + "WebSite")
|
||||
{
|
||||
InstallWebSite = true,
|
||||
Description = config.Name,
|
||||
Addresses = addresses.ToArray()
|
||||
Addresses = addresses.ToArray(),
|
||||
Attributes = new Dictionary<string, string>()
|
||||
{
|
||||
// ["awesome"] = "yo"
|
||||
}
|
||||
},
|
||||
WebAppPool = new WebAppPool(config.Name) {
|
||||
Attributes = new Dictionary<string, string>() {
|
||||
@@ -75,9 +79,9 @@ namespace QuikPak
|
||||
["RecycleMinutes"] = config.RecycleMinutes.ToString(),
|
||||
["IdleTimeout"] = config.IdleTimeout.ToString(),
|
||||
["ManagedPipelineMode"] = config.ManagedPipelineMode,
|
||||
["ManagedRuntimeVersion"] = config.ManagedRuntimeVersion
|
||||
["ManagedRuntimeVersion"] = config.ManagedRuntimeVersion,
|
||||
}
|
||||
}
|
||||
},
|
||||
})
|
||||
)
|
||||
},
|
||||
@@ -88,6 +92,7 @@ namespace QuikPak
|
||||
PreserveTempFiles = true,
|
||||
UpgradeCode = new Guid(config.UpgradeCode),
|
||||
};
|
||||
|
||||
project.Properties.Add(new Property("REINSTALLMODE", "dmus"));
|
||||
project.MajorUpgrade = new MajorUpgrade() { AllowDowngrades = true, Schedule = UpgradeSchedule.afterInstallInitialize };
|
||||
project.MajorUpgradeStrategy = new MajorUpgradeStrategy()
|
||||
@@ -101,6 +106,15 @@ 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>()
|
||||
{
|
||||
["Id"] = "webapppoolgen",
|
||||
["Name"] = "weapppoolgen" + config.Name,
|
||||
["WebAppPool"] = $"{config.Name}WebSite_AppPool"
|
||||
}));
|
||||
|
||||
Compiler.BuildMsi(project);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -72,7 +72,7 @@
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Certificate.cs" />
|
||||
<Compile Include="Cert.cs" />
|
||||
<Compile Include="Config.cs" />
|
||||
<Compile Include="Options.cs" />
|
||||
<Compile Include="Program.cs" />
|
||||
|
||||
Reference in New Issue
Block a user