The [AppDataFolder] in MSI is evolving to:

C:\WINDOWS\SysWOW64\config\systemprofile\AppData\Roaming\  instead of  regular %appdata% roaming profile. Can anyone please suggest why is it happening?

Thanks in advance.
1 Comment   [ + ] Show Comment

Comments

  • thankyou VBScab and apptopack..
    there is no ICE38 error in the package. This is just a config MSI. Due to the project requirements, I had to copy some files to appdata.. that's it!

    you are right. I do not have to install these in system context. :)
Please log in to comment

Community Chosen Answer

3
Yup. You're installing the MSI (or, more correctly, your deployment system is) using the local System account so Windows Installer is correctly resolving that path.

If you have user data to deploy as part of your package, you'll need to use self-healing. That subject has been done to death here and elsewhere. Start by seeking out John McFadyen's blog on the subject.

Remember that, in order to self-heal, WI may need access to the original MSI/MST so be sure to copy them locally and install from there.
Answered 01/10/2017 by: VBScab
Red Belt

Please log in to comment

Answers

1

VBScab is correct. if you install a package through system context the installer will resolve to system profile.

Have you validated the package for any ICE 38 error?

https://msdn.microsoft.com/en-us/library/aa368961(v=vs.85).aspx

If so resolve it and try again.

Answered 01/10/2017 by: apptopack
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity