need some help with .wsf script

Home Forums Scripting General Scripting need some help with .wsf script

This topic contains 2 replies, has 2 voices, and was last updated by  mla 1 year, 3 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts

  • mla
    Member
    #167185

    Hi,
    when executing the .wsf script below it popups a window that requires to click OK to continue…
    What will be appropriate way to suppress the notif and just go to execute… Please provide the right modif…

    Const WelcomeMessage1 = “You have inserted a Windows Deployment Disk/Drive.”
    Const WelcomeMessage2 = “Press OK to continue with this installation, otherwise Cancel.”

    Need it for tomorrow, cannot test it now. but may be some command should be entered (scripting is touchy :) especially with a lack of knowledge in the topic ).

    Thx.

    __________________________________________________ ________



    [/CODE][CODE]

    [/CODE]


    mla
    Member
    #309886

    the solution was simple, suggested by my colleague…

    this script finally calls the script on the last line: oShell.Run “cscript.exe //nologo “”” & WScript.ScriptFullName & “..LiteTouch.vbs”””,,FALSE

    and it is LiteTouch.vbs

    that is… we bypass all messages and go straight to the script for the task


    biggles77
    Spectator
    #214260

    Nice job mla. Well done! :beer:

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.