|Sample code, images||Restrictions, SAP Release, SAP GUI version, GuiXT version|
|33 Installing a new GuiXT version “on the fly”
You can install a new GuiXT version (i.e. guixt.exe and guix.dll) in the logon script (or another GuiXT script or InputScript) from a central location, e.g. from the SAP Web repository. The only disadvantage is that the user needs to logoff and also to close the SAP Logon window in order to get the new version of both guixt.exe and guixt.dll, since it is not possible to change a dll while it is in use: you can only rename the dll while it is in use and then copy the new one. The active SAP GUI process will still use the old guixt.dll until the user logs off and closes the SAP Logon window.
Proceed as follows:
// Rename existing guixt.exe, guixt.dll
// Copy new ones
// Display a message that logoff/logon is required
// do not allow logon with old GuiXT version
If the user logs off but does not close the SAP Logon window before logging on again, the new guixt.exe file and the old guixt.dll will be active, resulting in an error message.