MSFN Forums: autoit nghost12 and lmhosts file - MSFN Forums

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

autoit nghost12 and lmhosts file Rate Topic: -----

#1 User is offline   sadisticopiate 

  • Group: Members
  • Posts: 1
  • Joined: 27-February 08

Posted 04 April 2008 - 11:22 PM

i made an autoit script for norton ghost 12 and it works fine sometimes and other times it seems like it miss types or the timing is off or something can anyone tell me why?

also i would like to automatically initiate my lmhosts file during install but have no clue how i figure just put it in the i386 folder with the lmhosts.sam file but im not sure if that would copy it over or not and if it does will windows automatically read that lmhosts file

here is my ghost12 script

Opt("WinWaitDelay",100)
Opt("WinTitleMatchMode",4)
Opt("WinDetectHiddenText",1)
Opt("MouseCoordMode",0)
Run('C:\WinXE\NGhost12Install\SETUP.EXE')
WinWait("Norton Ghost - InstallShield Wizard","")
If Not WinActive("Norton Ghost - InstallShield Wizard","") Then WinActivate("Norton Ghost - InstallShield Wizard","")
WinWaitActive("Norton Ghost - InstallShield Wizard","")
Sleep("5000")
AutoItSetOption("SendKeyDelay", 400)
Send("{ENTER}")
Send("a")
Send("n")
Send("n")
Send("s")
Send("n")
Send("{DOWN}")
Send("{DOWN}")
Send("{DOWN}")
Send("{DOWN}")
Send("{SPACE}")
Send("{DOWN}")
Send("{DOWN}")
Send("{DOWN}")
Send("{ENTER}")
Send("{ENTER}")
Send("i")
Sleep(70000)
Send("{TAB}")
Send("{SPACE}")
Send("f")
WinWait("Norton Ghost Installer Information","")
If Not WinActive("Norton Ghost Installer Information","") Then WinActivate("Norton Ghost Installer Information","")
WinWaitActive("Norton Ghost Installer Information","")
Send("n")
$SF_1 = "SETUP.EXE"

If WinExists ( $SF_1 ) Then Exit
AutoItWinSetTitle ( $SF_1)


thx ahead of time for the help

also sorry if this is the wrong section to ask this

This post has been edited by sadisticopiate: 04 April 2008 - 11:24 PM


Ad Bot #1 User is online   Sponsor Icon

  • Advert Bot
  • Group: Ad Bots
  • Posts: 0
  • Joined: --

Warn Status

Warning level: 0%

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


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