Jump to content

Truecrypt Script


Guest hummer
 Share

Recommended Posts

Hi Guys,

first of all Autoit is a great pice of Software!! Thanks for it!

Now to my problem:

Today I tried to create a Truecrypt (http://www.truecrypt.org/) Autoit v3 Script, but I simply did not get it to work. I get the Application to start, than in the next step I get autoit to press the Install button than I receive an error that the installation routine cannot copy a file to the installationdir...

What seems strange to me is that the license is not displayed when I start the installation-file with autoit. When i start it by douple-clicking the exe it is shown on the startup screen....

Here is my script:

$device = envget("Systemdrive")

MsgBox("","",'"' & $device & "\truecrypt\TrueCrypt Setup.exe" & '"')

Run('"' & $device & "\truecrypt\TrueCrypt Setup.exe" & '"')

WinWaitActive("TrueCrypt Setup")

Send("{ENTER]}")

I just dont know whats wrong... Can you pls help me?

Greetings to ya all!

Link to comment
Share on other sites

Hi Guys,

first of all Autoit is a great pice of Software!! Thanks for it!

Now to my problem:

Today I tried to create a Truecrypt (http://www.truecrypt.org/) Autoit v3 Script, but I simply did not get it to work. I get the Application to start, than in the next step I get autoit to press the Install button than I receive an error that the installation routine cannot copy a file to the installationdir...

What seems strange to me is that the license is not displayed when I start the installation-file with autoit. When i start it by douple-clicking the exe it is shown on the startup screen....

Here is my script:

$device = envget("Systemdrive")

MsgBox("","",'"' & $device & "\truecrypt\TrueCrypt Setup.exe" & '"')

Run('"' & $device & "\truecrypt\TrueCrypt Setup.exe" & '"')

WinWaitActive("TrueCrypt Setup")

Send("{ENTER]}")

I just dont know whats wrong... Can you pls help me?

Greetings to ya all!

$device = envget("Systemdrive")
MsgBox(0, "", $device & "\truecrypt\TrueCrypt Setup.exe")
Run($device & "\truecrypt\TrueCrypt Setup.exe")
WinWaitActive("TrueCrypt Setup")
Send("{ENTER}")

I don't know if you copied and pasted this from your actual code, but if you did, there was an extra character in the ("{ENTER}"). Additionally, you do not need quotes in front of your variables. I do not know if that will solve your problem (seems like another issue) but it is a start.

Edited by SerialKiller
Link to comment
Share on other sites

Hi SeriaKiller!

Thanks for your fast help. unfortunately your suggestions did not solve the error. For me it seems to be any kind of a permission problem because the installer says he cannot copy the files... I therefore already tried to run the installer with local admin rights but didn help either.

I attached a screenshot of the error.

Do you have any other idea Serial?

Greetz

While looking through the Truecryp Forum I found the following information:

Truecrypt used to be service based, its now driver based.

On MS windows you need admin rights to install a service or driver.

Thus you need it for TC.

Does this help??
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...