SAPGUI
From WPKG | Open Source Software Deployment and Distribution
This page is for SAP GUI for Windows, available from service.sap.com -- Valid SAP Login Required.
Generating SAP single-file self-installing exe-package
- How to setup a SAP front-end software distribution landscape?
- New feature: Self-installing packages...
Installation
7.20
<package id="SAPGUI720" name="SAP GUI 7.20" revision="2" priority="50">
<check type="logical" condition="and">
<check type="uninstall" condition="exists" path="SAP GUI for Windows 7.20" />
<check
type="file"
condition="versionequalto"
path="%PROGRAMFILES%\SAP\FrontEnd\SAPgui\saplogon.exe"
value="7200.1.2.1051"
/>
</check>
<!--
Stop any SAP application from running
-->
<install cmd='taskkill /F /IM sap*' >
<exit code="any" />
</install>
<!--
Uninstall 6.10 GUI -- 7.x installer doesnt seem to uninstall this properly...
-->
<install cmd='%PROGRAMFILES%\SAPpc\netinst\SAPSETUP.EXE /uninstall /silent' >
<exit code="any" />
</install>
<install cmd='%SOFTWARE%\SAPGUI720\SAPGUI720P2.exe /silent /package="SAPGUI720P2"' >
<exit code="0" />
<exit code="3010" reboot="false" />
</install>
<!--
Copy saplogon.ini to deploy to new instances and uncomment line below
-->
<!--
<install cmd='%comspec% /c copy /y %SOFTWARE%\SAPGUI720\saplogon.ini %windir%\saplogon.ini' />
-->
<upgrade cmd='%SOFTWARE%\SAPGUI720\SAPGUI720P2.exe /silent /package="SAPGUI720P2"' />
<remove cmd='%PROGRAMFILES%\SAP\SapSetup\setup\NwSapSetup.exe /silent /uninstall /all' />
</package>