/build/static/layout/Breadcrumb_cap_w.png

Installing files to a Network drive from MSI

Hi all,

I am working on a package where they wanted some files installed to the user's home directory. I have been working on this and haven't been able to get it to work. Is there a trick to this. Please let me know.

Thank you in advance.

John Summers
ING Direct, fsb

0 Comments   [ + ] Show comments

Answers (4)

Posted by: oreillyr 19 years ago
Fifth Degree Brown Belt
0
Hopefully i have interpreted your query right. Have you tried putting files into component and setting the Destination to Users home folder. Dont forget your ALLUSERS Property set to 1.
Posted by: kkaminsk 19 years ago
9th Degree Black Belt
0
If the folder is outside the user's profile then you want to use the ROOTDRIVE property and then put the files into the MSI just off the root. So if you wanted to install to H:\data you would set ROOTDRIVE to H:\ then in the MSI install the files to data just off the root.
Posted by: mickman 19 years ago
Orange Belt
0
If the system/domain designer did his job the way he should have done it, you can use the My Documents folder in order to install data in the user's home folder.
Posted by: KjetilStolen 19 years ago
Yellow Belt
0
This is the way it is done in Installshield DevStudio, propably about the same procedure with other tools:


  • In "Application Data/Files and Folders" right-click "Destination Computer" and select "New Folder". Give the folder a name.
  • Right-click the folder and view the properties, note the Directory Identifier
  • In "Behaviour and Logic/Custom Actions" create a new "New Set Directory", give the Custom Action a name.
  • In the "Directory Name" select the folder's Directory Identifier.
  • In the "Directory Value" enter the path to the network folder. E.g.: "H:\"
  • In "Install Exec Sequence" select a sequence, e.g. "AfterRemoveExistingProducts"
  • You can add a "Install Exec Condition" if you like
  • That's it! [:)]


Good luck!
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