Debug x64 3.10 f0168b9f-6815-40df-ba53-46cee7683b68 2.0 mRemoteNG-Installer Package $(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targets $(MSBuildExtensionsPath)\Microsoft\WiX\v3.x\Wix.targets bin\x64\$(Configuration)\ obj\$(Configuration)\ $(WixExtDir)\WixUtilExtension.dll WixUtilExtension $(WixExtDir)\WixUIExtension.dll WixUIExtension $(WixExtDir)\WixNetFxExtension.dll WixNetFxExtension CustomActions {5423d985-cb48-4344-b47f-e8c6d60c8b04} True True Binaries;Content;Satellites INSTALLFOLDER HarvestPath=$(SolutionDir)mRemoteNG\bin\x64\Release en-US True en-US HarvestPath=$(SolutionDir)mRemoteNG\bin\x64\Debug HarvestPath=$(SolutionDir)mRemoteNG\bin\x64\Debug Portable HarvestPath=$(SolutionDir)mRemoteNG\bin\x64\Release Portable bin\x64\$(Platform)\$(Configuration)\ :: When passing paths to powershell scripts, check if the path ends with a backslash "\" :: If it does, then the backslash may be interpreted as an escape character. Add another backslash to cancel the first one. powershell -noprofile -command "sleep 2" set /p buildenv=<buildenv.tmp :: Manual builds, set the cert password and uncomment below. :: IF "%25APPVEYOR_BUILD_FOLDER"=="" ( set cert_pwd= ) :: Call the post build powershell script powershell.exe -ExecutionPolicy Bypass -File "$(SolutionDir)Tools\postbuild_installer.ps1" -SolutionDir "$(SolutionDir)\" -TargetDir "%25cd%25" -TargetFileName "mRemoteNG.exe" -ConfigurationName "%25buildenv%25" -CertificatePath "$(CertPath)" -CertificatePassword "$(CertPassword)" -ExcludeFromSigning "PuTTYNG.exe" en-US HarvestPath=$(SolutionDir)mRemoteNG\bin\x64\Debug bin\$(Platform)\$(Configuration)\ obj\$(Platform)\$(Configuration)\ HarvestPath=$(SolutionDir)mRemoteNG\bin\x64\Release en-US True bin\$(Platform)\$(Configuration)\ obj\$(Platform)\$(Configuration)\ HarvestPath=$(SolutionDir)mRemoteNG\bin\x64\Debug Portable bin\$(Platform)\$(Configuration)\ obj\$(Platform)\$(Configuration)\ HarvestPath=$(SolutionDir)mRemoteNG\bin\x64\Release Portable bin\$(Platform)\$(Configuration)\ obj\$(Platform)\$(Configuration)\ True False en-US HarvestPath=$(SolutionDir)mRemoteNG\bin\x64\Debug bin\$(Platform)\$(Configuration)\ obj\$(Platform)\$(Configuration)\ HarvestPath=$(SolutionDir)mRemoteNG\bin\x64\Release en-US True bin\$(Platform)\$(Configuration)\ obj\$(Platform)\$(Configuration)\ HarvestPath=$(SolutionDir)mRemoteNG\bin\x64\Debug Portable bin\$(Platform)\$(Configuration)\ obj\$(Platform)\$(Configuration)\ HarvestPath=$(SolutionDir)mRemoteNG\bin\x64\Release Portable bin\$(Platform)\$(Configuration)\ obj\$(Platform)\$(Configuration)\ HarvestPath=$(SolutionDir)mRemoteNG\bin\x64\Debug bin\$(Platform)\$(Configuration)\ obj\$(Platform)\$(Configuration)\ HarvestPath=$(SolutionDir)mRemoteNG\bin\x64\Release bin\$(Platform)\$(Configuration)\ obj\$(Platform)\$(Configuration)\ HarvestPath=$(SolutionDir)mRemoteNG\bin\x64\Debug Portable bin\$(Platform)\$(Configuration)\ obj\$(Platform)\$(Configuration)\ HarvestPath=$(SolutionDir)mRemoteNG\bin\x64\Release Portable bin\$(Platform)\$(Configuration)\ obj\$(Platform)\$(Configuration)\ REM Clean the TargetDir rmdir /S /Q "$(TargetDir)" echo $(ConfigurationName) > buildenv.tmp REM Harvest bin directory of the mRemoteNG project "$(WIX)bin\heat.exe" dir "$(SolutionDir)mRemoteNG\bin\x64\$(Configuration)" -ag -nologo -dr INSTALLDIR -var var.HarvestPath -srd -scom -sreg -cg MandatoryComponents -template fragment -out "$(ProjectDir)Fragments\FilesFragment.wxs" -t "$(ProjectDir)Filters\Harvest_Filter.xslt"