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).
MattCode:<?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='188.8.131.52' 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>
Any chance you can PM me the MSI? The link isn't working :-(.
Dom_ (18th January 2012)
Last edited by Dom_; 18th January 2012 at 01:33 PM.
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?
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.
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/
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.
There are currently 1 users browsing this thread. (0 members and 1 guests)