I'm trying to install some files into a folder directly in the user's profile folder. For example, I want my data to be in:
c:\users\matt\myapp
To do this, I created a property called USERHOME. (I found that i had to set the default value to a valid file path, so I set it to C:\). Then I set up a "Property Set with Formatted" custom action (under InstallExecuteSeqeuence\Install). The property name is "USERHOME" and the formatted text is "[%USERPROFILE]". In Files and Folders I create a new Property-based folder from USERHOME and create a "myapp" folder under it.
When I run the installer, the data is going to C:\myapp, as if USERHOME isn't being set. When I look in the log file I can see that at least at one point USERHOME is being set correctly, but it appears to be after the data is copied to the wrong folder.
Is there something I need to do to get USERHOME set correctly?
Thanks!
FOLLOW US
Get the latest news in Application Packaging