Installer works with new CefSharp

This commit is contained in:
Christian Wade 2024-08-02 00:01:58 -07:00
Родитель 6c8037ae8c
Коммит a0253efc06
6 изменённых файлов: 6757 добавлений и 5661 удалений

Просмотреть файл

@ -14,10 +14,10 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
EndProject EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BismNormalizer.CommandLine", "BismNormalizer.CommandLine\BismNormalizer.CommandLine.csproj", "{4C77E665-FA37-4793-8950-69AABD3DC626}" Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BismNormalizer.CommandLine", "BismNormalizer.CommandLine\BismNormalizer.CommandLine.csproj", "{4C77E665-FA37-4793-8950-69AABD3DC626}"
EndProject EndProject
Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "AlmToolkitSetup", "AlmToolkitSetup\AlmToolkitSetup.vdproj", "{DB850BC4-7490-4999-8761-CA8D4B92F98F}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BismNormalizer.Tests", "BismNormalizer.Tests\BismNormalizer.Tests.csproj", "{3AE5D06F-A054-4AD1-83A9-9F0B8B1FC0B4}" Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BismNormalizer.Tests", "BismNormalizer.Tests\BismNormalizer.Tests.csproj", "{3AE5D06F-A054-4AD1-83A9-9F0B8B1FC0B4}"
EndProject EndProject
Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "AlmToolkitSetup", "AlmToolkitSetup\AlmToolkitSetup.vdproj", "{38E39667-CAAD-43A5-9A03-F50CFD2505E0}"
EndProject
Global Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU Debug|Any CPU = Debug|Any CPU
@ -31,7 +31,6 @@ Global
{765C0612-BB8F-4261-87AE-B5B842BE3C26}.Debug|x64.ActiveCfg = Debug|x64 {765C0612-BB8F-4261-87AE-B5B842BE3C26}.Debug|x64.ActiveCfg = Debug|x64
{765C0612-BB8F-4261-87AE-B5B842BE3C26}.Debug|x64.Build.0 = Debug|x64 {765C0612-BB8F-4261-87AE-B5B842BE3C26}.Debug|x64.Build.0 = Debug|x64
{765C0612-BB8F-4261-87AE-B5B842BE3C26}.Release|Any CPU.ActiveCfg = Release|Any CPU {765C0612-BB8F-4261-87AE-B5B842BE3C26}.Release|Any CPU.ActiveCfg = Release|Any CPU
{765C0612-BB8F-4261-87AE-B5B842BE3C26}.Release|Any CPU.Build.0 = Release|Any CPU
{765C0612-BB8F-4261-87AE-B5B842BE3C26}.Release|x64.ActiveCfg = Release|x64 {765C0612-BB8F-4261-87AE-B5B842BE3C26}.Release|x64.ActiveCfg = Release|x64
{765C0612-BB8F-4261-87AE-B5B842BE3C26}.Release|x64.Build.0 = Release|x64 {765C0612-BB8F-4261-87AE-B5B842BE3C26}.Release|x64.Build.0 = Release|x64
{8E68FB9B-73DF-4BC3-9C56-760C87078D13}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {8E68FB9B-73DF-4BC3-9C56-760C87078D13}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
@ -39,7 +38,6 @@ Global
{8E68FB9B-73DF-4BC3-9C56-760C87078D13}.Debug|x64.ActiveCfg = Debug|Any CPU {8E68FB9B-73DF-4BC3-9C56-760C87078D13}.Debug|x64.ActiveCfg = Debug|Any CPU
{8E68FB9B-73DF-4BC3-9C56-760C87078D13}.Debug|x64.Build.0 = Debug|Any CPU {8E68FB9B-73DF-4BC3-9C56-760C87078D13}.Debug|x64.Build.0 = Debug|Any CPU
{8E68FB9B-73DF-4BC3-9C56-760C87078D13}.Release|Any CPU.ActiveCfg = Release|Any CPU {8E68FB9B-73DF-4BC3-9C56-760C87078D13}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8E68FB9B-73DF-4BC3-9C56-760C87078D13}.Release|Any CPU.Build.0 = Release|Any CPU
{8E68FB9B-73DF-4BC3-9C56-760C87078D13}.Release|x64.ActiveCfg = Release|Any CPU {8E68FB9B-73DF-4BC3-9C56-760C87078D13}.Release|x64.ActiveCfg = Release|Any CPU
{8E68FB9B-73DF-4BC3-9C56-760C87078D13}.Release|x64.Build.0 = Release|Any CPU {8E68FB9B-73DF-4BC3-9C56-760C87078D13}.Release|x64.Build.0 = Release|Any CPU
{4C77E665-FA37-4793-8950-69AABD3DC626}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {4C77E665-FA37-4793-8950-69AABD3DC626}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
@ -47,19 +45,22 @@ Global
{4C77E665-FA37-4793-8950-69AABD3DC626}.Debug|x64.ActiveCfg = Debug|Any CPU {4C77E665-FA37-4793-8950-69AABD3DC626}.Debug|x64.ActiveCfg = Debug|Any CPU
{4C77E665-FA37-4793-8950-69AABD3DC626}.Debug|x64.Build.0 = Debug|Any CPU {4C77E665-FA37-4793-8950-69AABD3DC626}.Debug|x64.Build.0 = Debug|Any CPU
{4C77E665-FA37-4793-8950-69AABD3DC626}.Release|Any CPU.ActiveCfg = Release|Any CPU {4C77E665-FA37-4793-8950-69AABD3DC626}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4C77E665-FA37-4793-8950-69AABD3DC626}.Release|Any CPU.Build.0 = Release|Any CPU
{4C77E665-FA37-4793-8950-69AABD3DC626}.Release|x64.ActiveCfg = Release|Any CPU {4C77E665-FA37-4793-8950-69AABD3DC626}.Release|x64.ActiveCfg = Release|Any CPU
{4C77E665-FA37-4793-8950-69AABD3DC626}.Release|x64.Build.0 = Release|Any CPU {4C77E665-FA37-4793-8950-69AABD3DC626}.Release|x64.Build.0 = Release|Any CPU
{DB850BC4-7490-4999-8761-CA8D4B92F98F}.Debug|Any CPU.ActiveCfg = Debug
{DB850BC4-7490-4999-8761-CA8D4B92F98F}.Debug|x64.ActiveCfg = Debug
{DB850BC4-7490-4999-8761-CA8D4B92F98F}.Release|Any CPU.ActiveCfg = Release
{DB850BC4-7490-4999-8761-CA8D4B92F98F}.Release|x64.ActiveCfg = Release
{3AE5D06F-A054-4AD1-83A9-9F0B8B1FC0B4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {3AE5D06F-A054-4AD1-83A9-9F0B8B1FC0B4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{3AE5D06F-A054-4AD1-83A9-9F0B8B1FC0B4}.Debug|x64.ActiveCfg = Debug|Any CPU {3AE5D06F-A054-4AD1-83A9-9F0B8B1FC0B4}.Debug|x64.ActiveCfg = Debug|Any CPU
{3AE5D06F-A054-4AD1-83A9-9F0B8B1FC0B4}.Debug|x64.Build.0 = Debug|Any CPU {3AE5D06F-A054-4AD1-83A9-9F0B8B1FC0B4}.Debug|x64.Build.0 = Debug|Any CPU
{3AE5D06F-A054-4AD1-83A9-9F0B8B1FC0B4}.Release|Any CPU.ActiveCfg = Release|Any CPU {3AE5D06F-A054-4AD1-83A9-9F0B8B1FC0B4}.Release|Any CPU.ActiveCfg = Release|Any CPU
{3AE5D06F-A054-4AD1-83A9-9F0B8B1FC0B4}.Release|x64.ActiveCfg = Release|Any CPU {3AE5D06F-A054-4AD1-83A9-9F0B8B1FC0B4}.Release|x64.ActiveCfg = Release|Any CPU
{3AE5D06F-A054-4AD1-83A9-9F0B8B1FC0B4}.Release|x64.Build.0 = Release|Any CPU {3AE5D06F-A054-4AD1-83A9-9F0B8B1FC0B4}.Release|x64.Build.0 = Release|Any CPU
{38E39667-CAAD-43A5-9A03-F50CFD2505E0}.Debug|Any CPU.ActiveCfg = Debug
{38E39667-CAAD-43A5-9A03-F50CFD2505E0}.Debug|Any CPU.Build.0 = Debug
{38E39667-CAAD-43A5-9A03-F50CFD2505E0}.Debug|x64.ActiveCfg = Debug
{38E39667-CAAD-43A5-9A03-F50CFD2505E0}.Debug|x64.Build.0 = Debug
{38E39667-CAAD-43A5-9A03-F50CFD2505E0}.Release|Any CPU.ActiveCfg = Release
{38E39667-CAAD-43A5-9A03-F50CFD2505E0}.Release|Any CPU.Build.0 = Release
{38E39667-CAAD-43A5-9A03-F50CFD2505E0}.Release|x64.ActiveCfg = Release
{38E39667-CAAD-43A5-9A03-F50CFD2505E0}.Release|x64.Build.0 = Release
EndGlobalSection EndGlobalSection
GlobalSection(SolutionProperties) = preSolution GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE HideSolutionNode = FALSE

Просмотреть файл

@ -193,10 +193,10 @@
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Content Include="BismNorm.ico" /> <Content Include="BismNorm.ico" />
<Content Include="html-resources\dist\**\*.*"> <Content Include="html-resources\dist\**\*.*">
<CopyToOutputDirectory>Always</CopyToOutputDirectory> <CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content> </Content>
<Content Include="html-resources\karma.conf.js" /> <Content Include="html-resources\karma.conf.js" />
<Content Include="html-resources\protractor.conf.js" /> <Content Include="html-resources\protractor.conf.js" />
<Content Include="html-resources\src\app\app.component.css" /> <Content Include="html-resources\src\app\app.component.css" />
<Content Include="html-resources\src\app\app.component.html" /> <Content Include="html-resources\src\app\app.component.html" />

Просмотреть файл

@ -22,6 +22,9 @@ namespace AlmToolkit
[STAThread] [STAThread]
static void Main(string[] args) static void Main(string[] args)
{ {
//Set current directory for CefSharp references
Directory.SetCurrentDirectory(Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location));
// Set DPI awareness context to unaware to prevent CefSharp from managing DPI scaling // Set DPI awareness context to unaware to prevent CefSharp from managing DPI scaling
var dpiUnaware = SetProcessDpiAwarenessContext(DPI_AWARENESS_CONTEXT_UNAWARE); var dpiUnaware = SetProcessDpiAwarenessContext(DPI_AWARENESS_CONTEXT_UNAWARE);
if (!dpiUnaware) if (!dpiUnaware)

Просмотреть файл

@ -1,4 +1,8 @@
* Run as Admin HAD TO REMOVE CefSharp.Core.Runtime.dll FROM INSTALLATION FOLDER IN SETUP PROJECT (select>properties>Include=false)
=================
* Run as Admin
* In the Solution > VersionInfo.cs file: * In the Solution > VersionInfo.cs file:
Increment AssemblyVersion & AssemblyFileVersion Increment AssemblyVersion & AssemblyFileVersion
@ -8,6 +12,8 @@
* Set configuration to Release * Set configuration to Release
Rebuild Solution Rebuild Solution
----todo delete?
* Open a cmd prompt from the AlmToolkit project root and run the following command * Open a cmd prompt from the AlmToolkit project root and run the following command
ReleaseItems\GetAssembliesForSigning.bat ReleaseItems\GetAssembliesForSigning.bat
@ -25,6 +31,8 @@
* Run the following command * Run the following command
ReleaseItems\CopySignedAssembliesForSetup.bat ReleaseItems\CopySignedAssembliesForSetup.bat
----todo end delete?
* In Configuration Manager: * In Configuration Manager:
AlmToolkit - AlmToolkit -
AlmToolkitSetup X AlmToolkitSetup X
@ -43,6 +51,8 @@
* Set configurtaion back to Debug * Set configurtaion back to Debug
----todo delete?
* Run the following command * Run the following command
ReleaseItems\GetMsiForSigning.bat ReleaseItems\GetMsiForSigning.bat
@ -50,6 +60,8 @@
* Download signed MSI to \ReleaseItems\SignedFiles * Download signed MSI to \ReleaseItems\SignedFiles
----todo end delete?
* Install and test locally * Install and test locally
* Deploy AlmToolkitSetup.msi github at https://github.com/microsoft/Analysis-Services/releases * Deploy AlmToolkitSetup.msi github at https://github.com/microsoft/Analysis-Services/releases

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -10,5 +10,5 @@
// You can specify all the values or you can default the Build and Revision Numbers // You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below: // by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")] // [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("5.0.69.0")] [assembly: AssemblyVersion("5.1.1.0")]
[assembly: AssemblyFileVersion("5.0.69.0")] [assembly: AssemblyFileVersion("5.1.1.0")]