Does anyone know how to change the destination folders using the package designer? I can happily change it by using %DESKTOP% for example in the TargetFolder field in the File item. However, it will always copy it across to Desktop/Component/File/<filename>. How do I change the name the of the Component or File folder? So it could be something like Desktop/Motion Library/Examples/<filename>.</filename></filename>
Thanks
Iain Riddell
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
m.wagner hat geschrieben:
Hi Iain,
you do not need to change the component or file folder. Please set the file item's properties as follows:
IgnoreArchiveFolder: True
TargetFolder: %DESKTOP%/Motion Library/Examples
Now the internal structure will be ignored and your folder will be created under the user's desktop.
Matthias
Hi Matthias
Many thanks for your help.
One final question, what other target folders are available? For example is there an valid file path which points to the "My Documents" folder on the user's profile or other files such as the AppData. I know visual studio has "Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData)" for pointing to the user's AppData folder.
Kind Regards
Iain Riddell
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi
Does anyone know how to change the destination folders using the package designer? I can happily change it by using %DESKTOP% for example in the TargetFolder field in the File item. However, it will always copy it across to Desktop/Component/File/<filename>. How do I change the name the of the Component or File folder? So it could be something like Desktop/Motion Library/Examples/<filename>.</filename></filename>
Thanks
Iain Riddell
Hi Iain,
you do not need to change the component or file folder. Please set the file item's properties as follows:
IgnoreArchiveFolder: True
TargetFolder: %DESKTOP%/Motion Library/Examples
Now the internal structure will be ignored and your folder will be created under the user's desktop.
Matthias
Hi Matthias
Many thanks for your help.
One final question, what other target folders are available? For example is there an valid file path which points to the "My Documents" folder on the user's profile or other files such as the AppData. I know visual studio has "Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData)" for pointing to the user's AppData folder.
Kind Regards
Iain Riddell