It is a very simple thing but it makes my life miserable, Please guys help me here ... I package an application with installshield 2013 successfully. in that application some files go to the current users document directory e.g. C:\Users\<Name of the AD User>\Documents\xyz.txt ... I tried to place these files in [PersonalFolder] or [LocalAppDataFolder] or [LocalAppDataFolder]\document or [USERPROFILE]\document but no use Test Machine keep getting these file only in my <Packagers) USERPROFILE\document (Even if another user test it), for this issue resolution I use Active setup but still I am keep getting these files in my user profile document folder even if some other user try to log in into the same computer he/she couldn't be able to find these files (and these files are very mandatory in case for program to work successfully) ... Any ideas ?
Answer Summary:
1 Comment   [ + ] Show Comment


  • Have you set HKCU registry key as a KeyPath of the corresponding component (I mean the component with those files from PersonalFolder)?
    ICE38 Error -
Please log in to comment

Answer Chosen by the Author

If your active setup is running a repair of the MSI then it's going to fail also.
Create your package so that it installs the user folders to a new folder under the app's program files folder so that they are present on the machine. Then use your active set to run a script, also installed in your new folder, that will work out the current user's documents path (eg from the environment variable settings) and copy the files over.

Dealing with installing files in the user profile has many different solutions including self healing if the shortcuts are advertised. They have all been described in endless detail both here and in other places on the internet.  A little bit of research will get you many different answers that you can use in the future.
Answered 07/24/2015 by: EdT
Red Belt

Please log in to comment


If you have Advertised Shortcut in the pacakge
Place the file in [PersonalFolder], add a current user registry key in the same component.
Set the registry key as KeyPath..

If you don't have any Advertised entry point in the package
Follow the same step which is mentioned above
Add ActiveSetup 
StubPath = msiexec /fup [ProductCode] /qn
Version = 1,0,0,0

f - for repair
u - for user registry
p- for user profile files
Answered 07/25/2015 by: jagadeish
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity