Copying a file from one %userprofile% to another %userprofile%
I am packaging an application which installs a file to %userprofile%\AppData\Roaming\%appname%\config.xml.
All this works fine for the user it's being installed for but if a new user logs in, the config.xml is missing.
I have been told to copy the file to the new %userprofile% using active setup and NOT to use self heal at all.
I have never used active setup before and used the following guide to the T but it's not working in my scenario.
I marked the config.xml as key file in my MSI to ensure it was copied over during the repair but it didn't.
Since, I have never done this before, a step by step guide for this particular scenario would be greatly appreciated.
I have only ONE file that I am trying to copy. The application does not have any registry entries at all.
SOLUTION: I was able to resolve the issue using the following command under StubPath:
msiexec.exe /fp [ProductCode] /qn