/build/static/layout/Breadcrumb_cap_w.png

Best Practices Question


How to add new files under rootdrive ?

07/18/2018 595 views
Hello Experts, 

I have and an installer which installs files under "C:\Program File\ABC".
Now I want to add some new Files under C:\XYZ folder from the MST. 

How can I do it, any suggestions ?

I tired adding new component and set it ass TARGETDIR, it doesn't help. 

Thanks in Advance. 
Answer Summary:
0 Comments   [ + ] Show comments

Comments


Answer Chosen by the Author

0
Assuming your component has a valid file as a keypath, you would potentially need entries in the Directory table such as:

Directory
Directory_Parent
DefaultDir
WindowsVolume
TARGETDIR
.:WinRoot
XYZ
WindowsVolume
XYZ
Then you can set your component's Directory_ to XYZ (instead of TARGETDIR like you said).
Answered 07/18/2018 by: captain_planet
Black Belt

  • That works perfectly, Thanks a lot.
    What is missed it .:WinRoot on the DefaultDir and I just gave a dot (.)
    Do we have any short for definition for DefaultDir ?
    • You will only need a short name if your directory name exceeds 8 characters in length. For example: (if directory is 9 characters long DefaultDir would be):
      XYZFOL~1|XYZFolder
      (if directory is 8 characters long DefaultDir would be just):
      XYZFolde
      • great, thanks a lot Captain ;-)
 
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