diff --git a/Elwig.sln b/Elwig.sln index 142f9ae..da8a5d8 100644 --- a/Elwig.sln +++ b/Elwig.sln @@ -6,7 +6,9 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Elwig", "Elwig\Elwig.csproj EndProject 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}" +Project("{B7DD6F7E-DEF8-4E67-B5B7-07EF123DB6F0}") = "Installer", "Installer\Installer.wixproj", "{4A82C9C0-EB6D-409C-B0B2-09A5F727D16F}" +EndProject +Project("{B7DD6F7E-DEF8-4E67-B5B7-07EF123DB6F0}") = "Setup", "Setup\Setup.wixproj", "{952E309C-2090-4978-8996-65900D8E8FA4}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -68,6 +70,22 @@ Global {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 + {952E309C-2090-4978-8996-65900D8E8FA4}.Debug|Any CPU.ActiveCfg = Debug|x64 + {952E309C-2090-4978-8996-65900D8E8FA4}.Debug|Any CPU.Build.0 = Debug|x64 + {952E309C-2090-4978-8996-65900D8E8FA4}.Debug|ARM64.ActiveCfg = Debug|ARM64 + {952E309C-2090-4978-8996-65900D8E8FA4}.Debug|ARM64.Build.0 = Debug|ARM64 + {952E309C-2090-4978-8996-65900D8E8FA4}.Debug|x64.ActiveCfg = Debug|x64 + {952E309C-2090-4978-8996-65900D8E8FA4}.Debug|x64.Build.0 = Debug|x64 + {952E309C-2090-4978-8996-65900D8E8FA4}.Debug|x86.ActiveCfg = Debug|x86 + {952E309C-2090-4978-8996-65900D8E8FA4}.Debug|x86.Build.0 = Debug|x86 + {952E309C-2090-4978-8996-65900D8E8FA4}.Release|Any CPU.ActiveCfg = Release|x64 + {952E309C-2090-4978-8996-65900D8E8FA4}.Release|Any CPU.Build.0 = Release|x64 + {952E309C-2090-4978-8996-65900D8E8FA4}.Release|ARM64.ActiveCfg = Release|ARM64 + {952E309C-2090-4978-8996-65900D8E8FA4}.Release|ARM64.Build.0 = Release|ARM64 + {952E309C-2090-4978-8996-65900D8E8FA4}.Release|x64.ActiveCfg = Release|x64 + {952E309C-2090-4978-8996-65900D8E8FA4}.Release|x64.Build.0 = Release|x64 + {952E309C-2090-4978-8996-65900D8E8FA4}.Release|x86.ActiveCfg = Release|x86 + {952E309C-2090-4978-8996-65900D8E8FA4}.Release|x86.Build.0 = Release|x86 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/Setup/BuildFilesTransform.xslt b/Installer/BuildFilesTransform.xslt similarity index 100% rename from Setup/BuildFilesTransform.xslt rename to Installer/BuildFilesTransform.xslt diff --git a/Setup/DocumentTemplateComponents.wxs b/Installer/DocumentTemplateComponents.wxs similarity index 82% rename from Setup/DocumentTemplateComponents.wxs rename to Installer/DocumentTemplateComponents.wxs index 3de3119..a77dcec 100644 --- a/Setup/DocumentTemplateComponents.wxs +++ b/Installer/DocumentTemplateComponents.wxs @@ -5,7 +5,7 @@ - + diff --git a/Setup/DocumentTemplatesTransform.xslt b/Installer/DocumentTemplatesTransform.xslt similarity index 100% rename from Setup/DocumentTemplatesTransform.xslt rename to Installer/DocumentTemplatesTransform.xslt diff --git a/Setup/Files/config.ini b/Installer/Files/config.ini similarity index 100% rename from Setup/Files/config.ini rename to Installer/Files/config.ini diff --git a/Setup/Folders.wxs b/Installer/Folders.wxs similarity index 100% rename from Setup/Folders.wxs rename to Installer/Folders.wxs diff --git a/Installer/Installer.wixproj b/Installer/Installer.wixproj new file mode 100644 index 0000000..3d54723 --- /dev/null +++ b/Installer/Installer.wixproj @@ -0,0 +1,66 @@ + + + false + true + false + true + InstallFolder + $(OutputPath)bin\cabcache\ + True + True + False + Elwig + de-AT + + + + + + + + + + + + + + + + + + + + ProductVersion=$(ElwigFileVersion);BuildPath=..\Elwig\bin\Publish;DocumentTemplatesPath=..\Elwig\Documents;ElwigProjectDir=..\Elwig + + + + + BuildFiles + InstallFolder + true + BuildPath + BuildFilesTransform.xslt + + + + + + DocumentTemplates + ConfigFolderResources + true + DocumentTemplatesPath + DocumentTemplatesTransform.xslt + + + + + + + + + + + + \ No newline at end of file diff --git a/Setup/MainComponents.wxs b/Installer/MainComponents.wxs similarity index 85% rename from Setup/MainComponents.wxs rename to Installer/MainComponents.wxs index 168f519..e400d59 100644 --- a/Setup/MainComponents.wxs +++ b/Installer/MainComponents.wxs @@ -2,7 +2,7 @@ - + diff --git a/Setup/Package.de-at.wxl b/Installer/Package.de-at.wxl similarity index 100% rename from Setup/Package.de-at.wxl rename to Installer/Package.de-at.wxl diff --git a/Setup/Package.wxs b/Installer/Package.wxs similarity index 58% rename from Setup/Package.wxs rename to Installer/Package.wxs index 2c469f4..f5f04bc 100644 --- a/Setup/Package.wxs +++ b/Installer/Package.wxs @@ -1,9 +1,9 @@ - - - + + + - + diff --git a/Setup/ShortcutComponents.wxs b/Installer/ShortcutComponents.wxs similarity index 100% rename from Setup/ShortcutComponents.wxs rename to Installer/ShortcutComponents.wxs diff --git a/Setup/Bundle.wxs b/Setup/Bundle.wxs new file mode 100644 index 0000000..ed298fb --- /dev/null +++ b/Setup/Bundle.wxs @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/Setup/Setup.wixproj b/Setup/Setup.wixproj index 84ef8d2..5ba6252 100644 --- a/Setup/Setup.wixproj +++ b/Setup/Setup.wixproj @@ -1,47 +1,19 @@ - + - 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" & curl -s "http://www.columbia.edu/~em36/PDFtoPrinter.exe" -z "$(TargetDir)PDFtoPrinter.exe" -o "$(TargetDir)PDFtoPrinter.exe" & dotnet publish "$(SolutionDir)Elwig\Elwig.csproj" "/p:PublishProfile=$(SolutionDir)\Elwig\Properties\PublishProfiles\FolderProfile.pubxml" + Bundle Elwig - - de-AT - bin\ + + + + + ElwigProjectDir=..\Elwig + + - - BuildFiles - InstallFolder - true - BuildPath - BuildFilesTransform.xslt - - + + + - - - DocumentTemplates - ConfigFolderResources - true - DocumentTemplatesPath - DocumentTemplatesTransform.xslt - - - - - - - - - - - - - + \ No newline at end of file