locked
VB Script RRS feed

  • Question

  • I have this code 
    Set objShell = Wscript.CreateObject("WScript.Shell")
    objShell.Run "C:\Users\TSC6\Desktop\POSDRVEN V6.33.exe"

    Wscript.Sleep 1000
    objShell.SendKeys "%n"

    Wscript.Sleep 1000
    objShell.SendKeys "%a"

    Wscript.Sleep 1000
    objShell.SendKeys "%n"

    Wscript.Sleep 1000
    objShell.SendKeys "%n"

    Wscript.Sleep 1000
    objShell.SendKeys "%i"

    Wscript.Sleep 30000
    objShell.SendKeys "%f"

    Wscript.Echo "Complete"
    WScript.Quit

    for silent installation. What I want is to run this program and pause it in the middle for users to decide on which OS they will install this one. I also want to ask for help to check first if this program is already installed in a PC before installing. \

    Please help me, Im newbie in programming and i want to learn.

    Thanks.

    • Moved by Amanda Zhu Friday, October 18, 2013 9:22 AM NOt VS general issue
    Friday, October 18, 2013 2:14 AM

Answers

  • Hello,

    Thank you for your post.

    I am afraid that the issue is out of support range of VS General Question forum which mainly discusses WPF & SL designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System and Visual Studio Editor.

    Maybe you can consult on Script forums: http://social.technet.microsoft.com/Forums/en-US/home?category=scripting for better response.

    Thanks,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    • Proposed as answer by Luigi BrunoMVP Friday, October 18, 2013 11:00 AM
    • Marked as answer by Just Karl Friday, October 25, 2013 2:32 PM
    Friday, October 18, 2013 9:22 AM