Best Solution to Overwrite a File

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1108
    75joe75
    Member
    • Total Post: 40
    • Frequent Flyer
    • ★★★

    Hi All,

    I’ve been trying to overwrite a file on a PC and I cannot seem to get it, can someone help. here is the copy of my RSP file.

    [Version]
    Number=BETA
    Description=Beta
    OS=XP
    Category=Updates

    [Script]
    ;
    ;DATE: 04 April, 2008
    ; This package is designed to copy files for Updates.
    ;
    ;


    ; Check Operating System, Check SP level and Confirm free space
    ;


    CO “XP”
    CF “C” “20000”
    ;
    ;


    ; Query User and Lockout
    ;


    LU
    ;
    ;


    ; Copy over new files
    ;


    SF “QAE0174A.APP” “C:Program FilesQIKDBQAE0174A.APP”
    SF “
    QAINIT.INI” “C:Program FilesQIKBETA525AC4QAINIT.INI”
    DF “C:Program FilesQIKDBQAE0171A.APP”
    ;
    ;


    ; End Lockout & Reboot
    ;


    RB

    #12524
    ConfGen
    Keymaster
    • Total Post: 10696
    • Jedi Master
    • ★★★★★★★

    What error message do you get?

    CG

    #12526
    75joe75
    Member
    • Total Post: 40
    • Frequent Flyer
    • ★★★

    Unfortunately I don’t get any error in the WDM logs. I just go to the target TC and notice that the file hasn’t been replaced. Is there an alternate place I can go to see for logs?

    #12528
    Joe
    Member
    • Total Post: 96
    • Back Stage Pass
    • ★★★★

    If you know you’re going to overwrite it, can you just delete it before copy the new one over?

    Since it’s an XPe machine, it’s probably got the write filter running. Is it properly disabling itself before the script is executed?

    #12562
    75joe75
    Member
    • Total Post: 40
    • Frequent Flyer
    • ★★★

    Good point and in doing so when I did delete the file before copying it, it did work, thanks a million

    Just one question though, does this mean that we cannot overwrite files with WDM rsp files?

    #12568
    ConfGen
    Keymaster
    • Total Post: 10696
    • Jedi Master
    • ★★★★★★★

    Normally this should work fine but maybe there was some lock on this file that prevents from being overwritten. Strange.

    CG

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.