/build/static/layout/Breadcrumb_cap_w.png

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

0 Comments   [ + ] Show comments

Answers (3)

Posted by: pjgeutjens 14 years ago
Red Belt
0
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
Fourth Degree Brown Belt
0
Pieter is right you'll need to use

advertisement and self-healing, combined with a CA, or an Active Setup solution


or you could change the shortcut for the app and use a wrapper that copies the files to the users H: drive before launching the applications.
Posted by: WiseNdMe 14 years ago
Senior Yellow Belt
0
Thankyou for your replies.

I want to install the files through MSI itself so wont be using wrappers to do the same, although a good idea.

I am thinking of using CAs but right now have no clue how to make this work.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ