Jump to content

TrueCrypt 5 Silent


pongpong

Recommended Posts

Hi All,

I want install new TrueCrypt 5.0a in silent mode , I try like old my installation of TrueCrypt 4.2.a

using : REG ADD %KEY%\093 /V 1 /D "%systemdrive%\install\truecrypt\truecrypt.msi /qb " /f ,

but I have only TrueCrypt 5.0a.exe , (no msi) and only with this exe I cannot install in silent mode.

Thanks in advance for any suggestions

bye

Link to comment
Share on other sites


Select "Extract" option and copy those files into a folder. Repack and choose to extract

archive for example to

%programfiles%\TrueCrypt\

(portable solution).

If you want to install the program instead of copy the extracted files, probable you need an AutoIt script.

Link to comment
Share on other sites

Traveler Mode

TrueCrypt can run in so-called 'traveler' mode, which means that it does not have to be installed on the operating system under which it is run. However, there are two things to keep in mind:

* You need administrator privileges in order to able to run TrueCrypt in 'traveler' mode.

* After examining the registry file, it may be possible to tell that TrueCrypt was run (and that a TrueCrypt volume was mounted) on a Windows system even if it is run in traveler mode.

If you need to solve these problems, we recommend using BartPE for this purpose. For further information on BartPE, see the question “Is it possible to use TrueCrypt without leaving any 'traces' on Windows?” in the section Frequently Asked Questions.

http://www.truecrypt.org/docs/?s=traveler-mode

Edit: After testing this now, Traveller mode does not support encryption of system partition.

Edited by Ralin
Link to comment
Share on other sites

After testing this now, Traveller mode does not support encryption of system partition.

Use next code, but first customize variables on the top ($INSTALLLOCATION, $allusers...):

Opt("TrayIconDebug", 1)
Opt("SendKeyDelay", 200)
; Executable file name
$EXECUTABLE = "TrueCrypt Setup 5.0a.exe"
; Installation folder
$INSTALLLOCATION = @ProgramFilesDir & "\TrueCrypt\"
; Install for all users
$allusers = "1"
; Add TrueCrypt to Start Menu
$startmenu = "1"
; Add TrueCrypt icon to desktop
$desktopicon = "1"
; Associate the .tc file extension with TrueCrypt
$filetypeassoc = "1"
; Create System Restore point
$restorepoint = "1"

If FileExists($INSTALLLOCATION & "\TrueCrypt.exe") Then
MsgBox(0x40010, @ScriptName, "Please uninstall previous version of TrueCrypt before using this script", 4)
Exit
EndIf

; Run the installer
Run($EXECUTABLE)

; License Agreement
WinWait("TrueCrypt Setup", "License Agreement")
WinActivate("TrueCrypt Setup", "License Agreement")
ControlCommand("TrueCrypt Setup", "", "Button5", "Check", "")
ControlClick("TrueCrypt Setup", "", "Button3")

; Wizard Mode
WinWait("TrueCrypt Setup", "Wizard Mode")
WinActivate("TrueCrypt Setup", "Wizard Mode")
ControlClick("TrueCrypt Setup", "", "Button3")

; Setup Options
WinWait("TrueCrypt Setup", "Setup Options")
WinActivate("TrueCrypt Setup", "Setup Options")
ControlSetText("TrueCrypt Setup", "", "Edit1", "")
Sleep(1000)
ControlSetText("TrueCrypt Setup", "", "Edit1", $INSTALLLOCATION)
If $allusers = 0 Then
ControlCommand("TrueCrypt Setup", "", "Button6", "UnCheck", "")
EndIf
If $startmenu = 0 Then
ControlCommand("TrueCrypt Setup", "", "Button8", "UnCheck", "")
EndIf
If $desktopicon = 0 Then
ControlCommand("TrueCrypt Setup", "", "Button10", "UnCheck", "")
EndIf
If $filetypeassoc = 0 Then
ControlCommand("TrueCrypt Setup", "", "Button7", "UnCheck", "")
EndIf
If $restorepoint = 0 Then
ControlCommand("TrueCrypt Setup", "", "Button9", "UnCheck", "")
EndIf
ControlClick("TrueCrypt Setup", "", "Button3")

; TrueCrypt has been successfully installed.
WinWait("TrueCrypt Setup", "TrueCrypt has been successfully installed.")
WinActivate("TrueCrypt Setup", "TrueCrypt has been successfully installed.")
ControlClick("TrueCrypt Setup", "", "Button1")

; If you have never used TrueCrypt before
WinWait("TrueCrypt Setup", "If you have never used TrueCrypt before")
WinActivate("TrueCrypt Setup", "If you have never used TrueCrypt before")
ControlClick("TrueCrypt Setup", "", "Button2")

; TrueCrypt Installed
WinWait("TrueCrypt Setup", "TrueCrypt Installed")
WinActivate("TrueCrypt Setup", "TrueCrypt Installed")
ControlClick("TrueCrypt Setup", "", "Button3")

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...