Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2004
    Posts
    14

    Arrow problem with file.copy

    i tried to copy a file using the installer and this is my code.

    Code:
    File.Copy(SessionVar.Expand("%SystemFolder%\\wbocx.ocx"), "%AppFolder%", true, true, false, true, nil);
    unfortunatly it did not work. as you can see i am trying to copy the file into my application folder (where the user chose to install the program).

    what is the proper way to do this? thanks for your time

  2. #2
    Join Date
    Jan 2000
    Posts
    2,002
    What about:

    Code:
    File.Copy(SessionVar.Expand("%SystemFolder%\\wbocx.ocx"), SessionVar.Expand("%AppFolder%"), true, true, false, true, nil);
    or:

    Code:
    File.Copy(SessionVar.Expand("%SystemFolder%\\wbocx.ocx"), SessionVar.Expand("%AppFolder%\\wbocx.ocx"), true, true, false, true, nil);

Similar Threads

  1. Strange File.copy problem
    By BillEBob in forum AutoPlay Media Studio 5.0
    Replies: 0
    Last Post: 01-16-2004, 09:53 AM
  2. PROBLEM: Setup Starts and then Crashes
    By Support in forum Setup Factory 5.0
    Replies: 0
    Last Post: 10-15-2002, 03:02 PM
  3. INFO: Tips for Debugging Action Lists in AutoPlay Media Studio 4.0
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-03-2002, 08:38 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts