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
search cancel

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

book

Article ID: 176519

calendar_today

Updated On:

Products

Symantec Products

Issue/Introduction

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.

Resolution

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]


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