How to Mention USERPROFILE\Documents in InstallShield? Need an Idea ...
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 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
Please log in to comment
log in to commentPlease