This document describes the PC5250 path changes made in V6R1, and the reasons why those changes were made.
For most of its history, IBM i Access for Windows has defaulted the PC5250 files path to a location based on the Access for Windows install path. This path is the one that PC5250 uses to find and store files. For example:
C:\Program Files\IBM\Client Access\Emulator\Private
This path has been problematic for some users, since by default, only administrators may have write privileges on this path. To deal with this problem; the choice of using the user's own "My Documents" path, or a fully-qualified path of their choosing was provided.
One problem with this set of choices is that it does not mirror those given by the IBM Personal Communications (PCOMM) product, so the options were inconsistent with this product which provides the user the choice of their user-specific Application Data path or the common (all-users) Application Data path, instead of My Documents and the Install path as bases, respectively.
The second problem with the previous design is that, starting with Windows Vista and its User Account Control (UAC), which is on by default, the install path is not, by default, writable by any user of the PC, including administrators. So, PC5250 IBM i Access for Windows default setting would not work.
For these reasons, it was concluded that the choices, as well as the default path, needed to change to be consistent with PCOMM. In V5R4 service pack SI25949, the default path changed only when running on Vista; however, the new choices were made available via the special options *MYAPPDATA and *ALLUSERSAPPDATA, that may be specified when running cwbcfg.exe or on the PC5250 tab of IBM i Access for Windows Properties. In V6R1, the old choices will no longer be valid, being completely replaced by the new choices.
The new default, *MYAPPDATA and the *ALLUSERAPPDATA, will be in effect on all versions of Windows, not just Windows Vista.
- The per-user application data folder My Documents (*MYDOCUMENTS) path is being replaced by Application Data (*MYAPPDATA) path.
- The common application data folder Install (*INSTALL) path is being replaced by Common Application Data (*ALLUSERSAPPDATA) path.
- The new default path is *MYAPPDATA (previously *INSTALL).
Installing V6R1 on a clean PC
Customers; who install V6R1 on a clean PC, will find and store the PC5250 files in the new path locations. These paths can also be modified via the cwbcfg.exe tool or via the Access for Windows Properties on the PC5250 tab.
Migrating to V6R1 from a previous version
Customers who upgrade to V6R1 from a previous version, who may have chosen one of the old choices before, will be migrated to the appropriate replacement path.
After installing V6R1 you will need to reboot the PC, and just after logging on to the PC, the PC5250 files stored in the old location will be copied to the new location, leaving the original files unmodified.
Users that used to have the PC5250 files stored in the old common/shared path location (*INSTALL) will have their files copied to the new common/shared path location (*ALLUSERSAPPDATA). This will occur once for all users (if any) who were using the old *INSTALL location.
Users who were using the *MYDOCUMENTS path location; will have their PC5250 files copied to the new *MYAPPDATA location. This will occur only once per user.
For the users that were using a user-specified location, they will continue to use that location to store and find the PC5250 files.
Access for Windows will keep track of whether or not the files were copied, and will log the names of all the copied files. Icons or other things that may use the old path will not be fixed; only the registry location where PC5250 looks in for this path will be fixed.