Jump to content

Acronis true image 8 Silent install


painkilla

Recommended Posts


hehe old and very humbling script....update to it should be out with in a week or so.

; ----------------------------------------------------------------------------
;
; AutoIt Version: 3.0
; Language:       English
; Platform:       Win9x / NT
; Author:         Nologic
; Version:   1.0
;
; Script Function:
; True Image v8.0.0
;
; ----------------------------------------------------------------------------


; ----------------------------------------------------------------------------
; End User Var's
; ----------------------------------------------------------------------------

$SF_1 = "True_Image_v8.0.0.exe";    Setup File Name
$UR_1 = "4RBEM"    ;    User Registration Code Part 1
$UR_2 = "P2DFN"    ;    User Registration Code Part 2
$UR_3 = "2XYRV"    ;    User Registration Code Part 3
$UR_4 = "L7QEF"    ;    User Registration Code Part 4
$UR_5 = "G49Z5"    ;    User Registration Code Part 5
$DL_1 = @ProgramFilesDir & "\Tools - Disk\True Image";    Directory Location
$SM_1 = "Tools - Disk\True Image"  ;    Start Menu Location
$OP_1 = "Y"    ; (Y)es or (N)o - Install For All Users
; Delete True Image Short Cuts
$S1_1 = "N"    ; (Y)es or (N)o - Delete Short Cut For True Image
$S1_2 = "N"    ; (Y)es or (N)o - Delete Short Cut For True Image User's Guide
$S1_3 = "Y"    ; (Y)es or (N)o - Delete Short Cut For Acronis Web Site
$S1_4 = "N"    ; (Y)es or (N)o - Delete Short Cut For Bootable Rescue Media Builder
$S1_5 = "Y"    ; (Y)es or (N)o - Delete Short Cut For Read Me
$S1_6 = "Y"    ; (Y)es or (N)o - Delete Short Cut For Uninstall True Image

$D1_1 = "Y"    ; (Y)es or (N)o - Delete Desktop Short Cut For True Image

; ----------------------------------------------------------------------------
; Prevent Dup Script From Running
; ----------------------------------------------------------------------------

$g_szVersion = "True Image v8.0.0"
If WinExists($g_szVersion) Then Exit; It's already running
AutoItWinSetTitle($g_szVersion)


; ----------------------------------------------------------------------------
; Script Defaults
; ----------------------------------------------------------------------------

Opt ("CaretCoordMode", 1);1=absolute, 0=relative
Opt ("ExpandEnvStrings", 0);0=don't expand, 1=do expand
Opt ("MouseClickDelay", 10);10 milliseconds
Opt ("MouseClickDownDelay", 10);10 milliseconds
Opt ("MouseClickDragDelay", 250);250 milliseconds
Opt ("MouseCoordMode", 0);1=absolute, 0=relative
Opt ("MustDeclareVars", 0);0=no, 1=require pre-declare
Opt ("PixelCoordMode", 1);1=absolute, 0=relative
Opt ("RunErrorsFatal", 1);1=fatal, 0=silent set @error
Opt ("SendAttachMode", 0);0=don't attach, 1=do attach
Opt ("SendCapslockMode", 1);1=store and restore, 0=don't
Opt ("SendKeyDelay", 5);5 milliseconds
Opt ("SendKeyDownDelay", 1);1 millisecond
Opt ("TrayIconDebug", 0);0=no info, 1=debug line info
Opt ("TrayIconHide", 0);0=show, 1=hide tray icon
Opt ("WinDetectHiddenText", 0);0=don't detect, 1=do detect
Opt ("WinSearchChildren", 1);0=no, 1=search children also
Opt ("WinTitleMatchMode", 3);1=start, 2=subStr, 3=exact, 4=...
Opt ("WinWaitDelay", 250);250 milliseconds


; ----------------------------------------------------------------------------
; Script Start
; ----------------------------------------------------------------------------

Run($SF_1)

; Welcome
WinWait  ( "Acronis True Image Setup" )
ControlClick ( "Acronis True Image Setup", "", "FXWindow4" )

; License
Sleep  ( 250 )
Send  ( "{ALTDOWN}an{ALTUP}" )

; Serial Number
Sleep  ( 250 )
Send  ( $UR_1 & $UR_2 & $UR_3 & $UR_4 & $UR_5 )
ControlClick ( "Acronis True Image Setup", "", "FXWindow4" )

; Destination Location
Sleep  ( 250 )
Send  ( "{DELETE 40}" & $DL_1 )
ControlClick ( "Acronis True Image Setup", "", "FXWindow4" )

; Administrator Options
Sleep  ( 250 )
If $OP_1 = "n" Then
Send ( "{SPACE}" )
EndIf
ControlClick ( "Acronis True Image Setup", "", "FXWindow4" )

; Start Menu
Sleep  ( 250 )
Send  ( "{DELETE 40}" & $SM_1 )
ControlClick ( "Acronis True Image Setup", "", "FXWindow4" )

; Ready
Sleep  ( 250 )
ControlClick ( "Acronis True Image Setup", "", "FXWindow4" )

; Processing
WinWait  ( "Processing, please wait...", "" )
WinWaitClose ( "Processing, please wait...", "" )

; Create Bootable Rescue Media
Sleep  ( 250 )
ControlClick ( "Acronis True Image Setup", "", "FXWindow22" )
ControlClick ( "Acronis True Image Setup", "", "FXWindow4" )

; View Readme Text
Sleep  ( 250 )
Send  ( "{SPACE}" )
ControlClick ( "Acronis True Image Setup", "", "FXWindow4" )

; Reboot
Sleep  ( 250 )
ControlClick ( "Acronis True Image Setup", "", "FXWindow10" )


; ReName Disk Editor Short Cuts
$local = @ProgramsCommonDir & "\Tools - Disk\True Image\"
FileCopy ( $local & "Acronis True Image.lnk", $local & "True Image.lnk" )
FileCopy ( $local & "Acronis True Image User's Guide.lnk", $local & "True Image User's Guide.lnk" )
FileCopy ( $local & "Uninstall Acronis True Image.lnk", $local & "Uninstall True Image.lnk" )
FileDelete ( $local & "Acronis True Image.lnk" )
FileDelete ( $local & "Acronis True Image User's Guide.lnk" )
FileDelete ( $local & "Uninstall Acronis True Image.lnk" )

; Delete Disk Editor Short Cuts
$local = @ProgramsCommonDir & "\Tools - Disk\True Image\"
If $S1_1 = "y" Then FileDelete ( $local & "True Image.lnk" )
If $S1_2 = "y" Then FileDelete ( $local & "True Image User's Guide.lnk" )
If $S1_3 = "y" Then FileDelete ( $local & "Acronis Web Site.url" )
If $S1_4 = "y" Then FileDelete ( $local & "Bootable Rescue Media Builder.lnk" )
If $S1_5 = "y" Then FileDelete ( $local & "Read Me.lnk" )
If $S1_6 = "y" Then FileDelete ( $local & "Uninstall True Image.lnk" )

; Delete Desktop Short Cuts
If $D1_1 = "y" Then FileDelete ( @DesktopCommonDir & "\Acronis True Image.lnk" )

Exit

;EOF

Link to comment
Share on other sites

Its a waste of time to install it....

Much easier and helpful, would be to just install it once with the serial, then use the boot media builder to write a CD-RW.

Then extract the boot-image from the CD (using ultraiso) and now you can have it as an option on your multi-boot CD. Whenever you need to use it, boot with that CD - which is what you should really be looking for (because if you've paid for that license key, why'd you want it installed on other machines where the CD is used!).

Link to comment
Share on other sites

yes, that's how I know that its far easier and more useful.

The method to do it, I've described above. Actually carrying it out might take 2 minutes if you were already familiar with multi-boot discs, and maybe half-an-hour to learn if you weren't familiar with it. Go ahead, give it a try!

Resources for help:

easyboot forum (for multi-boot - search for acronis)

MSFN forum (search for "acronis" )

Freely downloadable tools, which you need:

EasyBoot

UltraISO

good luck!

Link to comment
Share on other sites

  • 2 weeks later...

Yes you are right! I know it accepts the /silent because I think it's installer is made by Setup Factory, but I didn't know about the /serial. Thanks. :thumbup

edit: It's not Setup Factory, and Setup Facotry uses the /s switch. What kind of installer is this?? :lol:

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
  • Recently Browsing   0 members

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