pongpong Posted March 10, 2008 Share Posted March 10, 2008 Hi All,I want install new TrueCrypt 5.0a in silent mode , I try like old my installation of TrueCrypt 4.2.ausing : 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 suggestionsbye Link to comment Share on other sites More sharing options...
Grake Posted March 10, 2008 Share Posted March 10, 2008 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. Link to comment Share on other sites More sharing options...
pongpong Posted March 10, 2008 Author Share Posted March 10, 2008 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 Link to comment Share on other sites More sharing options...
radix Posted March 10, 2008 Share Posted March 10, 2008 Select "Extract" option and copy those files into a folder. Repack and choose to extractarchive 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 More sharing options...
pongpong Posted March 11, 2008 Author Share Posted March 11, 2008 Thanks, I will try Link to comment Share on other sites More sharing options...
Ralin Posted March 11, 2008 Share Posted March 11, 2008 (edited) Traveler ModeTrueCrypt 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-modeEdit: After testing this now, Traveller mode does not support encryption of system partition. Edited March 11, 2008 by Ralin Link to comment Share on other sites More sharing options...
radix Posted March 11, 2008 Share Posted March 11, 2008 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) ExitEndIf; Run the installerRun($EXECUTABLE); License AgreementWinWait("TrueCrypt Setup", "License Agreement")WinActivate("TrueCrypt Setup", "License Agreement")ControlCommand("TrueCrypt Setup", "", "Button5", "Check", "")ControlClick("TrueCrypt Setup", "", "Button3"); Wizard ModeWinWait("TrueCrypt Setup", "Wizard Mode")WinActivate("TrueCrypt Setup", "Wizard Mode")ControlClick("TrueCrypt Setup", "", "Button3"); Setup OptionsWinWait("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", "")EndIfIf $startmenu = 0 Then ControlCommand("TrueCrypt Setup", "", "Button8", "UnCheck", "")EndIfIf $desktopicon = 0 Then ControlCommand("TrueCrypt Setup", "", "Button10", "UnCheck", "")EndIfIf $filetypeassoc = 0 Then ControlCommand("TrueCrypt Setup", "", "Button7", "UnCheck", "")EndIfIf $restorepoint = 0 Then ControlCommand("TrueCrypt Setup", "", "Button9", "UnCheck", "")EndIfControlClick("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 beforeWinWait("TrueCrypt Setup", "If you have never used TrueCrypt before")WinActivate("TrueCrypt Setup", "If you have never used TrueCrypt before")ControlClick("TrueCrypt Setup", "", "Button2"); TrueCrypt InstalledWinWait("TrueCrypt Setup", "TrueCrypt Installed")WinActivate("TrueCrypt Setup", "TrueCrypt Installed")ControlClick("TrueCrypt Setup", "", "Button3") Link to comment Share on other sites More sharing options...
Grake Posted March 16, 2008 Share Posted March 16, 2008 http://www.doitrightconsulting.net/forum/v...hp?f=8&t=94RougheSpear has one made, you'll have to register there though. Lots of nice silent apps. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now