Changes

Notepad plus plus

345 bytes added, 20:31, 15 May 2020
WPKG Package for Notepad++: update to 7.8 package version.
<source lang="xml">
<package
id="nppnotepadpp"
name="Notepad++"
revision="%versionPKG_VERSION%"
reboot="false"
priority="20">
<variable name="versionPKG_VERSION" value="6.7.98.26" /> <!-- check install file version --variable name="PKG_SOURCE" value="%SOFTWARE%\Notepadpp" /> <check typevariable name="filePKG_NAME" condition value="versiongreaterorequalnpp.%PKG_VERSION%.Installer.exe" patharchitecture="x86" /> <variable name="PKG_NAME" value="npp.%PKG_DESTINATIONPKG_VERSION%\notepad++.Installer.x64.exe" architecture="x64" /> <variable name="PKG_INSTALL_SWITCH" value="%version%/S" /> <variable name="PKG_REMOVE_SWITCH" value="/S" /> <variable name="PKG_DESTINATION" value="%PROGRAMFILES%\Notepad++" /> <variable namecheck architecture="PKG_DESTINATIONx64" valuetype="%PROGRAMFILESuninstall" condition="versiongreaterorequal" path="Notepad++ (x8664-bit x64)" value="%\PKG_VERSION%" /> <check architecture="x86" type="uninstall" condition="versiongreaterorequal" path="Notepad++(32-bit x86)" architecturevalue="x64%PKG_VERSION%"/>
<install cmd='%COMSPEC% /c C if exist "%PKG_DESTINATION%\plugins" del /f F /q Q "%PKG_DESTINATION%\plugins\*.dll"'>
<exit code="1"/>
</install>
<install cmd="%SOFTWAREPKG_SOURCE%\npp\npp.%versionPKG_NAME% %PKG_INSTALL_SWITCH%.Installer.exe /S" /> <!-- No more auto updates --> <install cmd='%COMSPEC% /c C rmdir /S /Q "%PKG_DESTINATION%\updater"' />
<upgrade include="install" />
<remove cmd='%COMSPEC% /c C if exist "%PKG_DESTINATION%\plugins" del /f F /q Q "%PKG_DESTINATION%\plugins\*.dll"' >
<exit code="1"/>
</remove>
<remove cmd='%COMSPEC% /c C if exist "%PKG_DESTINATION%\uninstall.exe" "%PKG_DESTINATION%\uninstall.exe" /S%PKG_REMOVE_SWITCH%' /> <remove cmd='%COMSPEC% /C rmdir /s S /q Q "%PKG_DESTINATION%"' />
</package>
</source>
74
edits