Jump to content

Autoxplite


ezzetabi
 Share

Recommended Posts

I made this simple script for my fully unattended WinXP installation CD.

But I think that any XPlite users may like it. It emulate the /auto tag that is not avaiable in the normal edition.

(I am a licensed user, so not ask :ph34r: )

If you do not know what XPLite is run to

http://www.litepc.com

Opt("TrayIconHide",1)
Dim $OptionFile = 'Ezzetabi' ;Put here your default

If @OSVersion <> "WIN_XP" Then
   MsgBox(0,"Error","This AutoXpLite works only with WinXP",10)
   Exit
EndIf

If $CmdLine[0] > 0 Then
   $OptionFile = $CmdLine[1]
EndIf

If Not FileExists('XPlite.exe') Then Exit
If IniRead('XPlite.cfg',$OptionFile,'SystemRestore','NotFound') = 'NotFound' Then
   MsgBox(0,"Error","Can't find the option file requested.",10)
   Exit
EndIf

AdlibEnable("_Messages",1000)

Run('XPlite.exe /o:' & $OptionFile & ' /l','')
WinWait("XPlite"," &Start")
ControlClick("XPlite","&Start","TTntButton.UnicodeClass1")
WinWait("XPlite"," Add/&Remove Components")
ControlSend("XPlite","Add/&Remove Components","TTntButton.UnicodeClass3","!n")
WinWait("XPlite  Add/&Remove Components","XPlite setup is complete.")
ControlClick("XPlite  Add/&Remove Components","XPlite setup is complete.","Button1")
WinClose("XPlite"," Add/&Remove Components")

Exit
Func _Messages()
   If WinExists("System Settings Change","You must restart your computer before the new settings will take effect.") Then
      ControlClick("System Settings Change","You must restart your computer before the new settings will take effect.","Button2")
   EndIf
   If WinExists("XPlite","You have selected to clear the File Protection DllCache folder.") Then
      ControlClick("XPlite","You have selected to clear the File Protection DllCache folder.","Button1")
   EndIf
   If WinExists("XPlite","A System Restore point could not be saved.") Then
      ControlClick("XPlite","A System Restore point could not be saved.","Button1")
   EndIf
EndFunc
Link to comment
Share on other sites

Yeah, I used XPLite. Takes stuff out and lucky if you get it back.

I go to MSFN.org for alotta unattended ideas.

Try this to make sure it will never come back http://nuhi.msfn.org/index.html

Shrinks XP + SP2 down to 200 - 400 Mbs, depending on what you take out.

They are extreme there. Cool :ph34r: .

I post some Autoit scripts there to try and wheel them in. Some other Autoit scripters there as well. More batchers though.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...