guinness wrote:4. From there I selected that .bat file and nothing happened!!
Did you ever try running EjectUSB_beta.exe or did you only try EjectUSB_beta.bat? You're not supposed to double click EjectUSB_beta.bat; that will do nothing. When you run EjectUSB_beta.exe it will use the .bat file. I'll modify the .bat file to show a simple explanation message if double clicked to help avoid this confusion.
guinness wrote:I didn't replace the EjectUSB.exe that I currently have installed in my <TRUECRYPT CONTAINER> as currently I am happy with how the programs close that are running from the Y: drive.
Not a problem and I didn't expect you to. This beta shouldn't interfere with the normal copy of EjectUSB you have inside the volume.
guinness wrote:How are you dismounting the TrueCrypt and do you use IF statements to save if truecrypt-x64.sys and truecrypt.sys are present then TrueCrypt must be installed. As the end user can change the program name to whatever they like but the above files have to stay the same.
You can see the dismount command line in the .bat file. Right now it's only:
%1 is the target drive letter to dismount.
It should probably be changed to:
Code: Select all
start /wait TrueCrypt.exe /d%1 /f /q /s /w
Right now I'm assuming the user is going to have the TrueCrypt executable on their removable drive. If you rename TrueCrypt.exe, you'll need to edit the .bat file (in two places: on the first line and on the fourth line) and change TrueCrypt.exe to whatever you named it. There is a simple check to make sure the executable exists. EjectUSB can detect if a drive itself is a mounted TrueCrypt volume, though checking if a specific .sys file exists can also be done. Look at the first line of the .bat file.
Code: Select all
ifnotexist %3%4TrueCrypt.exe nobat
%3%4 means the folder where EjectUSB is located, and TrueCrypt.exe is the file to check for. ''nobat'' means to abort executing the .bat file if TrueCrypt.exe doesn't exist.
guinness wrote:The difficult part as explained previous is the reg keys!
If you can give me exact registry keys (and file locations if TrueCrypt copies anything to the system drive) I can start setting up stuff to clean them up, unless you mean it's hard to determine the exact reg keys because they aren't static...
You followed setup directions to the letter though, but I want to confirm whether or not you actually ran EjectUSB_beta.exe or if you just tried running EjectUSB_beta.bat; this will determine what I do next.
Queue