Need code to create folder and copy files for install

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
 
L

LogWatch

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top