script hangs.

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1743
    Avatarmikev
    Member
    • Total Post: 157
    • Jacked into The Matrix
    • ★★★★★★

    Hi,

    I am trying to run the script below but it hangs mid way not sure why –

    ************************************

    [Script]
    ;
    LU*

    XC “Files*” “C:”

    EX “msiexec /i c:tabx.msi TRANSFORMS=c:tabx_32.mst /qn”

    LP “60”

    DF “C:Program FilesTABXDef.cfg”
    XC “FilesDef.cfg” “C:Program FilesTABX”

    EL*

    RB
    *********************************************

    When i push the above script it installs the package tabx.msi and also deletes the file Def.cfg (next line) but when it comes to copying the file (next line after) it just stops there, does not copy the file and does not proceed – not sure why.

    Please help.

    Thanks.

    #15022
    Avatarmikev
    Member
    • Total Post: 157
    • Jacked into The Matrix
    • ★★★★★★

    Some more on the script below –

    I tried the script below again but this time i removed the line XC “FilesDef.cfg” “C:Program FilesTABX”
    and it works.

    Just wondering what is wrong with the above copying? Is it because i am trying to copy file from regroot after i install the package?

    Basically i want to copy the updated config file def.cfg after i install the package but for some reason as i said does not work and the script hangs.

    Pls help.

    #15024
    AvatarCory
    Member
    • Total Post: 53
    • Back Stage Pass
    • ★★★★

    @mikev wrote:

    XC “FilesDef.cfg” “C:Program FilesTABX”

    The issue I see with your XC command is you have an individual filename. XC is meant to copy the contents of entire folder. So for this line to work you would need it to be:

    XC “Files*” “c:program filestabx”

    But I’m guessing you just want to send the one file, in which case you would use the SF (send file) command:

    SF “filesdef.cfg” “c:program filestabx”

    See if that works for you.

    –Cory

    #15036
    Avatarmikev
    Member
    • Total Post: 157
    • Jacked into The Matrix
    • ★★★★★★

    Thanks Cory.

    I tried that but for some reason does not work – same result.

    Everything works well but when it comes to copying the def.cfg to the program files directory the script either fails or just hangs there.

    ANy more thoughts please?

    Thanks.

    #15037
    Avatarmikev
    Member
    • Total Post: 157
    • Jacked into The Matrix
    • ★★★★★★

    Hi,

    I fixed it – i created a new folder in regroot and copied the def.cfg file there and am now using that path to copy it to program files and this works.

    Thanks.

    #15050
    AvatarCory
    Member
    • Total Post: 53
    • Back Stage Pass
    • ★★★★

    Weird fix, but glad you got it working! 🙂

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