WINDOWS INSTALLER EDITOR: When adding C:\Documents and Settings\All Users\Application Data\ as a Registry value it is being replaced with AppDataFolder instead of CommonAppDataFolder

Article:TECH25896  |  Created: 2007-01-10  |  Updated: 2008-05-15  |  Article URL http://www.symantec.com/docs/TECH25896
NOTE: If you are experiencing this particular known issue, we recommend that you Subscribe to receive email notification each time this article is updated. Subscribers will be the first to learn about any releases, status changes, workarounds or decisions made.
Article Type
Technical Solution


Issue



When inputting a path such as C:\Documents and Settings\All Users\Application Data\ as a registry value, it is not replaced with the property CommonAppDataFolder as expected. Instead it is replaced with AppDataFolder.

1. Create a new .WSI
2. Add registry key with the following values:
    Operation: Create/update key and value 
    Root: HKEY_LOCAL_MACHINE
    Key: Software\test
    Value Name: test
    Data Value: C:\Documents and Settings\All Users\Application Data
    Data Type: String
3. Click OK.

After clicking OK, the value is replaced with [AppDataFolder]. However, the AppDataFolder property resolves to the Application Data folder for the current user and not for All Users.


Environment



Wise for Windows Installer 6.x
Wise Installation Studio 7.0
Wise Package Studio 7.0

Solution



This has been fixed for Wise Package Studio 7 SP3 and will be fixed for the next release of  Wise Installation Studio.

Workaround: Manually change the value from [AppDataFolder] to [CommonAppDataFolder]


Supplemental Materials

SourceDEFECT
ValueLB 57024
DescriptionLogged in Littlebuggy (Altiris - Lindon, Plymouth) database

SourceDEFECT
ValueLB 57957
DescriptionLogged in Littlebuggy (Altiris - Lindon, Plymouth) database

Legacy ID



31782


Article URL http://www.symantec.com/docs/TECH25896


Terms of use for this information are found in Legal Notices