I created a package for distribution purposes of SAPGUI 4.6D with SAPADMIN. When the program installs on WINDOWS 2000, it creates several desktop icons, every of which has the "working directory" field pointing to "C:Documents and Settings<user who performed the installation>SapworkDir". When another user tries to run the program, it creates, since it cannot write in the directory referenced before, some files on the desktop (named for example, SPlog, Errorlog.ui, etc.) Is there a way to edit the sapsetup.nid in a way the links are created correctly?
Certainly. You can edit the SAPsetup.nid file in Notepad and change all the references to %USERPROFILE% to whatever location you want to use. Back up your existing SAPsetup.nid file and then make the changes very carefully.
This was first published in September 2002