Hello Everyone

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

Answer Summary:
0 Comments   [ - ] Hide Comments


Please log in to comment

Answer this question or Comment on this question for clarity



If the config.xml file is the only thing being copied into the user's profile, then there may not be any need to trigger an msi repair from Active Setup. Instead, you could create a simple batch file that copies it to the desired location and then trigger that batch file using Active Setup.

Answered 01/13/2014 by: BHC-Austin
Fourth Degree Black Belt

Please log in to comment

Your solution is exactly what should be in the ActiveSetup key for this situation.  My default ActiveSetup entry uses the "/fpu" switches, which includes reg keys.

Answered 01/13/2014 by: vjaneczko
Eighth Degree Black Belt

Please log in to comment