Abhinay
Posts: 36
Joined: Wed Feb 27, 2019 9:33 am

How to copy files to d drive without installation

Hi, I have around 140 files including dlls and exe's that needs to be copied to d drive without installation. How do i achieve this.

I do have the powershell scripts ready, But how do i achieve a copy operation

Code: Select all

# Block for declaring the script parameters.
Param($appDir)

# Your code goes here.

Copy-Item -Path "$appDir\SinetNode\*" -Destination "D:\Sinet\SinetNodes\SiNetNode0"

Copy-Item -Path "$appDir\SinetNode\*" -Destination "D:\Sinet\SinetNodes\SiNetNode1"

Copy-Item -Path "$appDir\SinetNode\*" -Destination "D:\Sinet\SinetNodes\SiNetNode2"

Copy-Item -Path "$appDir\SinetNode\*" -Destination "D:\Sinet\SinetNodes\SiNetNode3"

Copy-Item -Path "$appDir\SinetNode\*" -Destination "D:\Sinet\SinetNodes\SiNetNode4"
Abhinay
Posts: 36
Joined: Wed Feb 27, 2019 9:33 am

Re: How to copy files to d drive without installation

Thank you. I could figure it out myself.
Daniel
Posts: 8238
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: How to copy files to d drive without installation

This is great. We are glad you got this solved.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”