MSFN Forum: Automatic Installing With Vbs Scripts - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

Read Forum Rules
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Automatic Installing With Vbs Scripts How to Rate Topic: -----

#1 User is offline   Alphaz 

  • Junior
  • Pip
  • Group: Members
  • Posts: 82
  • Joined: 26-November 03

  Posted 02 December 2003 - 04:43 AM

Hi,

I used the VBS script to install adware, and it works fine! I would like to know how I can apply this technique to other programs? Does it matter if the program to be install is not in english? For the program I want to install, I have to do the following:

OK
Suivant (Next)
Suivant (Next)
Suivant (Next)
Suivant (Next)
Oui/Non (Yes/No)
Oui/Non (Yes/No)
Oui/Non (Yes/No)
Terminer (Finish)

In the script for adaware, I noticed the "n" standing for Next, is it the same for any other language or shall I use the first letter of the corresponding button?

WScript.Sleep 250
WshShell.SendKeys "n"


Thnaks in advance for any help.

A.


#2 User is offline   un4given1 

  • Elaborate Dreamer
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,796
  • Joined: 25-September 03

Posted 02 December 2003 - 04:47 AM

If you are installing a program, you notice on the NEXT button that the N has an underline under it. If you press N at that time it will assume "NEXT" Use they keys you would use if you were installing it using ONLY the keyboard.

#3 User is offline   Alphaz 

  • Junior
  • Pip
  • Group: Members
  • Posts: 82
  • Joined: 26-November 03

Posted 02 December 2003 - 04:52 AM

Ok thanks, and what if I want to press the "Enter" or "Tab" keys ?

A.

#4 User is offline   un4given1 

  • Elaborate Dreamer
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,796
  • Joined: 25-September 03

Posted 02 December 2003 - 06:18 AM

I am not a VB guy... I only remember seeing a thread about this. I belive tab is <TAB> I am not sure what ENTER is. You can probably search and find the thread.

#5 User is offline   Bachus 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 408
  • Joined: 25-July 03

Posted 02 December 2003 - 06:37 AM

I don't know who originally posted this, but here is a little something I've saved from an earlier thread:

Quote

Sendkeys "+{TAB}"
-SHIFT TAB

Sendkeys "+"
-SHIFT

Sendkeys "^"
-CTRL

Sendkeys "%"
-ALT

Sendkeys "+(ec)"
-SHIFT EC

Sendkeys "+ec"
-SHIFT E and normal c

If you need the normal value, insert it in {}:
"{+}" is +

All special keys:
{BACKSPACE} or {BS} or {BKSP}, {BREAK},{CAPSLOCK},{DELETE} or {DEL}
{DOWN},{UP},{END},{ENTER} or ~,{ESC},{HELP},{HOME},{INSERT} or {INS}
{LEFT},{RIGHT},{NUMLOCK},{PGDN},{PGUP},{PRTSC},{SCROLLLOCK},{TAB}
{F1}..... {F16}

CTRL/ALT/DEL and special window keys not implemented !


#6 User is offline   Alphaz 

  • Junior
  • Pip
  • Group: Members
  • Posts: 82
  • Joined: 26-November 03

Posted 02 December 2003 - 03:42 PM

How can I uncheck a box? I tried with {SPACE}, thinking pressing the space key on the keyboard but it didn't seem to work.

#7 User is offline   Alphaz 

  • Junior
  • Pip
  • Group: Members
  • Posts: 82
  • Joined: 26-November 03

Posted 02 December 2003 - 03:53 PM

I found the trick, I jump to the box with WshShell.SendKeys "{TAB}" and then do a WshShell.SendKeys "-" to remove the check

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy