question

77532591 avatar image
77532591 asked ·

MSI installation with Folder Redirection fails.

We have an issue with some msi-installers (Firefox, Google Chat) running on a system with Folder Redirection enabled. We set UNC path to Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders\AppData variable. Installation fails with error "Failed to Create AppData Cache Folder".
We found that these installers work fine with Windows Installer V 5.0.17763.404 and fail with Windows Installer. V 5.0.19041.1. We found out that new version of Windows Installer tries to set special permission on the folder ...\AppData\Roaming\Microsoft\Installer. It seems that it has troubles to access remote ...\Microsoft\Installer directory in general.

windows-10-application-compatibility
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Maokaman avatar image
Maokaman answered ·

As stated here https://stackoverflow.com/questions/61387044/msi-error-failed-to-create-appdata-cache-folder the issue could be fixed in Windows 10 1809 by uninstalling April's cumulative update KB4549949 but unfortunately recent versions of Windows 10 have the problem out of the box.


Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

JennyYan-MSFT avatar image
JennyYan-MSFT answered ·

Hi,
Thanks for your findings and sharing.

For MSI installation, you could enable the MSI log to get more detailed information when encountering installation errors.

How to enable Windows Installer logging
https://support.microsoft.com/en-us/help/223300/how-to-enable-windows-installer-logging

Thanks,
Jenny

6 comments Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thanks for your comment.

We run installer with /l*vx options and receive following log with error "Failed to Create AppData Cache Folder":


14062-log.txt




Note that with old Windows Installer it works fine.

0 Votes 0 · ·
log.txt (245.4 KiB)

Hi,
You could test by removing the KB4549949 suggested as Maokaman and update if the issue persisted.

Thanks,
Jenny

0 Votes 0 · ·

Hi,
yes, this workaround works fine. But latest releases of Windows 10 doesn't provide possibility to remove the patch as it is preinstalled.

Should we consider this behavior as a bug and wait for a fix from Microsoft or AppData Folder Redirection feature is deprecated now?

0 Votes 0 · ·

Hi,

Thanks for the update and we did not receive any notification on whether or not this behavior will be considered as bug.

But we will help you to provide this feedback to escalation team.

Please click “Mark as answer” if any of above reply is helpful.

Best Regards,
Jenny

0 Votes 0 · ·

Thanks for your advises! How I can follow the status of the issue after accepting this answer?

0 Votes 0 · ·

Hi,
We will archive the thread once it is marked as Answer, which we thought the user got a satisfied suggestion or resolution.

But if you still need more assistance no matter the issue re-occurrence or anything new, you could post new thread to get a more efficient response.

Thanks,
Jenny

0 Votes 0 · ·