Script to install RDPC6.1 not always working

  • This topic is empty.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1753
    Avatardutchclient
    Member
    • Total Post: 13
    • Regular Joe
    • ★★

    Hi,

    I made a script to install RDC6.1 silently on our 9150 SE and S90 TC’s. At random, the script does not work, always on the same TC, I think always on a 9150SE. The script works and I can even see the installation progress. But after installation, the RDP is still 5.2, there is no error message. It also occurs when the write filter is disabled. I tried it on WDM 4.7 and 4.5.3. Here is the script:

    ;


    ; copy some files
    ;



    SF “*.*” “c:”

    ;


    ; Execute file
    ;



    EX “C:rdc61WindowsXP-KB952155-x86-ENU.exe /passive”

    ;


    ; Reboot Thin client
    ;



    RB

    ;


    ; Check RDP Version
    ;


    CV “c:windowssystem32mstsc.exe” “=” “6.0.6001.18000”

    ;


    ; UnLock Thin Client
    ;



    EL*

    #15047
    ConfGenConfGen
    Keymaster
    • Total Post: 11110
    • Jedi Master
    • ★★★★★★★

    Could it be that RDP is in use while update?

    CG

    #15056
    Avatardutchclient
    Member
    • Total Post: 13
    • Regular Joe
    • ★★

    Thanks for replying, but the RDP was certainly not in use.

    #15058
    ConfGenConfGen
    Keymaster
    • Total Post: 11110
    • Jedi Master
    • ★★★★★★★

    Does the RDP installer give you the option to write a log or do the install verbose?
    Anything in the eventlog?

    CG

    #15059
    Avatardutchclient
    Member
    • Total Post: 13
    • Regular Joe
    • ★★

    I added the option /log c:log but it doesn’t create a log. There is no option to create a verbose installation. There is nothing in the eventviewer.
    If I ask the TC to reboot after the installation, it extracts the files to a temp folder, but then it reboots, I think without finishing the installation. When I don’t ask the TC to reboot, it seems to complete the installation, but still the RDP version remains 5.2. I could try to “catch”the temp folder (it dissapears after the installation) and try to create an installation from that.

    #15061
    ConfGenConfGen
    Keymaster
    • Total Post: 11110
    • Jedi Master
    • ★★★★★★★

    Good idea. Think about extracting the package as it could be that there isn’t enough space in the temp dir to extract and install everything. And therefore the install just stops before it really has started.
    Esiest way would be to start the install on a PC and save the files from the temp dir before exiting the install there.

    CG

    #15062
    Avatardutchclient
    Member
    • Total Post: 13
    • Regular Joe
    • ★★

    It doesn’t help either, at least it gives me an error message: Try 4:EX Does Not Accept:0 Args Line#: 24 Cmd:EX “C:rdc61update.exe /passive.
    If I execute the update as an admin on the TC, I works fine, but I have to manually approve the eula, so I need the /passive option (unattended mode, progress bar only)

    #15070
    Avatardutchclient
    Member
    • Total Post: 13
    • Regular Joe
    • ★★

    I managed to solve the problem. I did indeed manage to copy the temp extracted files, without the $shtdwn$.reg which I guess was responsable for rebooting. Then I created and copied a batch file: cd
    cd c:rdc61update
    update.exe /passive

    Now it is working fine (although the update actually is done twice). Thanks for the advice.

    #15074
    Avatardutchclient
    Member
    • Total Post: 13
    • Regular Joe
    • ★★

    On another TC, the script failed again, so I added the LP command, which causes the script to pause while the installation continues, instead of rebooting and thus cancelling the installateion.

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