Ok I give up. IE Shortcut

  • This topic is empty.
Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #1653
    jlcarreiro
    Member
    • Total Post: 30
    • Frequent Flyer
    • ★★★

    I am trying to copy a IE shortcut to a profile desktop. It errors out as
    Try 1:FTP Failed:1. îT Line#: 27 Cmd:SF messageboardmessageboard C:Documents and SettingsproDesktopmessageboard
    Here is line 27 of the script.
    SF “messageboard” “C:Documents and SettingsproDesktopmessageboard”

    What am I doing wrong?
    joec.

    #14688
    ConfGen
    Keymaster
    • Total Post: 11485
    • Jedi Master
    • ★★★★★★★

    Have you tried XC instead of SF?

    CG

    #14698
    Cory
    Member
    • Total Post: 53
    • Back Stage Pass
    • ★★★★

    Can you post the actual line from your .rsp script?

    #14699
    jlcarreiro
    Member
    • Total Post: 30
    • Frequent Flyer
    • ★★★

    Here is the script: It errors out at the first SF. thanks much for looking at this.
    [Script]
    ;
    ;


    ;Query user with Now and 5 min delay option
    ;


    QU “3”
    ;


    ;Check OS and Lock User
    ;


    CO “XP”
    LU
    ;


    ;Copy over new files
    ;


    SF “messageboard” “C:Documents and SettingsproDesktopmessageboard”
    SF “messageboard” “C:Documents and SettingsAll UsersDesktopmessageboard”
    ;


    ;Local Pause for package to install
    ;


    LP “30”
    ;


    EL

    #14704
    ConfGen
    Keymaster
    • Total Post: 11485
    • Jedi Master
    • ★★★★★★★

    Again, what about XC instead of SF? What about first copy all files to a temp dir and then copy them to the right directory? Maybe the files are locked because they already exist in the target dir.

    CG

    #14707
    jlcarreiro
    Member
    • Total Post: 30
    • Frequent Flyer
    • ★★★

    Just replying to Cory’s request. Was busy yesterday, hope to try your recommendations today or tomorrow.
    Once again all, thanks much for all your help.
    Joe C.

    #14716
    jlcarreiro
    Member
    • Total Post: 30
    • Frequent Flyer
    • ★★★

    Ok, tried the XC. This doesn’t work.
    The script starts, system reboots but it hangs at the “Your system Administrator is now reconfiguring this Client” window.
    Here is the script

    [version]
    Number=messageboard
    Description= Place a shortcut to the messageboard on Pro desktop
    OS=XP
    Category=Other Packages
    USE_Pxe=NO

    [Script]
    ;
    ;Date: 10-Dec-2008
    ;Prepared by Joe Carreiro
    ;
    ;This is for use with CRL Nevada Wyse v90 terminals running Windows XPe
    ;
    ;


    ;Query user with Now and 5 min delay option
    ;


    QU “3”
    ;


    ;Check OS and Lock User
    ;


    CO “XP”
    LU
    ;


    ;Copy over new files
    ;


    XC “messageboard*” “C:Documents and SettingsproDesktop”
    ;
    ;


    ;Local Pause for package to install
    ;


    LP “30”
    ;


    EL

    In WDM, it shows the package status as “NOW”.
    Folder name is messageboardmessageboard
    the subfolder contains the shortcut named “messageboard” along with the CRC.Txt file.
    What am I doing wrong? 🙁

    #14717
    jlcarreiro
    Member
    • Total Post: 30
    • Frequent Flyer
    • ★★★

    OK, an update. I attempted to SF a simple text file using the same script, only changing the files contained in the folder to a txt file and changing the command from SF to XC.

    Could my network be blocking this?
    We are in a new building with an entire new cisco network.

    #14719
    ConfGen
    Keymaster
    • Total Post: 11485
    • Jedi Master
    • ★★★★★★★

    Don’t think so. If simple copy works for you I wouldn’t test around a lot anymore. Instead of that I would modify the files to copy and the script to a way that it copies the needed files to your unit and rename them to the correct ending afterwards.
    So your messageboard.lnk looks like messageboard.txt and will be renamed after the copy process.
    Can you test this?

    CG

    #14725
    jlcarreiro
    Member
    • Total Post: 30
    • Frequent Flyer
    • ★★★

    OK, I have it down to an issue with the shortcut itself. So we decided to change tactics. A co-worker who is a wiz at vb scripts created one for me to create the shortcut on the desktop.
    So now we run into this problem. During the EX command we get the following error: Create Process failed: 193
    It copies the vbs file to the correct directory. It just does not run it…
    The same vbs file works on my laptop.
    Thanks again, and
    Happy Holidays!

    The script is:
    [Script]
    ;Date: 22-DEC-2008
    ;Prepared by Joe Carreiro
    ;This is for use with CRL Nevada Wyse v90 terminals running Windows XPe
    ;


    ;Query user with Now and 5 min delay option
    ;


    QU “3”
    ;


    ;Check OS and Lock User
    ;


    CO “XP”
    LU
    ;


    ;Copy and execute new files
    ;


    SF “messageboard.vbs” “C:messageboard.vbs”
    EX “C:messageboard.vbs”
    ;


    LP “60”
    ;


    DF “C:messageboard.vbs”
    EL

    #14728
    ConfGen
    Keymaster
    • Total Post: 11485
    • Jedi Master
    • ★★★★★★★

    Can you run the vbs manually on the V90L?
    What about the renaming option I suggested before?

    CG

    #14736
    jlcarreiro
    Member
    • Total Post: 30
    • Frequent Flyer
    • ★★★

    I tried the renaming of the shortcut, but it still sees it as on IE Shortcut and fails to copy.
    So we gave up on that and had a co-worker create a VBS script that creates an Icon on the all user desktop.
    The problem is the file copies over but fails to execute. Or errors out with this error Try 1:CreateProcess Failed:2 C:messageboard.vbs Line#: 29 Cmd:EX C:messageboard.vbs
    This error is if I use the following
    EX “C:messageboard.vbs”
    If I use this EX
    EX “C:windowssystem32cmd.exe /i C:messageboard.vbs”
    It shows as running in WDM but does not execute on the device.

    I can manually run the vbs script and it works.
    Not sure why this is. Here is the script. Note some lines are REMd out
    [version]
    Number=messageboard
    Description= Copies messageboard.vbs to c: and then executes the file. This will place a IE icon on all users desktop.
    OS=XP
    Category=other packages
    USE_Pxe=NO

    [Script]
    ;
    ;Date: 22-DEC-2008
    ;Prepared by Joe Carreiro
    ;
    ;This is for use with CRL Nevada Wyse v90 terminals running Windows XPe
    ;
    ;


    ;Query user with Now and 5 min delay option
    ;


    QU “3”
    ;


    ;Check OS and Lock User
    ;


    CO “XP”
    LU
    ;


    ;Copy over new files
    ;


    SF “messageboard.vbs” “C:messageboardmessageboard.vbs”
    ;EX “C:windowssystem32cmd.exe /i C:messageboard.vbs”
    EX “C:messageboard.vbs”
    ;


    LP “60”
    ;


    ;DF “C:messageboardmessageboard.vbs”
    EL

    #14748
    jlcarreiro
    Member
    • Total Post: 30
    • Frequent Flyer
    • ★★★

    Ok, we solved the problem. Turns out you need to use the CSCRIPT comand. We changed the EX as follows:
    EX “CSCRIPT C:messageboardmessageboard.vbs”
    Adding the CSCRIPT command.
    Thanks for everything and Happy Holidays!!! And Happy Festivus!

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