Re: [wpkg-users] Truecrypt silent install

2009-09-23 Thread Brian May
Jennette, Steven J. wrote:
> Has anyone used WPKG to silently install Truecrypt 6.0 or 6.1?I have
> tried with different options and it always ask the user to accept
> license agreement.  Below are the commands that I have tried:
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 

Hello,

I realize this message I am replying to was rather old...

My investigations showed you can't rely on the .exe file to do the
installation automatically. Rather you have to install the device driver
"by hand".

If you are still interested, let me know, and I can dig up references
and/or my batch file to do this.

Brian May

-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Truecrypt silent install

2009-09-23 Thread David N
2009/9/24 Brian May :
> Jennette, Steven J. wrote:
>> Has anyone used WPKG to silently install Truecrypt 6.0 or 6.1?I have
>> tried with different options and it always ask the user to accept
>> license agreement.  Below are the commands that I have tried:
>>
>> 
>>
>> 
>>
>> 
>>
>> 
>>
>> 
>
> Hello,
>
> I realize this message I am replying to was rather old...
>
> My investigations showed you can't rely on the .exe file to do the
> installation automatically. Rather you have to install the device driver
> "by hand".
>
> If you are still interested, let me know, and I can dig up references
> and/or my batch file to do this.
>
> Brian May
>
> -
> wpkg-users mailing list archives >> 
> http://lists.wpkg.org/pipermail/wpkg-users/
> ___
> wpkg-users mailing list
> wpkg-users@lists.wpkg.org
> http://lists.wpkg.org/mailman/listinfo/wpkg-users
>

Hi,

I am very interested for the silent install. I've tried but haven't
had any luck.

Regards
David N
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Truecrypt silent install

2009-09-23 Thread Brian May
David N wrote:
> I am very interested for the silent install. I've tried but haven't
> had any luck.

First a disclaimer: I never got around to deploying this, have not
tested it recently, however it worked back at the time I created it...

(I haven't checked - is version 6.1a still the latest?)

First run exe file by hand, and unpack files, move unpacked files into
%SOFTWARE%\truecrypt directory.


=== cut ===


   
   
   
   
   


=== cut ===


install.cmd

=== cut ===
"%WINDIR%\System32\sc.exe" stop truecrypt
copy "%SOFTWARE%\TrueCrypt\%1\truecrypt.sys" "%WINDIR%\System32\Drivers"
"%WINDIR%\System32\sc.exe" create truecrypt type= kernel start= auto
error= normal binPath= "%WINDIR%\System32\Drivers\truecrypt.sys"
DisplayName= truecrypt
"%WINDIR%\System32\sc.exe" start truecrypt
xcopy /E /I /Y "%SOFTWARE%\truecrypt\%1" "%ProgramFiles%\TrueCrypt"
"%SOFTWARE%\unattended\shortcut.pl" --description "Truecrypt encryption"
"%ProgramFiles%\TrueCrypt\TrueCrypt.exe"
special:AllUsersStartMenu\Programs\TrueCrypt
=== cut ===


remove.cmd

=== cut ===
del "%ALLUSERSPROFILE%\Start Menu\Programs\TrueCrypt.lnk"
"%WINDIR%\System32\sc.exe" delete truecrypt
del "%WINDIR%\System32\Drivers\truecrypt.sys"
rmdir /S /Q "%ProgramFiles%\TrueCrypt"
=== cut ===



It is possible my mail client may try to wrap these lines, will check
after I send this.

It might be possible to do this all within the packages XML file,
however the method I chose way makes the quoting requirements simpler.

Any feedback on problems, solutions, etc, appreciated.

Brian May

-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Truecrypt silent install

2009-09-23 Thread Brian May
Retry with formatting fixed.

"%SOFTWARE%\unattended\shortcut.pl" comes with unattended (if that
wasn't obvious).

Brian May wrote:
> First a disclaimer: I never got around to deploying this, have not
> tested it recently, however it worked back at the time I created it...
> 
> (I haven't checked - is version 6.1a still the latest?)
> 
> First run exe file by hand, and unpack files, move unpacked files into
> %SOFTWARE%\truecrypt directory.
> 
> 
=== cut ===


   
   
   
   
   


=== cut ===
> 
> 
> install.cmd
> 
=== cut ===
"%WINDIR%\System32\sc.exe" stop truecrypt
copy "%SOFTWARE%\TrueCrypt\%1\truecrypt.sys" "%WINDIR%\System32\Drivers"
"%WINDIR%\System32\sc.exe" create truecrypt type= kernel start= auto
error= normal binPath= "%WINDIR%\System32\Drivers\truecrypt.sys"
DisplayName= truecrypt
"%WINDIR%\System32\sc.exe" start truecrypt
xcopy /E /I /Y "%SOFTWARE%\truecrypt\%1" "%ProgramFiles%\TrueCrypt"
"%SOFTWARE%\unattended\shortcut.pl" --description "Truecrypt encryption"
"%ProgramFiles%\TrueCrypt\TrueCrypt.exe"
special:AllUsersStartMenu\Programs\TrueCrypt
=== cut ===
> 
> 
> remove.cmd
> 
=== cut ===
del "%ALLUSERSPROFILE%\Start Menu\Programs\TrueCrypt.lnk"
"%WINDIR%\System32\sc.exe" delete truecrypt
del "%WINDIR%\System32\Drivers\truecrypt.sys"
rmdir /S /Q "%ProgramFiles%\TrueCrypt"
=== cut ===

> It is possible my mail client may try to wrap these lines, will check
> after I send this.
> 
> It might be possible to do this all within the packages XML file,
> however the method I chose way makes the quoting requirements simpler.
> 
> Any feedback on problems, solutions, etc, appreciated.
> 
> Brian May
> 
> -
> wpkg-users mailing list archives >> 
> http://lists.wpkg.org/pipermail/wpkg-users/

-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Truecrypt silent install

2009-09-23 Thread Brian May
Brian May wrote:
> Retry with formatting fixed.

Didn't help.

Knew there was some reason I have avoided using Thunderbird lately... I
can see how to turn off line wrapping, except for when it feels like
displaying the option to do so.

Anyway you will need to remove some of the line breaks within the cmd
files I posted, or it won't work.

Brian May

-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Truecrypt silent install

2009-09-23 Thread Rainer Meier
Hi David

David N wrote:
> I am very interested for the silent install. I've tried but haven't
> had any luck.

Recently I've developed a small script too in order to deploy TrueCrypt 6.2a
silently.

Please find attached the set of scripts including a WPKG package sample.

The main issue of TrueCrypt is that you need to add the uninstall section by
hand. If you don't do so then TrueCrypt enforces itself to be run with
administrator privileges and triggering an UAC prompt on Windows Vista/7.

I have no clue why it checks for the uninstall key instead checking if the
required service is available. Probably a bug.

Apart of that you need to add a TrueCrypt service which allows non-administrator
users to mount drives. The service is added by the script as well.

The script also includes code to create some start menu shortcuts using
"shortcut.exe". It currently supports two languages: EN, DE. Feel free to 
extend.

The script also fully supports x86 and x64 Windows.


How to use:
- Download TrueCrypt installer
- Run installer and select to extract the files
- Right click the "TrueCrypt" sub-directory just created
- Select 7-Zip -> Add to Archive... (requires 7-Zip to be installed)
- Create an SFX archive: "TrueCrypt.exe"

That's it.
For future versions you might have to adapt the VERSION variable within the
"unattended.cmd" script.


br,
Rainer


TrueCrypt v.6.2a.7z
Description: Binary data
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users