With Wise, if you try to put things in the root of the user-profile, the files will end up in the windows folder. I don't know if there's an an explanation for this but there is at least a solution for it.
Create a directory anywhere in your package to 'dump' the files in.
Click the 'MSI Script' tab and then the 'Execute Immediate' tab.
Just after the 'CostFinalize' line add a 'Set Directory' action.
In the dialog add the following information:
* Custom Action Name: SetPROFILE
* Directory: Browse for the folder you put the files in.
* Directory Value: [%USERPROFILE]
At runtime, the installation resolves the value of the environment variable USERPROFILE. The files you put in the created folder will then be put in the root of the user profile.
Comments