To install files & folders on HOMEDRIVE
Hi All,
I want to copy certain files and folders during installation on HOMEDRIVE (H:\) The client doesnt want this to be hardcoded in the package.
I have thought of using AppSearch to read value from the registry HKEY_CURRENT_USER\Volatile Environment\HOMEDRIVE, store its value as a property and use it to install files accordingly. However, I am not sure if this is the right approach and if this will work in the live environment.
I have also gone through the posts related to this on this site but dint not find anything that helps me.
Can someone please guide me in the correct direction.
Thanks
I want to copy certain files and folders during installation on HOMEDRIVE (H:\) The client doesnt want this to be hardcoded in the package.
I have thought of using AppSearch to read value from the registry HKEY_CURRENT_USER\Volatile Environment\HOMEDRIVE, store its value as a property and use it to install files accordingly. However, I am not sure if this is the right approach and if this will work in the live environment.
I have also gone through the posts related to this on this site but dint not find anything that helps me.
Can someone please guide me in the correct direction.
Thanks
0 Comments
[ + ] Show comments
Answers (3)
Please log in to answer
Posted by:
pjgeutjens
14 years ago
I have thought of using AppSearch to read value from the registry HKEY_CURRENT_USER\Volatile Environment\HOMEDRIVE, store its value as a property and use it to install files accordingly. However, I am not sure if this is the right approach and if this will work in the live environment.
Beware the following pitfall with this approach: Depending on your distribution mechanism for the package, installation might actually be done under LocalSystem credentials, so you won't in fact be accessing the logged-in user's data.
This to me sound like a job for advertisement and self-healing, combined with a CA, or an Active Setup solution.
Rgds,
PJ
Posted by:
timmsie
14 years ago
Posted by:
WiseNdMe
14 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.