diff --git a/im/installer/windows/nsis/installer.nsi b/im/installer/windows/nsis/installer.nsi index b9e023bb17..87c2656d51 100755 --- a/im/installer/windows/nsis/installer.nsi +++ b/im/installer/windows/nsis/installer.nsi @@ -19,6 +19,14 @@ CRCCheck on RequestExecutionLevel user +; The commands inside this ifdef require NSIS 3.0a2 or greater so the ifdef can +; be removed after we require NSIS 3.0a2 or greater. +!ifdef NSIS_PACKEDVERSION + Unicode true + ManifestSupportedOS all + ManifestDPIAware true +!endif + !addplugindir ./ Var TmpVal diff --git a/im/installer/windows/nsis/uninstaller.nsi b/im/installer/windows/nsis/uninstaller.nsi index 5b7b0a97cd..9f52d0558c 100755 --- a/im/installer/windows/nsis/uninstaller.nsi +++ b/im/installer/windows/nsis/uninstaller.nsi @@ -19,6 +19,14 @@ CRCCheck on RequestExecutionLevel user +; The commands inside this ifdef require NSIS 3.0a2 or greater so the ifdef can +; be removed after we require NSIS 3.0a2 or greater. +!ifdef NSIS_PACKEDVERSION + Unicode true + ManifestSupportedOS all + ManifestDPIAware true +!endif + !addplugindir ./ ; On Vista and above attempt to elevate Standard Users in addition to users that