/build/static/layout/Breadcrumb_cap_w.png
07/18/2018 261 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 ;-)