diff --git a/.gitignore b/.gitignore index e221f2f4..f645fe65 100644 --- a/.gitignore +++ b/.gitignore @@ -279,3 +279,4 @@ Installer/Resources/License.rtf Installer/Fragments/FilesFragment.wxs Installer Projects/Installer/Resources/License.rtf Installer Projects/Installer/Fragments/FilesFragment.wxs +Installer Projects/Installer/Fragments/HelpFilesFragment.wxs diff --git a/Installer Projects/Installer/Fragments/DirectoriesFragment.wxs b/Installer Projects/Installer/Fragments/DirectoriesFragment.wxs index 9ff127b0..7a9a687a 100644 --- a/Installer Projects/Installer/Fragments/DirectoriesFragment.wxs +++ b/Installer Projects/Installer/Fragments/DirectoriesFragment.wxs @@ -4,7 +4,9 @@ - + + + diff --git a/Installer Projects/Installer/Installer.wixproj b/Installer Projects/Installer/Installer.wixproj index e5c926bd..b7c573b6 100644 --- a/Installer Projects/Installer/Installer.wixproj +++ b/Installer Projects/Installer/Installer.wixproj @@ -30,6 +30,7 @@ + @@ -98,22 +99,24 @@ - HarvestPath=$(SolutionDir)mRemoteV1\bin\Release; + HarvestPath=$(SolutionDir)mRemoteV1\bin\Release;HelpFilesHarvestPath=$(SolutionDir)mRemoteV1\Resources\Help + + + en-US + HarvestPath=$(SolutionDir)mRemoteV1\bin\Debug;HelpFilesHarvestPath=$(SolutionDir)mRemoteV1\Resources\Help + + + HarvestPath=$(SolutionDir)mRemoteV1\bin\Debug Portable;HelpFilesHarvestPath=$(SolutionDir)mRemoteV1\Resources\Help + + + HarvestPath=$(SolutionDir)mRemoteV1\bin\Release Portable;HelpFilesHarvestPath=$(SolutionDir)mRemoteV1\Resources\Help REM Harvest bin directory of the mRemoteV1 project call "$(WIX)bin\heat.exe" dir "$(SolutionDir)mRemoteV1\bin\$(Configuration)" -ag -dr APPLICATIONROOTDIRECTORY -var var.HarvestPath -srd -cg MandatoryComponents -template fragment -out "$(ProjectDir)Fragments\FilesFragment.wxs" -t "$(ProjectDir)Filters\Harvest_Filter.xslt" -v REM Convert the license file "COPYING.TXT" to "License.rtf" to be shown in the installer GUI -call "$(ProjectDir)Resources\Pandoc\pandoc.exe" -s -t rtf -o "$(ProjectDir)\Resources\License.rtf" "$(SolutionDir)COPYING.TXT" - - - en-US - HarvestPath=$(SolutionDir)mRemoteV1\bin\Debug; - - - HarvestPath=$(SolutionDir)mRemoteV1\bin\Debug Portable; - - - HarvestPath=$(SolutionDir)mRemoteV1\bin\Release Portable; +call "$(ProjectDir)Resources\Pandoc\pandoc.exe" -s -t rtf -o "$(ProjectDir)\Resources\License.rtf" "$(SolutionDir)COPYING.TXT" +REM Harvest the help files for inclusion in a custom directory +call "$(WIX)bin\heat.exe" dir "$(SolutionDir)mRemoteV1\Resources\Help" -ag -dr HELPFILESDIRECTORY -var var.HelpFilesHarvestPath -srd -cg HelpFiles -template fragment -out "$(ProjectDir)Fragments\HelpFilesFragment.wxs" -v \ No newline at end of file diff --git a/Installer Projects/Installer/mRemoteNGV1.wxs b/Installer Projects/Installer/mRemoteNGV1.wxs index 7889f333..d8174fd6 100644 --- a/Installer Projects/Installer/mRemoteNGV1.wxs +++ b/Installer Projects/Installer/mRemoteNGV1.wxs @@ -22,6 +22,7 @@ + (NOT Installed) AND (VersionNT = 601 OR VersionNT64 = 601) @@ -58,6 +59,7 @@ +