diff --git a/Elwig.sln b/Elwig.sln index e642619..142f9ae 100644 --- a/Elwig.sln +++ b/Elwig.sln @@ -4,22 +4,70 @@ VisualStudioVersion = 17.3.32929.385 MinimumVisualStudioVersion = 10.0.40219.1 Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Elwig", "Elwig\Elwig.csproj", "{00868460-16F6-4B48-AA9B-998F6263693B}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tests", "Tests\Tests.csproj", "{30D7700A-7B0A-4E5D-B839-B4C1D95E307E}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Tests", "Tests\Tests.csproj", "{30D7700A-7B0A-4E5D-B839-B4C1D95E307E}" +EndProject +Project("{B7DD6F7E-DEF8-4E67-B5B7-07EF123DB6F0}") = "Setup", "Setup\Setup.wixproj", "{4A82C9C0-EB6D-409C-B0B2-09A5F727D16F}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU + Debug|ARM64 = Debug|ARM64 + Debug|x64 = Debug|x64 + Debug|x86 = Debug|x86 Release|Any CPU = Release|Any CPU + Release|ARM64 = Release|ARM64 + Release|x64 = Release|x64 + Release|x86 = Release|x86 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {00868460-16F6-4B48-AA9B-998F6263693B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {00868460-16F6-4B48-AA9B-998F6263693B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {00868460-16F6-4B48-AA9B-998F6263693B}.Debug|ARM64.ActiveCfg = Debug|Any CPU + {00868460-16F6-4B48-AA9B-998F6263693B}.Debug|ARM64.Build.0 = Debug|Any CPU + {00868460-16F6-4B48-AA9B-998F6263693B}.Debug|x64.ActiveCfg = Debug|Any CPU + {00868460-16F6-4B48-AA9B-998F6263693B}.Debug|x64.Build.0 = Debug|Any CPU + {00868460-16F6-4B48-AA9B-998F6263693B}.Debug|x86.ActiveCfg = Debug|Any CPU + {00868460-16F6-4B48-AA9B-998F6263693B}.Debug|x86.Build.0 = Debug|Any CPU {00868460-16F6-4B48-AA9B-998F6263693B}.Release|Any CPU.ActiveCfg = Release|Any CPU {00868460-16F6-4B48-AA9B-998F6263693B}.Release|Any CPU.Build.0 = Release|Any CPU + {00868460-16F6-4B48-AA9B-998F6263693B}.Release|ARM64.ActiveCfg = Release|Any CPU + {00868460-16F6-4B48-AA9B-998F6263693B}.Release|ARM64.Build.0 = Release|Any CPU + {00868460-16F6-4B48-AA9B-998F6263693B}.Release|x64.ActiveCfg = Release|Any CPU + {00868460-16F6-4B48-AA9B-998F6263693B}.Release|x64.Build.0 = Release|Any CPU + {00868460-16F6-4B48-AA9B-998F6263693B}.Release|x86.ActiveCfg = Release|Any CPU + {00868460-16F6-4B48-AA9B-998F6263693B}.Release|x86.Build.0 = Release|Any CPU {30D7700A-7B0A-4E5D-B839-B4C1D95E307E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {30D7700A-7B0A-4E5D-B839-B4C1D95E307E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {30D7700A-7B0A-4E5D-B839-B4C1D95E307E}.Debug|ARM64.ActiveCfg = Debug|Any CPU + {30D7700A-7B0A-4E5D-B839-B4C1D95E307E}.Debug|ARM64.Build.0 = Debug|Any CPU + {30D7700A-7B0A-4E5D-B839-B4C1D95E307E}.Debug|x64.ActiveCfg = Debug|Any CPU + {30D7700A-7B0A-4E5D-B839-B4C1D95E307E}.Debug|x64.Build.0 = Debug|Any CPU + {30D7700A-7B0A-4E5D-B839-B4C1D95E307E}.Debug|x86.ActiveCfg = Debug|Any CPU + {30D7700A-7B0A-4E5D-B839-B4C1D95E307E}.Debug|x86.Build.0 = Debug|Any CPU {30D7700A-7B0A-4E5D-B839-B4C1D95E307E}.Release|Any CPU.ActiveCfg = Release|Any CPU {30D7700A-7B0A-4E5D-B839-B4C1D95E307E}.Release|Any CPU.Build.0 = Release|Any CPU + {30D7700A-7B0A-4E5D-B839-B4C1D95E307E}.Release|ARM64.ActiveCfg = Release|Any CPU + {30D7700A-7B0A-4E5D-B839-B4C1D95E307E}.Release|ARM64.Build.0 = Release|Any CPU + {30D7700A-7B0A-4E5D-B839-B4C1D95E307E}.Release|x64.ActiveCfg = Release|Any CPU + {30D7700A-7B0A-4E5D-B839-B4C1D95E307E}.Release|x64.Build.0 = Release|Any CPU + {30D7700A-7B0A-4E5D-B839-B4C1D95E307E}.Release|x86.ActiveCfg = Release|Any CPU + {30D7700A-7B0A-4E5D-B839-B4C1D95E307E}.Release|x86.Build.0 = Release|Any CPU + {4A82C9C0-EB6D-409C-B0B2-09A5F727D16F}.Debug|Any CPU.ActiveCfg = Debug|x64 + {4A82C9C0-EB6D-409C-B0B2-09A5F727D16F}.Debug|Any CPU.Build.0 = Debug|x64 + {4A82C9C0-EB6D-409C-B0B2-09A5F727D16F}.Debug|ARM64.ActiveCfg = Debug|ARM64 + {4A82C9C0-EB6D-409C-B0B2-09A5F727D16F}.Debug|ARM64.Build.0 = Debug|ARM64 + {4A82C9C0-EB6D-409C-B0B2-09A5F727D16F}.Debug|x64.ActiveCfg = Debug|x64 + {4A82C9C0-EB6D-409C-B0B2-09A5F727D16F}.Debug|x64.Build.0 = Debug|x64 + {4A82C9C0-EB6D-409C-B0B2-09A5F727D16F}.Debug|x86.ActiveCfg = Debug|x86 + {4A82C9C0-EB6D-409C-B0B2-09A5F727D16F}.Debug|x86.Build.0 = Debug|x86 + {4A82C9C0-EB6D-409C-B0B2-09A5F727D16F}.Release|Any CPU.ActiveCfg = Release|x64 + {4A82C9C0-EB6D-409C-B0B2-09A5F727D16F}.Release|Any CPU.Build.0 = Release|x64 + {4A82C9C0-EB6D-409C-B0B2-09A5F727D16F}.Release|ARM64.ActiveCfg = Release|ARM64 + {4A82C9C0-EB6D-409C-B0B2-09A5F727D16F}.Release|ARM64.Build.0 = Release|ARM64 + {4A82C9C0-EB6D-409C-B0B2-09A5F727D16F}.Release|x64.ActiveCfg = Release|x64 + {4A82C9C0-EB6D-409C-B0B2-09A5F727D16F}.Release|x64.Build.0 = Release|x64 + {4A82C9C0-EB6D-409C-B0B2-09A5F727D16F}.Release|x86.ActiveCfg = Release|x86 + {4A82C9C0-EB6D-409C-B0B2-09A5F727D16F}.Release|x86.Build.0 = Release|x86 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/Elwig/Elwig.csproj b/Elwig/Elwig.csproj index 5fc7de6..8f48cc7 100644 --- a/Elwig/Elwig.csproj +++ b/Elwig/Elwig.csproj @@ -1,4 +1,4 @@ - + WinExe diff --git a/Elwig/Properties/PublishProfiles/FolderProfile.pubxml b/Elwig/Properties/PublishProfiles/FolderProfile.pubxml index 410538f..474c59b 100644 --- a/Elwig/Properties/PublishProfiles/FolderProfile.pubxml +++ b/Elwig/Properties/PublishProfiles/FolderProfile.pubxml @@ -1,4 +1,4 @@ - + diff --git a/Setup/BuildFilesTransform.xslt b/Setup/BuildFilesTransform.xslt new file mode 100644 index 0000000..3d73369 --- /dev/null +++ b/Setup/BuildFilesTransform.xslt @@ -0,0 +1,50 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Setup/DocumentTemplateComponents.wxs b/Setup/DocumentTemplateComponents.wxs new file mode 100644 index 0000000..3de3119 --- /dev/null +++ b/Setup/DocumentTemplateComponents.wxs @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/Setup/DocumentTemplatesTransform.xslt b/Setup/DocumentTemplatesTransform.xslt new file mode 100644 index 0000000..5eeb5fa --- /dev/null +++ b/Setup/DocumentTemplatesTransform.xslt @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/Setup/Files/config.ini b/Setup/Files/config.ini new file mode 100644 index 0000000..aa45f34 --- /dev/null +++ b/Setup/Files/config.ini @@ -0,0 +1,4 @@ +[general] + +[database] +file = C:\ProgramData\Elwig\database.sqlite3 \ No newline at end of file diff --git a/Setup/Folders.wxs b/Setup/Folders.wxs new file mode 100644 index 0000000..035c33d --- /dev/null +++ b/Setup/Folders.wxs @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Setup/MainComponents.wxs b/Setup/MainComponents.wxs new file mode 100644 index 0000000..b40a1a0 --- /dev/null +++ b/Setup/MainComponents.wxs @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/Setup/Package.de-at.wxl b/Setup/Package.de-at.wxl new file mode 100644 index 0000000..046c191 --- /dev/null +++ b/Setup/Package.de-at.wxl @@ -0,0 +1,8 @@ + + + + + + diff --git a/Setup/Package.wxs b/Setup/Package.wxs new file mode 100644 index 0000000..55bf833 --- /dev/null +++ b/Setup/Package.wxs @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/Setup/Setup.wixproj b/Setup/Setup.wixproj new file mode 100644 index 0000000..f3c442d --- /dev/null +++ b/Setup/Setup.wixproj @@ -0,0 +1,45 @@ + + + false + true + false + true + InstallFolder + + + BuildPath=../Elwig/bin/Publish;DocumentTemplatesPath=../Elwig/Documents + curl -s -L "https://unpkg.com/pagedjs/dist/paged.polyfill.js" -o "$(TargetDir)paged.polyfill.js" && dotnet publish "$(SolutionDir)Elwig\Elwig.csproj" "/p:PublishProfile=$(SolutionDir)\Elwig\Properties\PublishProfiles\FolderProfile.pubxml" + + + de-AT + + + + BuildFiles + InstallFolder + true + BuildPath + BuildFilesTransform.xslt + + + + + + DocumentTemplates + ConfigFolderResources + true + DocumentTemplatesPath + DocumentTemplatesTransform.xslt + + + + + + + + + + + + + \ No newline at end of file diff --git a/Setup/ShortcutComponents.wxs b/Setup/ShortcutComponents.wxs new file mode 100644 index 0000000..6cd777e --- /dev/null +++ b/Setup/ShortcutComponents.wxs @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + +