diff --git a/IRaCIS.Core.API.sln b/IRaCIS.Core.API.sln index cb23da7d..41ae27e7 100644 --- a/IRaCIS.Core.API.sln +++ b/IRaCIS.Core.API.sln @@ -11,24 +11,13 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "IRaCIS.Core.Application", " EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "IRaCIS.Core.Domain.Share", "IRaCIS.Core.Domain.Share\IRaCIS.Core.Domain.Share.csproj", "{7CBC76F5-3817-46B7-8D9D-79253A89B578}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "IRaCIS.JWT.RS256", "ZhiZhunAuthenticationCenter\IRaCIS.JWT.RS256.csproj", "{3EF210EE-D5D1-4C93-A8FA-E0DB1852BD39}" -EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "IRaCIS.Core.Test", "IRaCIS.Core.Test\IRaCIS.Core.Test.csproj", "{3292B2B4-6E8A-43AA-84C0-AB4A391E8A2A}" EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "IRaCIS.Core.Infra.EFCore", "IRaCIS.Core.Infra.EFCore\IRaCIS.Core.Infra.EFCore.csproj", "{6D8115E5-84D6-424B-8F8D-0C2D40347A8C}" EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "IRaCIS.Core.Infrastructure", "IRaCIS.Core.Infrastructure\IRaCIS.Core.Infrastructure.csproj", "{07EED0F8-08E6-46F3-ACBE-17BC1391BD4C}" EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "IRaCIS.AuthenticationCenter", "IRaCIS.AuthenticationCenter", "{481329D6-B8A0-491F-A398-1DF66A0FBB62}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "IRaCIS.Core.IdentityServer4", "IRaCIS.Core.IdentityServer4\IRaCIS.Core.IdentityServer4.csproj", "{C3DD48CF-B8B3-40F6-9BDB-B7C7F0851674}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "IRaCIS.Core.IdentityServer4.MVC", "IRaCIS.Core.IdentityServer4.MVC\IRaCIS.Core.IdentityServer4.MVC.csproj", "{F621ADD6-94E8-4A4B-998E-25B8EF15D39C}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{F852ABFB-88AC-48BE-B876-2228BE2373D6}" - ProjectSection(SolutionItems) = preProject - .editorconfig = .editorconfig - EndProjectSection +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Start", "Start\Start.csproj", "{D96F4B52-359C-43C9-8110-BAD1437F9280}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -52,10 +41,6 @@ Global {7CBC76F5-3817-46B7-8D9D-79253A89B578}.Debug|Any CPU.Build.0 = Debug|Any CPU {7CBC76F5-3817-46B7-8D9D-79253A89B578}.Release|Any CPU.ActiveCfg = Release|Any CPU {7CBC76F5-3817-46B7-8D9D-79253A89B578}.Release|Any CPU.Build.0 = Release|Any CPU - {3EF210EE-D5D1-4C93-A8FA-E0DB1852BD39}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {3EF210EE-D5D1-4C93-A8FA-E0DB1852BD39}.Debug|Any CPU.Build.0 = Debug|Any CPU - {3EF210EE-D5D1-4C93-A8FA-E0DB1852BD39}.Release|Any CPU.ActiveCfg = Release|Any CPU - {3EF210EE-D5D1-4C93-A8FA-E0DB1852BD39}.Release|Any CPU.Build.0 = Release|Any CPU {3292B2B4-6E8A-43AA-84C0-AB4A391E8A2A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {3292B2B4-6E8A-43AA-84C0-AB4A391E8A2A}.Debug|Any CPU.Build.0 = Debug|Any CPU {3292B2B4-6E8A-43AA-84C0-AB4A391E8A2A}.Release|Any CPU.ActiveCfg = Release|Any CPU @@ -68,23 +53,14 @@ Global {07EED0F8-08E6-46F3-ACBE-17BC1391BD4C}.Debug|Any CPU.Build.0 = Debug|Any CPU {07EED0F8-08E6-46F3-ACBE-17BC1391BD4C}.Release|Any CPU.ActiveCfg = Release|Any CPU {07EED0F8-08E6-46F3-ACBE-17BC1391BD4C}.Release|Any CPU.Build.0 = Release|Any CPU - {C3DD48CF-B8B3-40F6-9BDB-B7C7F0851674}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {C3DD48CF-B8B3-40F6-9BDB-B7C7F0851674}.Debug|Any CPU.Build.0 = Debug|Any CPU - {C3DD48CF-B8B3-40F6-9BDB-B7C7F0851674}.Release|Any CPU.ActiveCfg = Release|Any CPU - {C3DD48CF-B8B3-40F6-9BDB-B7C7F0851674}.Release|Any CPU.Build.0 = Release|Any CPU - {F621ADD6-94E8-4A4B-998E-25B8EF15D39C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {F621ADD6-94E8-4A4B-998E-25B8EF15D39C}.Debug|Any CPU.Build.0 = Debug|Any CPU - {F621ADD6-94E8-4A4B-998E-25B8EF15D39C}.Release|Any CPU.ActiveCfg = Release|Any CPU - {F621ADD6-94E8-4A4B-998E-25B8EF15D39C}.Release|Any CPU.Build.0 = Release|Any CPU + {D96F4B52-359C-43C9-8110-BAD1437F9280}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {D96F4B52-359C-43C9-8110-BAD1437F9280}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D96F4B52-359C-43C9-8110-BAD1437F9280}.Release|Any CPU.ActiveCfg = Release|Any CPU + {D96F4B52-359C-43C9-8110-BAD1437F9280}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection - GlobalSection(NestedProjects) = preSolution - {3EF210EE-D5D1-4C93-A8FA-E0DB1852BD39} = {481329D6-B8A0-491F-A398-1DF66A0FBB62} - {C3DD48CF-B8B3-40F6-9BDB-B7C7F0851674} = {481329D6-B8A0-491F-A398-1DF66A0FBB62} - {F621ADD6-94E8-4A4B-998E-25B8EF15D39C} = {481329D6-B8A0-491F-A398-1DF66A0FBB62} - EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {BCC2EB19-3914-489B-B1D7-B7303E0218A3} EndGlobalSection diff --git a/IRaCIS.Core.API/Program.cs b/IRaCIS.Core.API/Program.cs index 125d48be..50fa939c 100644 --- a/IRaCIS.Core.API/Program.cs +++ b/IRaCIS.Core.API/Program.cs @@ -99,7 +99,7 @@ namespace IRaCIS.Core.API var updateConfigNode = jObject["ConnectionStrings"]; - var connectionString = $"Server={dbServerName};Database=IRaCIS;User ID={dbLoginUser};Password={dbPwd}1;TrustServerCertificate=true"; + var connectionString = $"Server={dbServerName};Database=IRaCIS;User ID={dbLoginUser};Password={dbPwd};TrustServerCertificate=true"; updateConfigNode["RemoteNew"] = connectionString; diff --git a/IRaCIS.Core.API/appsettings.CertificateApply.json b/IRaCIS.Core.API/appsettings.CertificateApply.json index cdaab202..aba506bc 100644 --- a/IRaCIS.Core.API/appsettings.CertificateApply.json +++ b/IRaCIS.Core.API/appsettings.CertificateApply.json @@ -7,7 +7,7 @@ } }, "ConnectionStrings": { - "RemoteNew": "Server=.;Database=IRaCIS;User ID=sa;Password=123456;TrustServerCertificate=true" + "RemoteNew": "Server=localhost;Database=IRaCIS;User ID=sa;Password=123456;TrustServerCertificate=true" }, "BasicSystemConfig": { "OpenUserComplexPassword": false, diff --git a/IRaCIS.Core.API/sql/bin.bat b/IRaCIS.Core.API/sql/bin.bat new file mode 100644 index 00000000..233fbbc3 --- /dev/null +++ b/IRaCIS.Core.API/sql/bin.bat @@ -0,0 +1,3 @@ + SQLCMD -i %~dp0\dbo.sql + SQLCMD -i %~dp0\data.sql +pause \ No newline at end of file diff --git a/IRaCIS.Core.API/sql/data.sql b/IRaCIS.Core.API/sql/data.sql new file mode 100644 index 00000000..9bf0bbee Binary files /dev/null and b/IRaCIS.Core.API/sql/data.sql differ diff --git a/IRaCIS.Core.API/sql/dbo.sql b/IRaCIS.Core.API/sql/dbo.sql new file mode 100644 index 00000000..f05c5ab1 Binary files /dev/null and b/IRaCIS.Core.API/sql/dbo.sql differ diff --git a/Start/Main.Designer.cs b/Start/Main.Designer.cs new file mode 100644 index 00000000..3e09c4e9 --- /dev/null +++ b/Start/Main.Designer.cs @@ -0,0 +1,301 @@ +namespace Start +{ + partial class Main + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + groupBox1 = new GroupBox(); + connectButton = new Button(); + passwordTextBox = new TextBox(); + usernameTextBox = new TextBox(); + serverTextBox = new TextBox(); + label3 = new Label(); + label2 = new Label(); + label1 = new Label(); + groupBox2 = new GroupBox(); + portBtn = new Button(); + apiPortTBox = new TextBox(); + nginxPortTBox = new TextBox(); + label4 = new Label(); + label5 = new Label(); + groupBox3 = new GroupBox(); + activeBtn = new Button(); + KeySecreteTextBox = new TextBox(); + machineTextBox = new TextBox(); + machineCodeLB = new Label(); + label6 = new Label(); + label7 = new Label(); + groupBox1.SuspendLayout(); + groupBox2.SuspendLayout(); + groupBox3.SuspendLayout(); + SuspendLayout(); + // + // groupBox1 + // + groupBox1.Controls.Add(connectButton); + groupBox1.Controls.Add(passwordTextBox); + groupBox1.Controls.Add(usernameTextBox); + groupBox1.Controls.Add(serverTextBox); + groupBox1.Controls.Add(label3); + groupBox1.Controls.Add(label2); + groupBox1.Controls.Add(label1); + groupBox1.Location = new Point(24, 25); + groupBox1.Name = "groupBox1"; + groupBox1.Size = new Size(738, 220); + groupBox1.TabIndex = 0; + groupBox1.TabStop = false; + groupBox1.Text = "数据库"; + // + // connectButton + // + connectButton.Location = new Point(531, 86); + connectButton.Name = "connectButton"; + connectButton.Size = new Size(128, 49); + connectButton.TabIndex = 6; + connectButton.Text = "测试连接"; + connectButton.UseVisualStyleBackColor = true; + connectButton.Click += connectButton_Click; + // + // passwordTextBox + // + passwordTextBox.Location = new Point(193, 144); + passwordTextBox.Name = "passwordTextBox"; + passwordTextBox.Size = new Size(271, 23); + passwordTextBox.TabIndex = 5; + passwordTextBox.Text = "123456"; + // + // usernameTextBox + // + usernameTextBox.Location = new Point(193, 99); + usernameTextBox.Name = "usernameTextBox"; + usernameTextBox.Size = new Size(271, 23); + usernameTextBox.TabIndex = 4; + usernameTextBox.Text = "sa"; + // + // serverTextBox + // + serverTextBox.Location = new Point(193, 51); + serverTextBox.Name = "serverTextBox"; + serverTextBox.Size = new Size(271, 23); + serverTextBox.TabIndex = 3; + serverTextBox.Text = "."; + // + // label3 + // + label3.AutoSize = true; + label3.Location = new Point(26, 141); + label3.Name = "label3"; + label3.Size = new Size(32, 17); + label3.TabIndex = 2; + label3.Text = "密码"; + // + // label2 + // + label2.AutoSize = true; + label2.Location = new Point(26, 95); + label2.Name = "label2"; + label2.Size = new Size(44, 17); + label2.TabIndex = 1; + label2.Text = "登录名"; + // + // label1 + // + label1.AutoSize = true; + label1.Location = new Point(26, 45); + label1.Name = "label1"; + label1.Size = new Size(56, 17); + label1.TabIndex = 0; + label1.Text = "服务器名"; + // + // groupBox2 + // + groupBox2.Controls.Add(portBtn); + groupBox2.Controls.Add(apiPortTBox); + groupBox2.Controls.Add(nginxPortTBox); + groupBox2.Controls.Add(label4); + groupBox2.Controls.Add(label5); + groupBox2.Location = new Point(24, 266); + groupBox2.Name = "groupBox2"; + groupBox2.Size = new Size(738, 206); + groupBox2.TabIndex = 1; + groupBox2.TabStop = false; + groupBox2.Text = "Nginx"; + // + // portBtn + // + portBtn.Location = new Point(531, 86); + portBtn.Name = "portBtn"; + portBtn.Size = new Size(128, 49); + portBtn.TabIndex = 7; + portBtn.Text = "测试端口"; + portBtn.UseVisualStyleBackColor = true; + portBtn.Click += portBtn_Click; + // + // apiPortTBox + // + apiPortTBox.Location = new Point(218, 112); + apiPortTBox.Name = "apiPortTBox"; + apiPortTBox.Size = new Size(100, 23); + apiPortTBox.TabIndex = 5; + apiPortTBox.Text = "7100"; + // + // nginxPortTBox + // + nginxPortTBox.Location = new Point(217, 64); + nginxPortTBox.Name = "nginxPortTBox"; + nginxPortTBox.Size = new Size(100, 23); + nginxPortTBox.TabIndex = 4; + nginxPortTBox.Text = "9527"; + // + // label4 + // + label4.AutoSize = true; + label4.Location = new Point(26, 113); + label4.Name = "label4"; + label4.Size = new Size(80, 17); + label4.TabIndex = 3; + label4.Text = "服务启动端口"; + // + // label5 + // + label5.AutoSize = true; + label5.Location = new Point(26, 63); + label5.Name = "label5"; + label5.Size = new Size(90, 17); + label5.TabIndex = 2; + label5.Text = "Nginx启动端口"; + // + // groupBox3 + // + groupBox3.Controls.Add(activeBtn); + groupBox3.Controls.Add(KeySecreteTextBox); + groupBox3.Controls.Add(machineTextBox); + groupBox3.Controls.Add(machineCodeLB); + groupBox3.Controls.Add(label6); + groupBox3.Controls.Add(label7); + groupBox3.Location = new Point(24, 502); + groupBox3.Name = "groupBox3"; + groupBox3.Size = new Size(738, 172); + groupBox3.TabIndex = 2; + groupBox3.TabStop = false; + groupBox3.Text = "激活码"; + // + // activeBtn + // + activeBtn.Location = new Point(531, 75); + activeBtn.Name = "activeBtn"; + activeBtn.Size = new Size(128, 49); + activeBtn.TabIndex = 9; + activeBtn.Text = "激活"; + activeBtn.UseVisualStyleBackColor = true; + activeBtn.Click += activeBtn_Click; + // + // KeySecreteTextBox + // + KeySecreteTextBox.Location = new Point(193, 101); + KeySecreteTextBox.Name = "KeySecreteTextBox"; + KeySecreteTextBox.Size = new Size(271, 23); + KeySecreteTextBox.TabIndex = 8; + // + // machineTextBox + // + machineTextBox.Location = new Point(193, 51); + machineTextBox.Name = "machineTextBox"; + machineTextBox.ReadOnly = true; + machineTextBox.Size = new Size(271, 23); + machineTextBox.TabIndex = 7; + // + // machineCodeLB + // + machineCodeLB.AutoSize = true; + machineCodeLB.Location = new Point(163, 51); + machineCodeLB.Name = "machineCodeLB"; + machineCodeLB.Size = new Size(0, 17); + machineCodeLB.TabIndex = 6; + // + // label6 + // + label6.AutoSize = true; + label6.Location = new Point(26, 101); + label6.Name = "label6"; + label6.Size = new Size(44, 17); + label6.TabIndex = 5; + label6.Text = "激活码"; + // + // label7 + // + label7.AutoSize = true; + label7.Location = new Point(26, 51); + label7.Name = "label7"; + label7.Size = new Size(44, 17); + label7.TabIndex = 4; + label7.Text = "机器码"; + // + // Main + // + AutoScaleDimensions = new SizeF(7F, 17F); + AutoScaleMode = AutoScaleMode.Font; + ClientSize = new Size(800, 798); + Controls.Add(groupBox3); + Controls.Add(groupBox2); + Controls.Add(groupBox1); + Name = "Main"; + Text = "EI Image Viewer"; + groupBox1.ResumeLayout(false); + groupBox1.PerformLayout(); + groupBox2.ResumeLayout(false); + groupBox2.PerformLayout(); + groupBox3.ResumeLayout(false); + groupBox3.PerformLayout(); + ResumeLayout(false); + } + + #endregion + + private GroupBox groupBox1; + private Label label3; + private Label label2; + private Label label1; + private TextBox passwordTextBox; + private TextBox usernameTextBox; + private TextBox serverTextBox; + private Button connectButton; + private GroupBox groupBox2; + private TextBox apiPortTBox; + private TextBox nginxPortTBox; + private Label label4; + private Label label5; + private GroupBox groupBox3; + private Button portBtn; + private Label machineCodeLB; + private Label label6; + private Label label7; + private Button activeBtn; + private TextBox KeySecreteTextBox; + private TextBox machineTextBox; + } +} \ No newline at end of file diff --git a/Start/Main.cs b/Start/Main.cs new file mode 100644 index 00000000..a64d6e78 --- /dev/null +++ b/Start/Main.cs @@ -0,0 +1,193 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Data.SqlClient; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Net.NetworkInformation; +using System.Windows.Forms; +using System.Net; +using System.Security.Cryptography; +using Newtonsoft.Json; +using Newtonsoft.Json.Linq; +using System.Diagnostics; + +namespace Start +{ + public partial class Main : Form + { + public Main() + { + InitializeComponent(); + + var physicalAddressList = NetworkInterface.GetAllNetworkInterfaces().Select(t => t.GetPhysicalAddress().ToString()); + + this.machineTextBox.Text = physicalAddressList.FirstOrDefault()?.ToString(); + + this.KeySecreteTextBox.Text = Md5($"{this.machineTextBox.Text}_XINGCANG"); + } + + + int apiPort = 0; + private void connectButton_Click(object sender, EventArgs e) + { + string connectionString = $"Server={serverTextBox.Text};User Id={usernameTextBox.Text};Password={passwordTextBox.Text};"; + SqlConnection connection = new SqlConnection(connectionString); + + try + { + connection.Open(); + MessageBox.Show("连接成功!"); + } + catch (Exception ex) + { + MessageBox.Show($"连接失败:{ex.Message}"); + } + finally + { + connection.Close(); + } + } + + private void portBtn_Click(object sender, EventArgs e) + { + nginxPortTBox.Text.Trim(); + + var nginxPort = 0; + + if (int.TryParse(nginxPortTBox.Text, out nginxPort) == false || int.TryParse(apiPortTBox.Text, out apiPort) == false) + { + MessageBox.Show("请输入合法的端口"); + } + + if (IsPortInUse(nginxPort)) + { + MessageBox.Show("nginx 设置的端口被占用,请选择其他端口"); + } + if (IsPortInUse(apiPort)) + { + MessageBox.Show("服务设置的端口被占用,请选择其他端口"); + } + + } + + private static bool IsPortInUse(int port) + { + IPGlobalProperties ipProperties = IPGlobalProperties.GetIPGlobalProperties(); + IPEndPoint[] tcpEndPoints = ipProperties.GetActiveTcpListeners(); + foreach (IPEndPoint endPoint in tcpEndPoints) + { + if (endPoint.Port == port) + { + return true; + } + } + + return false; + } + + public static string Md5(string target) + { + using (MD5 md5 = MD5.Create()) + { // MD5非线程安全 + byte[] bytes = md5.ComputeHash(Encoding.UTF8.GetBytes(target)); + StringBuilder sb = new StringBuilder(32); + for (int i = 0; i < bytes.Length; ++i) + sb.Append(bytes[i].ToString("x2")); + return sb.ToString(); + } + } + + private void activeBtn_Click(object sender, EventArgs e) + { + + string nginxPath = @"C:\nginx\nginx.exe"; + string workingDirectory = @"C:\nginx"; + string configFile = @"C:\nginx\conf\nginx.conf"; + + ProcessStartInfo psi = new ProcessStartInfo(); + psi.FileName = nginxPath; + psi.WorkingDirectory = workingDirectory; + psi.Arguments = "-c \"" + configFile + "\""; + + Process.Start(psi); + + + var configObj = new + { + Key = this.machineTextBox.Text, + Value = this.KeySecreteTextBox.Text.Trim(), + user = usernameTextBox.Text, + server = serverTextBox.Text, + password = passwordTextBox.Text, + database = string.Empty + }; + + File.WriteAllText($@"C:\ProgramData\.xingcang\config.json", JsonConvert.SerializeObject(configObj)); + + var serviceConfig = File.ReadAllText("ServiceConfig.json"); + + var jObject = JObject.Parse(serviceConfig); + + var binPath = Path.Combine(AppContext.BaseDirectory, jObject["binPath"].ToString().TrimStart('/')); + + var createStr = $@"sc create {jObject["serviceName"].ToString()} binPath= ""{binPath} --urls=""http://127.0.0.1:{apiPort}"" --env CertificateApply"" DisplayName= ""{jObject["serviceDisplayName"].ToString()}"" start= auto"; + + + #region 创建服务 + + Process process = new Process(); + process.StartInfo.FileName = "cmd.exe"; + process.StartInfo.RedirectStandardInput = true; + process.StartInfo.UseShellExecute = false; + process.Start(); + + + //启动nginx + process.StandardInput.WriteLine($"start {Path.Combine(AppContext.BaseDirectory, "nginx-1.4.7/nginx.exe")}" ); + + // 删除已存在的服务 + process.StandardInput.WriteLine($"sc delete {jObject["serviceName"].ToString()}"); + + // 执行 sc create 命令来创建服务 + process.StandardInput.WriteLine(createStr); + + + + process.Exited += (sender, e) => + { + int exitCode = process.ExitCode; + if (exitCode == 0) + { + // 执行成功 + MessageBox.Show("Batch file executed successfully."); + } + else + { + // 执行失败 + MessageBox.Show("Batch file execution failed with error code: " + exitCode); + } + }; + + //执行数据库脚本 + process.StandardInput.WriteLine(Path.Combine(AppContext.BaseDirectory, "sql/bin.bat")); + + + + + + // 关闭进程流并等待进程退出 + process.StandardInput.Flush(); + process.StandardInput.Close(); + process.WaitForExit(); + + + + + #endregion + } + } +} diff --git a/Start/Main.resx b/Start/Main.resx new file mode 100644 index 00000000..f298a7be --- /dev/null +++ b/Start/Main.resx @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/Start/Program.cs b/Start/Program.cs new file mode 100644 index 00000000..b2c8b184 --- /dev/null +++ b/Start/Program.cs @@ -0,0 +1,17 @@ +namespace Start +{ + internal static class Program + { + /// + /// The main entry point for the application. + /// + [STAThread] + static void Main() + { + // To customize application configuration such as set high DPI settings or default font, + // see https://aka.ms/applicationconfiguration. + ApplicationConfiguration.Initialize(); + Application.Run(new Main()); + } + } +} \ No newline at end of file diff --git a/Start/ServiceConfig.Json b/Start/ServiceConfig.Json new file mode 100644 index 00000000..c93bfac6 --- /dev/null +++ b/Start/ServiceConfig.Json @@ -0,0 +1,5 @@ +{ + "serviceName": "CertificateApply.NetCore.Api", + "serviceDisplayName": "CertificateApplyServiceDisplayName", + "binPath": "/IRacIS.NetCore.API/IRacIS.Core.API.exe" +} diff --git a/Start/Start.csproj b/Start/Start.csproj new file mode 100644 index 00000000..aaf1ad42 --- /dev/null +++ b/Start/Start.csproj @@ -0,0 +1,38 @@ + + + + WinExe + net6.0-windows + enable + true + enable + + + + + + + + + + + + Always + + + Always + + + Always + + + Always + + + + + + + + + \ No newline at end of file diff --git a/Start/sql/bin.bat b/Start/sql/bin.bat new file mode 100644 index 00000000..b4cfc745 --- /dev/null +++ b/Start/sql/bin.bat @@ -0,0 +1,2 @@ + SQLCMD -i %~dp0\dbo.sql + SQLCMD -i %~dp0\data.sql diff --git a/Start/sql/data.sql b/Start/sql/data.sql new file mode 100644 index 00000000..9bf0bbee Binary files /dev/null and b/Start/sql/data.sql differ diff --git a/Start/sql/dbo.sql b/Start/sql/dbo.sql new file mode 100644 index 00000000..f05c5ab1 Binary files /dev/null and b/Start/sql/dbo.sql differ diff --git a/WebSetup/WebSetup.vdproj b/WebSetup/WebSetup.vdproj deleted file mode 100644 index b029e060..00000000 --- a/WebSetup/WebSetup.vdproj +++ /dev/null @@ -1,744 +0,0 @@ -"DeployProject" -{ -"VSVersion" = "3:800" -"ProjectType" = "8:{978C614F-708E-4E1A-B201-565925725DBA}" -"IsWebType" = "8:FALSE" -"ProjectName" = "8:WebSetup" -"LanguageId" = "3:2052" -"CodePage" = "3:936" -"UILanguageId" = "3:2052" -"SccProjectName" = "8:" -"SccLocalPath" = "8:" -"SccAuxPath" = "8:" -"SccProvider" = "8:" - "Hierarchy" - { - "Entry" - { - "MsmKey" = "8:_351EAF615EE44E2398114BA4722C0A65" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - } - "Configurations" - { - "Debug" - { - "DisplayName" = "8:Debug" - "IsDebugOnly" = "11:TRUE" - "IsReleaseOnly" = "11:FALSE" - "OutputFilename" = "8:Debug\\WebSetup.msi" - "PackageFilesAs" = "3:2" - "PackageFileSize" = "3:-2147483648" - "CabType" = "3:1" - "Compression" = "3:2" - "SignOutput" = "11:FALSE" - "CertificateFile" = "8:" - "PrivateKeyFile" = "8:" - "TimeStampServer" = "8:" - "InstallerBootstrapper" = "3:2" - } - "Release" - { - "DisplayName" = "8:Release" - "IsDebugOnly" = "11:FALSE" - "IsReleaseOnly" = "11:TRUE" - "OutputFilename" = "8:Release\\WebSetup.msi" - "PackageFilesAs" = "3:2" - "PackageFileSize" = "3:-2147483648" - "CabType" = "3:1" - "Compression" = "3:2" - "SignOutput" = "11:FALSE" - "CertificateFile" = "8:" - "PrivateKeyFile" = "8:" - "TimeStampServer" = "8:" - "InstallerBootstrapper" = "3:2" - "BootstrapperCfg:{63ACBE69-63AA-4F98-B2B6-99F9E24495F2}" - { - "Enabled" = "11:TRUE" - "PromptEnabled" = "11:TRUE" - "PrerequisitesLocation" = "2:1" - "Url" = "8:" - "ComponentsUrl" = "8:" - "Items" - { - "{EDC2488A-8267-493A-A98E-7D9C3B36CDF3}:.NETFramework,Version=v4.7.2" - { - "Name" = "8:Microsoft .NET Framework 4.7.2 (x86 和 x64)" - "ProductCode" = "8:.NETFramework,Version=v4.7.2" - } - "{EDC2488A-8267-493A-A98E-7D9C3B36CDF3}:Microsoft.NetCore.DesktopRuntime.6.0.x64" - { - "Name" = "8:.NET 桌面运行时 6.0.14 (x64)" - "ProductCode" = "8:Microsoft.NetCore.DesktopRuntime.6.0.x64" - } - "{EDC2488A-8267-493A-A98E-7D9C3B36CDF3}:Microsoft.NetCore.DesktopRuntime.6.0.x86" - { - "Name" = "8:.NET 桌面运行时 6.0.14 (x86)" - "ProductCode" = "8:Microsoft.NetCore.DesktopRuntime.6.0.x86" - } - } - } - } - } - "Deployable" - { - "CustomAction" - { - } - "DefaultFeature" - { - "Name" = "8:DefaultFeature" - "Title" = "8:" - "Description" = "8:" - } - "ExternalPersistence" - { - "LaunchCondition" - { - "{A06ECF26-33A3-4562-8140-9B0E340D4F24}:_E41DE0D2D71C491086349BDFCF71DF53" - { - "Name" = "8:.NET Core" - "Message" = "8:[VSDNETCOREMSG]" - "AllowLaterVersions" = "11:FALSE" - "InstallUrl" = "8:https://dotnet.microsoft.com/download/dotnet-core/[NetCoreVerMajorDotMinor]" - "IsNETCore" = "11:TRUE" - "Architecture" = "2:0" - "Runtime" = "2:0" - } - } - } - "File" - { - } - "FileType" - { - } - "Folder" - { - "{3C67513D-01DD-4637-8A68-80971EB9504F}:_24C0535BD26E47A69F6612DF251B76F7" - { - "DefaultLocation" = "8:[ProgramFilesFolder][Manufacturer]\\[ProductName]" - "Name" = "8:#1925" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:TARGETDIR" - "Folders" - { - "{9EF0B969-E518-4E46-987F-47570745A589}:_1BBCDD9544094D4AB1C1B1E91E2E51F8" - { - "Name" = "8:IRaCIS.NetCore.API" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_0F0C5D7A5C5249A49891FF9913B053AC" - "Folders" - { - } - } - } - } - "{1525181F-901A-416C-8A58-119130FE478E}:_6BE4F295443E45DF97053612BCAEED09" - { - "Name" = "8:#1916" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:DesktopFolder" - "Folders" - { - } - } - "{1525181F-901A-416C-8A58-119130FE478E}:_B74FC10B16494E54A9D649410F1D315F" - { - "Name" = "8:#1919" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:ProgramMenuFolder" - "Folders" - { - } - } - } - "LaunchCondition" - { - } - "Locator" - { - } - "MsiBootstrapper" - { - "LangId" = "3:2052" - "RequiresElevation" = "11:FALSE" - } - "Product" - { - "Name" = "8:Microsoft Visual Studio" - "ProductName" = "8:WebSetup" - "ProductCode" = "8:{2D5B3EA2-7252-4DC8-805E-2106268C47D2}" - "PackageCode" = "8:{E6BAB6CD-790B-4C2B-9D92-7429B70DED57}" - "UpgradeCode" = "8:{F385D445-47D2-46BF-8AC4-C2BCA62232A5}" - "AspNetVersion" = "8:4.0.30319.0" - "RestartWWWService" = "11:FALSE" - "RemovePreviousVersions" = "11:FALSE" - "DetectNewerInstalledVersion" = "11:TRUE" - "InstallAllUsers" = "11:FALSE" - "ProductVersion" = "8:1.0.0" - "Manufacturer" = "8:微软中国" - "ARPHELPTELEPHONE" = "8:" - "ARPHELPLINK" = "8:" - "Title" = "8:WebSetup" - "Subject" = "8:" - "ARPCONTACT" = "8:微软中国" - "Keywords" = "8:" - "ARPCOMMENTS" = "8:" - "ARPURLINFOABOUT" = "8:" - "ARPPRODUCTICON" = "8:" - "ARPIconIndex" = "3:0" - "SearchPath" = "8:" - "UseSystemSearchPath" = "11:TRUE" - "TargetPlatform" = "3:0" - "PreBuildEvent" = "8:" - "PostBuildEvent" = "8:" - "RunPostBuildEvent" = "3:0" - } - "Registry" - { - "HKLM" - { - "Keys" - { - "{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_D59CC78C9C614611A824D6985E091CEA" - { - "Name" = "8:Software" - "Condition" = "8:" - "AlwaysCreate" = "11:FALSE" - "DeleteAtUninstall" = "11:FALSE" - "Transitive" = "11:FALSE" - "Keys" - { - "{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_4ED4DFCE51F04BD2B22A381EF57F828F" - { - "Name" = "8:[Manufacturer]" - "Condition" = "8:" - "AlwaysCreate" = "11:FALSE" - "DeleteAtUninstall" = "11:FALSE" - "Transitive" = "11:FALSE" - "Keys" - { - } - "Values" - { - } - } - } - "Values" - { - } - } - } - } - "HKCU" - { - "Keys" - { - "{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_F20E8BD7615F476CBFAF0477B9515143" - { - "Name" = "8:Software" - "Condition" = "8:" - "AlwaysCreate" = "11:FALSE" - "DeleteAtUninstall" = "11:FALSE" - "Transitive" = "11:FALSE" - "Keys" - { - "{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_E2C35C3B33FE440F8385D80CC8170E81" - { - "Name" = "8:[Manufacturer]" - "Condition" = "8:" - "AlwaysCreate" = "11:FALSE" - "DeleteAtUninstall" = "11:FALSE" - "Transitive" = "11:FALSE" - "Keys" - { - } - "Values" - { - } - } - } - "Values" - { - } - } - } - } - "HKCR" - { - "Keys" - { - } - } - "HKU" - { - "Keys" - { - } - } - "HKPU" - { - "Keys" - { - } - } - } - "Sequences" - { - } - "Shortcut" - { - "{970C0BB2-C7D0-45D7-ABFA-7EC378858BC0}:_4E04FAA18BD94A9F9AEA25AE32433E43" - { - "Name" = "8:IRaCISWebSite" - "Arguments" = "8:" - "Description" = "8:" - "ShowCmd" = "3:1" - "IconIndex" = "3:0" - "Transitive" = "11:FALSE" - "Target" = "8:_351EAF615EE44E2398114BA4722C0A65" - "Folder" = "8:_6BE4F295443E45DF97053612BCAEED09" - "WorkingFolder" = "8:_1BBCDD9544094D4AB1C1B1E91E2E51F8" - "Icon" = "8:" - "Feature" = "8:" - } - } - "UserInterface" - { - "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_19BFC905078D404B99E9CF18634E1F7E" - { - "Name" = "8:#1900" - "Sequence" = "3:2" - "Attributes" = "3:1" - "Dialogs" - { - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_67E1808A57694C94A253412AC30D5AFF" - { - "Sequence" = "3:100" - "DisplayName" = "8:欢迎使用" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdAdminWelcomeDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - "CopyrightWarning" - { - "Name" = "8:CopyrightWarning" - "DisplayName" = "8:#1002" - "Description" = "8:#1102" - "Type" = "3:3" - "ContextData" = "8:" - "Attributes" = "3:0" - "Setting" = "3:1" - "Value" = "8:#1202" - "DefaultValue" = "8:#1202" - "UsePlugInResources" = "11:TRUE" - } - "Welcome" - { - "Name" = "8:Welcome" - "DisplayName" = "8:#1003" - "Description" = "8:#1103" - "Type" = "3:3" - "ContextData" = "8:" - "Attributes" = "3:0" - "Setting" = "3:1" - "Value" = "8:#1203" - "DefaultValue" = "8:#1203" - "UsePlugInResources" = "11:TRUE" - } - } - } - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_C1429054363A4C3681915A532521C7F3" - { - "Sequence" = "3:200" - "DisplayName" = "8:安装文件夹" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdAdminFolderDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - } - } - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_FD449D09035D498C9914A4995F12B984" - { - "Sequence" = "3:300" - "DisplayName" = "8:确认安装" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdAdminConfirmDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - } - } - } - } - "{2479F3F5-0309-486D-8047-8187E2CE5BA0}:_1B68810D365C4D0D8B1F09EF13BEA593" - { - "UseDynamicProperties" = "11:FALSE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdBasicDialogs.wim" - } - "{2479F3F5-0309-486D-8047-8187E2CE5BA0}:_1C8E469496994762A56C420ADE7B6F86" - { - "UseDynamicProperties" = "11:FALSE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdUserInterface.wim" - } - "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_4213E4466325478D8D2C1DA0FDC7B487" - { - "Name" = "8:#1902" - "Sequence" = "3:1" - "Attributes" = "3:3" - "Dialogs" - { - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_E7A722F1F2D84EF79DC45F127609A0C5" - { - "Sequence" = "3:100" - "DisplayName" = "8:已完成" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdFinishedDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - "UpdateText" - { - "Name" = "8:UpdateText" - "DisplayName" = "8:#1058" - "Description" = "8:#1158" - "Type" = "3:15" - "ContextData" = "8:" - "Attributes" = "3:0" - "Setting" = "3:1" - "Value" = "8:#1258" - "DefaultValue" = "8:#1258" - "UsePlugInResources" = "11:TRUE" - } - } - } - } - } - "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_54417DB2A27C44E79A52CFE46ED0DE2F" - { - "Name" = "8:#1901" - "Sequence" = "3:1" - "Attributes" = "3:2" - "Dialogs" - { - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_DC2668120D7349419D24A7A182929FA8" - { - "Sequence" = "3:100" - "DisplayName" = "8:进度" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdProgressDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - "ShowProgress" - { - "Name" = "8:ShowProgress" - "DisplayName" = "8:#1009" - "Description" = "8:#1109" - "Type" = "3:5" - "ContextData" = "8:1;True=1;False=0" - "Attributes" = "3:0" - "Setting" = "3:0" - "Value" = "3:1" - "DefaultValue" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - } - } - } - } - "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_7050C140224E4394ABD171651E7EAD81" - { - "Name" = "8:#1901" - "Sequence" = "3:2" - "Attributes" = "3:2" - "Dialogs" - { - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_B96A7D30998B479E8FC418E2899CBA9A" - { - "Sequence" = "3:100" - "DisplayName" = "8:进度" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdAdminProgressDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - "ShowProgress" - { - "Name" = "8:ShowProgress" - "DisplayName" = "8:#1009" - "Description" = "8:#1109" - "Type" = "3:5" - "ContextData" = "8:1;True=1;False=0" - "Attributes" = "3:0" - "Setting" = "3:0" - "Value" = "3:1" - "DefaultValue" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - } - } - } - } - "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_BE59CEC1C31642FE94EBFDD118955CC4" - { - "Name" = "8:#1902" - "Sequence" = "3:2" - "Attributes" = "3:3" - "Dialogs" - { - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_C9F4BA21873F4A6DB105B2F740482256" - { - "Sequence" = "3:100" - "DisplayName" = "8:已完成" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdAdminFinishedDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - } - } - } - } - "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_FDC5FC73F2C841389F4FF68BA3F70E01" - { - "Name" = "8:#1900" - "Sequence" = "3:1" - "Attributes" = "3:1" - "Dialogs" - { - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_816DF6A38B194A849CD8399A0B013799" - { - "Sequence" = "3:200" - "DisplayName" = "8:安装文件夹" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdFolderDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - "InstallAllUsersVisible" - { - "Name" = "8:InstallAllUsersVisible" - "DisplayName" = "8:#1059" - "Description" = "8:#1159" - "Type" = "3:5" - "ContextData" = "8:1;True=1;False=0" - "Attributes" = "3:0" - "Setting" = "3:0" - "Value" = "3:1" - "DefaultValue" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - } - } - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_B9E5976A0D0A42E8B1462819F278C320" - { - "Sequence" = "3:100" - "DisplayName" = "8:欢迎使用" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdWelcomeDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - "CopyrightWarning" - { - "Name" = "8:CopyrightWarning" - "DisplayName" = "8:#1002" - "Description" = "8:#1102" - "Type" = "3:3" - "ContextData" = "8:" - "Attributes" = "3:0" - "Setting" = "3:1" - "Value" = "8:#1202" - "DefaultValue" = "8:#1202" - "UsePlugInResources" = "11:TRUE" - } - "Welcome" - { - "Name" = "8:Welcome" - "DisplayName" = "8:#1003" - "Description" = "8:#1103" - "Type" = "3:3" - "ContextData" = "8:" - "Attributes" = "3:0" - "Setting" = "3:1" - "Value" = "8:#1203" - "DefaultValue" = "8:#1203" - "UsePlugInResources" = "11:TRUE" - } - } - } - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_D3D06274F0E54D3BB820E41933A13E0C" - { - "Sequence" = "3:300" - "DisplayName" = "8:确认安装" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdConfirmDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - } - } - } - } - } - "MergeModule" - { - } - "ProjectOutput" - { - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_351EAF615EE44E2398114BA4722C0A65" - { - "SourcePath" = "8:..\\IRaCIS.Core.API\\obj\\Debug\\net6.0\\apphost.exe" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_1BBCDD9544094D4AB1C1B1E91E2E51F8" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:PublishItems" - "OutputProjectGuid" = "8:{F15CE209-6039-46A6-AE7F-E81ADA795F28}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - } - } -} diff --git a/WebSetupTest/WebSetupTest.vdproj b/WebSetupTest/WebSetupTest.vdproj deleted file mode 100644 index 281eb74f..00000000 --- a/WebSetupTest/WebSetupTest.vdproj +++ /dev/null @@ -1,648 +0,0 @@ -"DeployProject" -{ -"VSVersion" = "3:800" -"ProjectType" = "8:{978C614F-708E-4E1A-B201-565925725DBA}" -"IsWebType" = "8:TRUE" -"ProjectName" = "8:WebSetupTest" -"LanguageId" = "3:2052" -"CodePage" = "3:936" -"UILanguageId" = "3:2052" -"SccProjectName" = "8:" -"SccLocalPath" = "8:" -"SccAuxPath" = "8:" -"SccProvider" = "8:" - "Hierarchy" - { - "Entry" - { - "MsmKey" = "8:_CE11F0512A5F4D5B9A58253B06628FB5" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - } - "Configurations" - { - "Debug" - { - "DisplayName" = "8:Debug" - "IsDebugOnly" = "11:TRUE" - "IsReleaseOnly" = "11:FALSE" - "OutputFilename" = "8:Debug\\WebSetupTest.msi" - "PackageFilesAs" = "3:2" - "PackageFileSize" = "3:-2147483648" - "CabType" = "3:1" - "Compression" = "3:2" - "SignOutput" = "11:FALSE" - "CertificateFile" = "8:" - "PrivateKeyFile" = "8:" - "TimeStampServer" = "8:" - "InstallerBootstrapper" = "3:2" - } - "Release" - { - "DisplayName" = "8:Release" - "IsDebugOnly" = "11:FALSE" - "IsReleaseOnly" = "11:TRUE" - "OutputFilename" = "8:Release\\WebSetupTest.msi" - "PackageFilesAs" = "3:2" - "PackageFileSize" = "3:-2147483648" - "CabType" = "3:1" - "Compression" = "3:2" - "SignOutput" = "11:FALSE" - "CertificateFile" = "8:" - "PrivateKeyFile" = "8:" - "TimeStampServer" = "8:" - "InstallerBootstrapper" = "3:2" - } - } - "Deployable" - { - "CustomAction" - { - } - "DefaultFeature" - { - "Name" = "8:DefaultFeature" - "Title" = "8:" - "Description" = "8:" - } - "ExternalPersistence" - { - "LaunchCondition" - { - "{A06ECF26-33A3-4562-8140-9B0E340D4F24}:_657011AAB33349FB95B9501C7E9A7D3E" - { - "Name" = "8:.NET Core" - "Message" = "8:[VSDNETCOREMSG]" - "AllowLaterVersions" = "11:FALSE" - "InstallUrl" = "8:https://dotnet.microsoft.com/download/dotnet-core/[NetCoreVerMajorDotMinor]" - "IsNETCore" = "11:TRUE" - "Architecture" = "2:0" - "Runtime" = "2:0" - } - } - } - "File" - { - } - "FileType" - { - } - "Folder" - { - "{80453C8E-1031-40EC-8E7A-9762B297303A}:_E6694345200F46C3934F95B153ACD9EE" - { - "VirtualDirectory" = "8:WebSetupTest" - "Port" = "3:80" - "IsApplication" = "11:TRUE" - "AllowScriptSourceAccess" = "11:FALSE" - "AllowReadAccess" = "11:TRUE" - "AllowWriteAccess" = "11:FALSE" - "AllowDirectoryBrowse" = "11:FALSE" - "LogVisits" = "11:TRUE" - "Index" = "11:TRUE" - "ExecutePermissions" = "3:2" - "DefaultDocument" = "8:default.aspx" - "ApplicationProtection" = "3:2" - "ApplicationMappings" - { - } - "Name" = "8:#1926" - "AlwaysCreate" = "11:TRUE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:TARGETDIR" - "Folders" - { - "{4C6F2762-250E-4E7D-82DC-65B304135C98}:_AFF5E232AEB7449BA027153FF265898E" - { - "AllowScriptSourceAccess" = "11:FALSE" - "AllowReadAccess" = "11:FALSE" - "AllowWriteAccess" = "11:FALSE" - "AllowDirectoryBrowse" = "11:FALSE" - "LogVisits" = "11:TRUE" - "Index" = "11:TRUE" - "ExecutePermissions" = "3:2" - "Name" = "8:IRaCIS.NetCore.API" - "AlwaysCreate" = "11:TRUE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_6316919920D843F8A4D1DB91F85895B9" - "Folders" - { - } - } - } - } - } - "LaunchCondition" - { - } - "Locator" - { - } - "MsiBootstrapper" - { - "LangId" = "3:2052" - "RequiresElevation" = "11:TRUE" - } - "Product" - { - "Name" = "8:Microsoft Visual Studio" - "ProductName" = "8:WebSetupTest" - "ProductCode" = "8:{70157C1A-D68D-46D1-AEF5-F6E1BC6CD2C6}" - "PackageCode" = "8:{4AB4B4EF-8E7D-44D0-9D77-620D37C008D3}" - "UpgradeCode" = "8:{DD98CE56-303F-4473-B401-7E7BFB7701D8}" - "AspNetVersion" = "8:4.0.30319.0" - "RestartWWWService" = "11:FALSE" - "RemovePreviousVersions" = "11:FALSE" - "DetectNewerInstalledVersion" = "11:TRUE" - "InstallAllUsers" = "11:FALSE" - "ProductVersion" = "8:1.0.0" - "Manufacturer" = "8:微软中国" - "ARPHELPTELEPHONE" = "8:" - "ARPHELPLINK" = "8:" - "Title" = "8:WebSetupTest" - "Subject" = "8:" - "ARPCONTACT" = "8:微软中国" - "Keywords" = "8:" - "ARPCOMMENTS" = "8:" - "ARPURLINFOABOUT" = "8:" - "ARPPRODUCTICON" = "8:" - "ARPIconIndex" = "3:0" - "SearchPath" = "8:" - "UseSystemSearchPath" = "11:TRUE" - "TargetPlatform" = "3:0" - "PreBuildEvent" = "8:" - "PostBuildEvent" = "8:" - "RunPostBuildEvent" = "3:0" - } - "Registry" - { - "HKLM" - { - "Keys" - { - } - } - "HKCU" - { - "Keys" - { - } - } - "HKCR" - { - "Keys" - { - } - } - "HKU" - { - "Keys" - { - } - } - "HKPU" - { - "Keys" - { - } - } - } - "Sequences" - { - } - "Shortcut" - { - "{970C0BB2-C7D0-45D7-ABFA-7EC378858BC0}:_4C1BEC0DA0414002AEBFE5F34BE00E94" - { - "Name" = "8:IRaCISWebSite" - "Arguments" = "8:" - "Description" = "8:" - "ShowCmd" = "3:1" - "IconIndex" = "3:0" - "Transitive" = "11:FALSE" - "Target" = "8:_CE11F0512A5F4D5B9A58253B06628FB5" - "Folder" = "8:_AFF5E232AEB7449BA027153FF265898E" - "WorkingFolder" = "8:_AFF5E232AEB7449BA027153FF265898E" - "Icon" = "8:" - "Feature" = "8:" - } - } - "UserInterface" - { - "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_4A18158A2A07453C8AB7C11C3D78A69A" - { - "Name" = "8:#1901" - "Sequence" = "3:2" - "Attributes" = "3:2" - "Dialogs" - { - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_CF2EC37F3331489DA6B65443EE5B9447" - { - "Sequence" = "3:100" - "DisplayName" = "8:进度" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdAdminProgressDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - "ShowProgress" - { - "Name" = "8:ShowProgress" - "DisplayName" = "8:#1009" - "Description" = "8:#1109" - "Type" = "3:5" - "ContextData" = "8:1;True=1;False=0" - "Attributes" = "3:0" - "Setting" = "3:0" - "Value" = "3:1" - "DefaultValue" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - } - } - } - } - "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_54A42E10CE6D47168D973C452EFC887B" - { - "Name" = "8:#1900" - "Sequence" = "3:2" - "Attributes" = "3:1" - "Dialogs" - { - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_52CFAA5C41F045F8AB998463B1AF9F90" - { - "Sequence" = "3:200" - "DisplayName" = "8:安装地址" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdAdminWebFolderDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - } - } - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_7D8ED27F9EC94A769EBDE89B016E42C5" - { - "Sequence" = "3:300" - "DisplayName" = "8:确认安装" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdAdminConfirmDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - } - } - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_FD3006FB720B43F492B58B4B3D6A9FC0" - { - "Sequence" = "3:100" - "DisplayName" = "8:欢迎使用" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdAdminWelcomeDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - "CopyrightWarning" - { - "Name" = "8:CopyrightWarning" - "DisplayName" = "8:#1002" - "Description" = "8:#1102" - "Type" = "3:3" - "ContextData" = "8:" - "Attributes" = "3:0" - "Setting" = "3:1" - "Value" = "8:#1202" - "DefaultValue" = "8:#1202" - "UsePlugInResources" = "11:TRUE" - } - "Welcome" - { - "Name" = "8:Welcome" - "DisplayName" = "8:#1003" - "Description" = "8:#1103" - "Type" = "3:3" - "ContextData" = "8:" - "Attributes" = "3:0" - "Setting" = "3:1" - "Value" = "8:#1203" - "DefaultValue" = "8:#1203" - "UsePlugInResources" = "11:TRUE" - } - } - } - } - } - "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_5670A9E09D434CBE9BACB86B82CFF203" - { - "Name" = "8:#1902" - "Sequence" = "3:1" - "Attributes" = "3:3" - "Dialogs" - { - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_4A2F95C332424A579A58AF5C7D820EEF" - { - "Sequence" = "3:100" - "DisplayName" = "8:已完成" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdFinishedDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - "UpdateText" - { - "Name" = "8:UpdateText" - "DisplayName" = "8:#1058" - "Description" = "8:#1158" - "Type" = "3:15" - "ContextData" = "8:" - "Attributes" = "3:0" - "Setting" = "3:1" - "Value" = "8:#1258" - "DefaultValue" = "8:#1258" - "UsePlugInResources" = "11:TRUE" - } - } - } - } - } - "{2479F3F5-0309-486D-8047-8187E2CE5BA0}:_5C0438F7CA884330A34771B1967F5AD7" - { - "UseDynamicProperties" = "11:FALSE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdUserInterface.wim" - } - "{2479F3F5-0309-486D-8047-8187E2CE5BA0}:_695C74A41DA14E46BAC373FF86DE8CE1" - { - "UseDynamicProperties" = "11:FALSE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdBasicDialogs.wim" - } - "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_69EF01178409445FAFCDBDC8E2E45ACD" - { - "Name" = "8:#1901" - "Sequence" = "3:1" - "Attributes" = "3:2" - "Dialogs" - { - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_ADB75B14D8CA401B8E26940E8BAFD99B" - { - "Sequence" = "3:100" - "DisplayName" = "8:进度" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdProgressDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - "ShowProgress" - { - "Name" = "8:ShowProgress" - "DisplayName" = "8:#1009" - "Description" = "8:#1109" - "Type" = "3:5" - "ContextData" = "8:1;True=1;False=0" - "Attributes" = "3:0" - "Setting" = "3:0" - "Value" = "3:1" - "DefaultValue" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - } - } - } - } - "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_88231779133245C2A8F3DEE00F8287CA" - { - "Name" = "8:#1902" - "Sequence" = "3:2" - "Attributes" = "3:3" - "Dialogs" - { - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_008DEF9DF3AE4A0D94DB34E9E6D3F3B4" - { - "Sequence" = "3:100" - "DisplayName" = "8:已完成" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdAdminFinishedDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - } - } - } - } - "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_CD6EF9FAB4F34B6ABF358FC35191D3A6" - { - "Name" = "8:#1900" - "Sequence" = "3:1" - "Attributes" = "3:1" - "Dialogs" - { - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_6D36E6CA79DD4749AC0BC84C138622B9" - { - "Sequence" = "3:200" - "DisplayName" = "8:安装地址" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdWebFolderDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - } - } - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_791BD43DD7FE408CB17B0295A6E5330D" - { - "Sequence" = "3:300" - "DisplayName" = "8:确认安装" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdConfirmDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - } - } - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_9DA050F7829C4BB98AB48EA810CD8DCC" - { - "Sequence" = "3:100" - "DisplayName" = "8:欢迎使用" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdWelcomeDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - "CopyrightWarning" - { - "Name" = "8:CopyrightWarning" - "DisplayName" = "8:#1002" - "Description" = "8:#1102" - "Type" = "3:3" - "ContextData" = "8:" - "Attributes" = "3:0" - "Setting" = "3:1" - "Value" = "8:#1202" - "DefaultValue" = "8:#1202" - "UsePlugInResources" = "11:TRUE" - } - "Welcome" - { - "Name" = "8:Welcome" - "DisplayName" = "8:#1003" - "Description" = "8:#1103" - "Type" = "3:3" - "ContextData" = "8:" - "Attributes" = "3:0" - "Setting" = "3:1" - "Value" = "8:#1203" - "DefaultValue" = "8:#1203" - "UsePlugInResources" = "11:TRUE" - } - } - } - } - } - } - "MergeModule" - { - } - "ProjectOutput" - { - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_CE11F0512A5F4D5B9A58253B06628FB5" - { - "SourcePath" = "8:..\\IRaCIS.Core.API\\obj\\Release\\net6.0\\apphost.exe" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_AFF5E232AEB7449BA027153FF265898E" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:PublishItems" - "OutputProjectGuid" = "8:{F15CE209-6039-46A6-AE7F-E81ADA795F28}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - } - } -}