Westi Posted October 19, 2003 Posted October 19, 2003 @DarkbringerI don't have all the software.If you post the window title and the needed value of each window or button to be pressed, i will try to write a script.The better way is to make screenshots of the windows, who needs user interaction and send a PM.
Westi Posted October 19, 2003 Posted October 19, 2003 Disable Mouse and Keyboard while running a script:Download AutoITXYou need only the ActiveX Control version ~78kb (at the end of the page)Dim WSHShell, AutoItSet WSHShell = WScript.CreateObject("WScript.Shell")'Register the dllWSHShell.Run "regsrv32 /s \YourPath\AutoItx.dll"Set AutoIt = WScript.CreateObject("AutoItX.Control")AutoIt.BlockInput "on"'Do things...Wscript.Quit
ahmedramzi Posted October 20, 2003 Posted October 20, 2003 Does anyone know how to make a VBS Script that installs:ACDSee 6 PowerPackAcrobat writer pro 6Quicktime player 6.1?they all require name, company name & product key to be entered during setup
ahmedramzi Posted October 20, 2003 Posted October 20, 2003 does anyone know how to silent install these programs in order to attach them to my unattended XP CD?ACDSee 6 PowerPack (without MSI)Acrobat writer pro 6?Quicktime Player 6.1they all need some information to be entered during setup, I've asked DAVEXP & he told me to go to this thread and look for VBS Script that will do the job.any help?
visaversa Posted October 20, 2003 Posted October 20, 2003 ahmedramziUnlike Acrobat Reader prior to version 6, this new release does not use InstallShield's PackageForTheWeb. Instead, it uses something called the "Netopsystems FEAD optimizer", whose command-line switches are documented nowhere. However, Adobe provides silent installation instructions in their knowledgebase articles 53446 and 53495. Viewing these requires registering for an account with the "Adobe Solutions Network"; how annoying. Briefly, the magic invocation is: AdbeRdr60_enu_full.exe -p"-s /v\"/qn\""Alternatively, you can get hold of the MSI file with a quick hack. If you start the installer and wait for it to finish extracting files, you will find it creates a folder named %SystemRoot%\cache\Adobe Reader 6.0\BIGENU. (SystemRoot is normally C:\WINNT or C:\WINDOWS.) This folder contains the complete uncompressed tree, including an MSI file named Adobe Reader 6.0.msi. So just copy the BIGENU folder to, say, Z:\packages\AdobeReader60, and you can perform unattended installations like any other MSI package: msiexec /qb /i "z:\packages\AdobeReader60\Adobe Reader 6.0.msi"I know this is for Reader 6, but lets try it for the writer sorryLet me know W
DarkBringer Posted October 21, 2003 Posted October 21, 2003 PM sent for Spysweeper, Westi.Still can't download Webshots.
Westi Posted October 21, 2003 Posted October 21, 2003 PM sent for Spysweeper, Westi.Still can't download Webshots.I've the same problem with your file !?Check your PM !
XtremeMaC Posted October 24, 2003 Posted October 24, 2003 hey does anyone know how to use two send keys in onewhat I mean :{SHIFT} & {TAB} at the same time ? how do we do this?i've failed my previous attempts!
ahmedramzi Posted October 25, 2003 Posted October 25, 2003 visaversaunfortunately I'm trying to install Acrobat writer, not reader..thanks anyway for your post
DarkBringer Posted October 26, 2003 Posted October 26, 2003 Sorry I took so long to get back to you, Westi. But when I tried installing Webshots for the first time, I got errors like crazy. Then when you sent the correction I was like, "YES!!"The whole thing took about 10 seconds to install. I haven't tried Spysweeper yet, though. I'll send you a PM when I do. I am so indebted to you.
Westi Posted October 26, 2003 Posted October 26, 2003 hey does anyone know how to use two send keys in onewhat I mean :{SHIFT} & {TAB} at the same time ? how do we do this?i've failed my previous attempts!Sendkeys "+{TAB}"-SHIFT TABSendkeys "+"-SHIFTSendkeys "^"-CTRLSendkeys "%"-ALTSendkeys "+(ec)"-SHIFT ECSendkeys "+ec"-SHIFT E and normal cIf 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 !
XtremeMaC Posted October 26, 2003 Posted October 26, 2003 thanks westi! exactly what I was looking for
Westi Posted October 28, 2003 Posted October 28, 2003 Check for the right drive and name, Version 2 :Dim fso, objDrive, s, InstCDSet WshShell = WScript.CreateObject("WScript.Shell")Set fso = CreateObject("Scripting.FileSystemObject")For Each objDrive In fso.DrivesIf objDrive.IsReady Then If objDrive.DriveType = 4 And objDrive.VolumeName = "xxx-Your CD name-xxx" Then s = objDrive.DriveLetter & ":\"End IfNext'Write it to all keys in the registryWshShell.RegWrite "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\CDROM",s ,"REG_SZ"WshShell.RegWrite "HKCU\Environment\CDROM", s, "REG_SZ"WshShell.RegWrite "HKU\.Default\Environment\CDROM", s, "REG_SZ"'Get the value in another scriptInstCD = WshShell.ExpandEnvironmentStrings("%CDROM%")Wscript.QuitMy first version fails if a drive isn't ready
aitf311 Posted October 29, 2003 Posted October 29, 2003 I know this is a complete noob question, but how do I run a vbs file from a cmd? For example the winamp.vbs file...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now