+ Post New Thread
Results 1 to 8 of 8
Downloads Thread, TrueCrypt 7.1 MSI in Links, Downloads and Scripts; Hi, Yesterday I created an MSI for the TrueCrypt 7.1 device driver (i.e. it doesn't include the application itself). This ...
  1. #1

    Join Date
    Jul 2005
    Location
    Rugby
    Posts
    432
    Thank Post
    17
    Thanked 66 Times in 61 Posts
    Rep Power
    35

    TrueCrypt 7.1 MSI

    Hi,

    Yesterday I created an MSI for the TrueCrypt 7.1 device driver (i.e. it doesn't include the application itself). This is so that users can use TrueCrypt protected memory sticks without requiring administrative right. I've uploaded the msi here.

    It was created with WIX and the build file is below (also linked here) for anybody that wants to make modifications (or rebuild for a later version when released).

    Code:
    <?xml version='1.0'?>
    <Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'>
        <Product Id='845adc23-6704-4650-8e92-ba0d9858b740' 
    			Name='TrueCrypt 7.1 Device Driver' 
    			Language='1033' 
    			Version='7.1.0.0' 
    			Manufacturer='TrueCrypt' 
    			UpgradeCode='29590861-525d-4c67-ae8b-ce30e178feb1' >
    		<Package Description='TrueCrypt 7.1 Device Driver Installer Package.' 
    			   Comments='This will install the TrueCrypt Device Driver and Service.' 
    			   Manufacturer='TrueCrypt'
    			   InstallerVersion='200'
    			   Compressed='yes' />
    		<Media Id='1' Cabinet='product.cab' EmbedCab='yes' />
    		<Directory Id='TARGETDIR' Name='SourceDir'>
    			<Directory Id="SystemFolder">
    				<Directory Id="DRIVERSFOLDER" Name="Drivers" />				
    			</Directory>
    		</Directory>
    		<DirectoryRef Id="DRIVERSFOLDER">
    			<Component Id='TrueCrypt_Driver' Guid='73fcd85e-90e8-41de-8ffa-96189bdfcf21' >
    				<File Id='TCDriver' Name='truecrypt.sys' DiskId='1' Source='truecrypt.sys' />
    			</Component>
    		</DirectoryRef>
    		<DirectoryRef Id="TARGETDIR">
    			<Component Id='RegistryEntries' Guid='4d75f2dc-9118-4603-8321-a27b384e1c50' >
    				<RegistryKey Root="HKLM"
    							 Key="SYSTEM\CurrentControlSet\services\truecrypt"
    							 Action="createAndRemoveOnUninstall">
    					<RegistryValue Type="string" Name="DisplayName" Value="truecrypt" KeyPath="yes"/>
    					<RegistryValue Type="integer" Name="Type" Value="00000001"/>
    					<RegistryValue Type="integer" Name="Start" Value="00000001"/>
    					<RegistryValue Type="integer" Name="ErrorControl" Value="00000001"/>
    					<RegistryValue Type="expandable" Name="ImagePath" Value="System32\drivers\truecrypt.sys"/>
    				</RegistryKey>
    			</Component>
    		</DirectoryRef>
    		<Feature Id='Driver' Title='TrueCrypt Driver' Level='1'>
    			<ComponentRef Id='TrueCrypt_Driver' />
    			<ComponentRef Id='RegistryEntries' />
    		</Feature>
    		<InstallExecuteSequence>
    			<ScheduleReboot After="InstallFinalize"/>
    		</InstallExecuteSequence>
    	</Product>
    </Wix>
    Matt

  2. 2 Thanks to saundersmatt:

    FN-GM (13th January 2012), stevenlong1985 (13th January 2012)

  3. #2
    Dom_'s Avatar
    Join Date
    Dec 2008
    Posts
    1,010
    Thank Post
    151
    Thanked 138 Times in 115 Posts
    Rep Power
    56
    Any chance you can PM me the MSI? The link isn't working :-(.

    Cheers!

  4. #3

    Join Date
    Jul 2005
    Location
    Rugby
    Posts
    432
    Thank Post
    17
    Thanked 66 Times in 61 Posts
    Rep Power
    35
    Quote Originally Posted by Dom_ View Post
    Any chance you can PM me the MSI? The link isn't working :-(.
    PM'd an alternative url.

    Has anybody else been able to download the msi?

    Matt

  5. Thanks to saundersmatt from:

    Dom_ (18th January 2012)

  6. #4
    Dom_'s Avatar
    Join Date
    Dec 2008
    Posts
    1,010
    Thank Post
    151
    Thanked 138 Times in 115 Posts
    Rep Power
    56
    Untitled.png

    Cheers mate, this is the error I got
    Last edited by Dom_; 18th January 2012 at 01:33 PM.

  7. #5

    Join Date
    Jan 2012
    Posts
    3
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    I managed to download the MSI. I'll give it go now, I take it will install either the 32bit and 64bit version depending on architecture?

  8. #6

    Join Date
    Jan 2012
    Posts
    3
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Just to answer my own question ;-)

    I've looked online and it isn't possible to create a MSI with WIX which covers both architectures. I'll try and make my own x64 version using your code.
    Thanks
    Paul

  9. #7

    Join Date
    Jul 2005
    Location
    Rugby
    Posts
    432
    Thank Post
    17
    Thanked 66 Times in 61 Posts
    Rep Power
    35
    You're right that msi was 32 bit only, and WIX is difficult about 32/64 bit msis.

    I've just bunged together a 64 bit version that appears to work on my machine. I've also uploaded the 32 bit, and associated wsx files too: ma.tt-s.co.uk/TrueCrypt/

    Matt

  10. #8

    Join Date
    Jan 2012
    Posts
    3
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    I have tried this before using Innosetup so you inspired me to go back and look at it. I've made an installer that will copy the program files and make the start menu folders. I will look at trying to do the registry stuff as well. If I fail I can fall back on your work.

    Thanks
    Paul

    Quote Originally Posted by saundersmatt View Post
    You're right that msi was 32 bit only, and WIX is difficult about 32/64 bit msis.

    I've just bunged together a 64 bit version that appears to work on my machine. I've also uploaded the 32 bit, and associated wsx files too: ma.tt-s.co.uk/TrueCrypt/

    Matt

SHARE:
+ Post New Thread

Similar Threads

  1. TrueCrypt v7.0 MSI
    By JPS in forum How do you do....it?
    Replies: 2
    Last Post: 30th June 2011, 03:47 PM
  2. TrueCrypt 7 MSI
    By enjay in forum Educational Software
    Replies: 2
    Last Post: 1st November 2010, 03:23 PM
  3. google earth msi
    By russdev in forum Educational Software
    Replies: 86
    Last Post: 6th October 2009, 08:06 PM
  4. Free MSI Creation and how to do it
    By daverage in forum Wireless Networks
    Replies: 1
    Last Post: 22nd November 2005, 10:03 AM
  5. location of msi install gpo
    By russdev in forum Windows
    Replies: 3
    Last Post: 17th October 2005, 08:23 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •