Need code to create folder and copy files for install

  • Thread starter Thread starter Dan
  • Start date Start date
D

Dan

I want to (kind of) automate the install process for users. Here's what I
would like to execute by code once user clicks my install database:
1. check if user has read and write access to a folder on shared drive
2. create a folder, e.g., c:\myapp, on user PC. No need to do this if folder
already exists.
3. copy files to folder c:\myapp. If files exist, prompt for overwrite.
4. create shortcut for application in the folder and on desktop.

Will appreciate if anybody can shed some lights on above. I know it may need
Win APIs, but not sure how.

Thanks.

Dan
 
Dan said:
I want to (kind of) automate the install process for users. Here's what I
would like to execute by code once user clicks my install database:
1. check if user has read and write access to a folder on shared drive
2. create a folder, e.g., c:\myapp, on user PC. No need to do this if folder
already exists.
3. copy files to folder c:\myapp. If files exist, prompt for overwrite.
4. create shortcut for application in the folder and on desktop.

Will appreciate if anybody can shed some lights on above. I know it may need
Win APIs, but not sure how.

Thanks.

Dan
 
Back
Top