Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

AutoIT Script Collection - Contributions Only

* * * * * 2 votes

  • Please log in to reply
264 replies to this topic

#251
gnikolic

gnikolic
  • Member
  • 1 posts
  • OS:XP Pro x86
  • Country: Country Flag
Hello All!

Need a little help. Just confussed what is the best try to make script to do what i want to do.
I want to make a script:
1. ask a workstation name and set to the computer.
2. restart same.
3. if there is installed .net, go to next step, if isnt, install it...

Is it possible to make script which would be in startup and do these first steps?
Is it possible to make script which would be usable to test is it name of computer setups after restart?
If using IF command how to check is there some folder or file and not having IFNOTEXIST...
I'll made script with something like this: IF FILEEXIST("C:\Folder") then goto
but there isnt goto command. If there is something like IF FILEnotEXIST("C:\Folder") it would be much easyer...

Any help?

My idea is to make script to make useable computer after driver installation. Setup workstation name, install .net, install messenger, Office, divx codecs, and at last join the workstation to domain...


How to remove advertisement from MSFN

#252
radix

radix

    Friend of MSFN

  • Member
  • PipPipPipPipPip
  • 738 posts
  • OS:Windows 8 x64
  • Country: Country Flag
Ashampoo Burning Studio 11 v.11.0.3

Attached Files


Edited by radix, 11 March 2012 - 09:09 AM.


#253
radix

radix

    Friend of MSFN

  • Member
  • PipPipPipPipPip
  • 738 posts
  • OS:Windows 8 x64
  • Country: Country Flag
DivX Plus 8.2.2 Build 1.8.5.36

Attached Files


Edited by radix, 04 March 2012 - 07:22 AM.


#254
radix

radix

    Friend of MSFN

  • Member
  • PipPipPipPipPip
  • 738 posts
  • OS:Windows 8 x64
  • Country: Country Flag
ZoneAlarm Free 10.1.079.000

Attached Files


Edited by radix, 08 February 2012 - 05:24 AM.


#255
radix

radix

    Friend of MSFN

  • Member
  • PipPipPipPipPip
  • 738 posts
  • OS:Windows 8 x64
  • Country: Country Flag
uTorrent 3.1.3 Build 26837
Removed

Edited by radix, 16 November 2012 - 03:13 PM.


#256
Sonic

Sonic

    Sonic

  • Patrons
  • 1,603 posts
Avast 7

edit ALT-KEY (= !x ) to your localized version
you can view ALT-key needed during normal setup and pressing only ALT key during 2 seconds
here is for french version

edit the two first RegWrite values to your license
here is free one year license valid to 14/04/2012

edit last lines to your localized version
replace "Bloc-notes" to "Notepad" for example ...

avast5.ini is edited to Disable AutoSandBox and AutoUpdate Program same as defs
you can delete last lines to skip edit avast5.ini.

Feel free to comments to optimize

;au3 by Sonic

;Free License
RegWrite("HKLM\SOFTWARE\AVAST Software\Avast","RegData","REG_BINARY","0cca8caa66ca8caa66ca8caa66ca8caa0bca8caa66ca85aa6ecaf4aa6eca84aa6fca83aa72cae0aa6ecafbaa68caf4aa13cae7aa17cab5aa2fd104e55fcab5aa")
RegWrite("HKLM\SOFTWARE\AVAST Software\Avast","Registration","REG_BINARY","c6ffb9ffbaffcaffcfffccffcaffbaffd2ffc8ffbbffb9ffcbffd2ffcbffbcffc9ffc7ffd2ffc7ffcaffcfffbdffd2ffbeffcdffc8ffc8ffbbffcaffcdffc6ffcdffc7ffcfffc9ffffffa9f52a8eb2889189e1ff01000000a7fcb688e463b688ffffb9881f0ba9f5ffffffff8f0aa9f544feb68851c0ff82870aa9f5ffffffff870aa9f5a1c1ff82bf0aa9f5ef09a9f5fffff58944feb688070ba9f551739a89967ca189cfde96fffcffffff007da189cfde96ff998796ff030ba9f5f479a189998796ffc76f96fffa6376b0ffffffff7a3095aeffffffff7a3095aeffffffff")

;Disable Google Things
RegWrite("HKLM\SOFTWARE\Google\No Chrome Offer Until","AVAST Software","REG_DWORD","20200101")
RegWrite("HKLM\SOFTWARE\Google\No Toolbar Offer Until","AVAST Software","REG_DWORD","20200101")
RegRead("HKCU\Software\Google\Update\Clients\{8A69D345-D564-463c-AFF1-A69D9E530F96}","pv")
If @error<>"0" Then
RegWrite("HKCU\Software\Google\Update\Clients\{8A69D345-D564-463c-AFF1-A69D9E530F96}","pv","REG_SZ","")
EndIf
Sleep("500")

;Start Setup
Run("avast7.exe")
WinWaitActive("avast! FREE ANTIVIRUS Setup")
WinActivate("avast! FREE ANTIVIRUS Setup")
Sleep("500")
Opt("SendKeyDelay", 500)
Send("!p")
Send("!s")
Send("!d")
Sleep("500")
Opt("SendKeyDelay", 50)
Send("{TAB 6}")
Send("{SPACE}")
Send("{TAB}")
Send("{SPACE}")
Send("{TAB 8}")
Send("{SPACE}")
Opt("SendKeyDelay", 500)
Send("!s")
Send("!s")
ProcessWait("ashQuick.exe")
ProcessWaitClose("ashQuick.exe")
ProcessClose("avast.setup")
FileDelete(@DesktopCommonDir&"\avast! Free Antivirus.lnk")

;avast5.ini Options
BlockInput(1)
ShellExecute("notepad.exe",@AppDataCommonDir&"\AVAST Software\Avast\avast5.ini")
WinWait("avast5")
Sleep("500")
Opt("SendKeyDelay", 1)
ControlSend("avast5","","","{DOWN 122}",0)
ControlSend("avast5","","","AutoSandboxEnabled=0{ENTER}",0)
ControlSend("avast5","","","ProgramUpdate=Auto{ENTER}",0)
ControlSend("avast5","","","!{F4}",0)
Sleep("500")
ControlClick("Bloc-notes", "", "Button1")
BlockInput(0)

Edited by Sonic, 15 April 2012 - 01:56 PM.


#257
radix

radix

    Friend of MSFN

  • Member
  • PipPipPipPipPip
  • 738 posts
  • OS:Windows 8 x64
  • Country: Country Flag

Start Is Back 2.1.1

1. If your Windows 8 operating system is other version than English, this script will not work for you.
In this case, use AutoIt 3 Info utility to find your StartIsBack windows titles and text located
inside those windows and change this script to fit your needs.
2. Tweaks section contain some registry settings explained. If you don't want them, delete them and put your
own (use RegShot, SysTracer
or other similar programs to capture registry changes).
3. Copy your License Key below on $LicenseKey variable, inside quotes. If the License Key is not provided,
activation will be skipped. If you provide a License Key, but the internet connection is closed during
activation, the AutoIt script or the compiled AutoIt script will close the pop-up window that contain
the error message.

4. Download the start button images containing Windows logo from here (due to Microsoft request, all
start button images containing Windows logo were removed from installer): http://tihiy.net/files/WinOrbs.zip
5. Unzip the archive downloaded in the previous step to "WinOrbs" folder.
6. Installer, WinOrbs folder and the compiled AutoIt file must be in the same folder.

Attached Files


Edited by radix, 31 July 2013 - 09:18 AM.


#258
radix

radix

    Friend of MSFN

  • Member
  • PipPipPipPipPip
  • 738 posts
  • OS:Windows 8 x64
  • Country: Country Flag

Kaspersky Anti-Virus 2013 v13.0.1.4190

 

Read the instructions from the top of the AutoIt file.

Attached Files


Edited by radix, 23 August 2013 - 05:23 AM.


#259
radix

radix

    Friend of MSFN

  • Member
  • PipPipPipPipPip
  • 738 posts
  • OS:Windows 8 x64
  • Country: Country Flag

Take ownership and add full permissions for the current user - for files and folders recursively, in context menu (using SetACL)

 

Do not mess with this context menu entry on the partition where you have installed Windows, except if you know what you are doing!

It can take permissions and change the owner of any file (exe is included) and it's set to work recursively on all levels if it used on folders.

The context menu entry "Take Ownership" which uses Windows files and that can be easily found on the web can't do these things!

Read the instructions from the top of AutoIt file.


Edited by radix, 28 February 2014 - 03:39 PM.

  • SunLion likes this

#260
MAVERICKS CHOICE

MAVERICKS CHOICE

    The Guy from Aus

  • Member
  • PipPipPipPipPipPipPip
  • 1,761 posts
  • OS:Windows 7 x64
  • Country: Country Flag

Take ownership and add full permissions for the current user - for files and folders recursively, in context menu (using SetACL)

 

Do not mess with this context menu entry on the partition where you have installed Windows!

It can take permissions and change the owner of any file (exe is included) and it's set to work recursively on all levels if it used on folders.

The context menu entry "Take Ownership" which uses Windows files and that can be easily found on the web can't do these things!

Read the instructions from the top of AutoIt file.

Thanks



#261
Ashvin

Ashvin
  • Member
  • 5 posts
  • OS:XP Home
  • Country: Country Flag

Hello,

I am working on one software application having sql server database.

I need to uninstall and install the software frequently which takes lot of time, so i want to automate this process to save time.

 

few points to be considered.

- Application setup.exe file install software with "install shield" wizard ( there are 8-10 screen in setup, Title bar of each screen will be like "AppName" - InstallShield Wizard)

- While installation it asks to select database also, so Database should exist prior installation starts

- While installation setup will deploy SSRS reports also, so need to specify report server

- While setup title bar of each setup screen will remain same like ""AppName" - Install shield Wizard"

 

Is there any way i can automate this process ? so that my installation can be done faster and easily by one click.

I believe AutoIT may be useful for this task.

 

If anyone has worked on similar task or have any sample script ready, then that will be great help.

 

Thanks in Advance,

Ashvin



#262
MAVERICKS CHOICE

MAVERICKS CHOICE

    The Guy from Aus

  • Member
  • PipPipPipPipPipPipPip
  • 1,761 posts
  • OS:Windows 7 x64
  • Country: Country Flag

Hello Guys has anyone had any luck with VSO Convert X to DVD 5 silent install?



#263
ParsiXpress

ParsiXpress
  • Member
  • 3 posts
  • OS:Windows 7 x86
  • Country: Country Flag
Mozilla Thunderbird -Any Version example: 24.5

#264
ParsiXpress

ParsiXpress
  • Member
  • 3 posts
  • OS:Windows 7 x86
  • Country: Country Flag
Mozilla Thunderbird -Any Version example: 24.5 Download: http://www.mediafire...Thunderbird.zip

#265
ParsiXpress

ParsiXpress
  • Member
  • 3 posts
  • OS:Windows 7 x86
  • Country: Country Flag
Mozilla Firefox with Customized Settings and Proxy Selector Any Version http://www.mediafire...e46/Filefox.zip

Attached Files






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN