Jump to content

Recommended Posts

Posted

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


Posted

Double click the .exe and let it sit there. Go into your "C:\Documents and Settings\User Name\Local Settings\Temp" folder and see if there's an msi file.

Posted
Double click the .exe and let it sit there. Go into your "C:\Documents and Settings\User Name\Local Settings\Temp" folder and see if there's an msi file.

.. No msi file

Posted

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.

Posted (edited)
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
Posted
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")

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

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