%appdata% path in MSI
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
Answers (2)
Please log in to answer
Posted by:
anonymous_9363
7 years ago
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.
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.
Comments:
-
Thankyou! :) - Ishita Tripathi 7 years ago
Posted by:
apptopack
7 years ago
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.
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. :) - Ishita Tripathi 7 years ago