Important Notice: On February 29th, this community will be put into read-only mode. All existing posts will remain but customers will be unable to add new posts or comment on existing. Please feel to join our Community Discord for any questions and discussions.

Copy step where source is local to the target

I have a package that does:

Step 1. Install (msi)

Step 2. Copy shortcut from %SYSTEMDRIVE%\Folder\Shortcut.lnk to %PUBLIC%\Desktop

This works only when the file %SYSTEMDRIVE%\Folder\Shortcut.lnk exists on the central server, even though it doesn't actually need to be present for the action to succeed, since %SYSTEMDRIVE% is resolved on the target.

Is there a better way to do this using the File Copy step type, without needing the file(s) present on the central server? Sure I can just use a command or powershell step, but the File Copy step type feels more appropriate for this task.




1 comment
Date Votes
  • There is no way to get the Source of the File Copy step to look at the target. You will need to use a PowerShell or Command step for this.


Please sign in to leave a comment.

Didn't find what you were looking for?

New post