Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 4 of 4
  1. #1
    Join Date
    Oct 2006
    Posts
    345

    Abort on Fail question....

    on some of the actions, there is an option "Abort on Fail" options being true or false.

    now, this is going to be a strange question, but please humour me !!

    can someone explain to me the purpose of this option please ?

    as the way i see it, each of these actions is a single task thing, for example file delete, it either deletes the file or doesnt ... end of action, so why have an option to abort on fail, or does it refer to the script as a whole ?

    or does it affect the lasterror code ?


    reason i ask is because i am having some issues with part of my code relating to file copy and file delete actions ... as in they arent working !!

    i think the OS is protecting the files, stopping the delete, or when copying files, if the original file is a higher/newer build and the over-write is not taking place, however, my error check routine which looks for a any error code other than 0 after all the transfers/deletes is not flagging any error :(


    i hope that makes sense to someone !

  2. #2
    Join Date
    May 2006
    Posts
    5,380
    the "Abort On Fail" is for when you are copying/deleting more than 1 file, if its set to true and you have a list of 20 files to delete and a error occurs on file 3 then the rest are not deleted, if set to false it will carry on deleting the rest of the files weather there was a error on file 3 or not, same for file copy as well

    post the code you have, maybe there is something wrong
    Open your eyes to Narcissism, Don't let her destroy your life!!

  3. #3
    Join Date
    Oct 2006
    Posts
    345
    ok, i understand now .... the code is all fragmented at the moment, so that it pauses through each step and i can check the progress of the various delete + transfer steps one at a time, i'll get there in the end, this question was just so that i could eliminate one possibility that i didnt understand fully, and will now move on through the checks.

    if i get through checking and can't find the problem i'll post back with the offending chunk of code

    cheers for explaining

  4. #4
    Join Date
    May 2006
    Posts
    5,380
    hey no problem, good luck with the checking process
    Open your eyes to Narcissism, Don't let her destroy your life!!

Similar Threads

  1. Setup Factory and VS 2005
    By vazir786 in forum Setup Factory 7.0
    Replies: 4
    Last Post: 01-13-2006, 08:47 PM
  2. Abort Install Question
    By Auto in forum Setup Factory 6.0
    Replies: 5
    Last Post: 02-27-2004, 09:34 AM
  3. Abort Setup doesn't work properly
    By intel352 in forum Setup Factory 6.0
    Replies: 6
    Last Post: 04-07-2003, 02:43 PM
  4. HOWTO: Abort an Install Conditionally
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 10-24-2002, 02:28 PM
  5. Abort Actions
    By Laslie Toth in forum Setup Factory 6.0
    Replies: 0
    Last Post: 05-31-2002, 04:45 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