<?xml version='1.0' encoding='utf-8'?>
<!-- PasswordSafe MSI package source code for WIX -->
<!-- Granted to the public domain by xenophonf -->
<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'>

  <Product Id='c2a02857-d138-446b-b181-442dee20c8e6'
	   UpgradeCode='6dbf5233-ad08-4345-9ac7-746f32614a43'
	   Name='Password Safe PWSAFE_VERSION for Windows'
	   Version='PWSAFE_VERSION'
	   Language='1033'
	   Manufacturer='Rony Shapiro'>

    <Package
	     Description='Password Safe PWSAFE_VERSION is an Open Source utility for simply and securely managing passwords for multiple accounts.' 
	     Comments='MSI package courtesy of Matthew X. Economou.'
	     Manufacturer='Rony Shapiro'
	     InstallerVersion='200'
	     Compressed='yes'
	     />

    <UIRef Id='WixUI_InstallDir' />
    <UIRef Id="WixUI_ErrorProgressText" />
    <WixVariable Id='WixUILicenseRtf' Value='docs\LICENSE.rtf' />

    <Media Id='1' Cabinet='pwsafe.cab' EmbedCab='yes' />

    <Property Id='WIXUI_INSTALLDIR' Value='PASSWORDSAFEPRODUCTDIR' />

    <Directory Id='TARGETDIR' Name='SourceDir'>
      <Directory Id='ProgramFilesFolder' Name='PFiles'>
	<Directory Id='PASSWORDSAFEPRODUCTDIR' Name='Password Safe'
	ShortName='pwsafe'>
	  <Component Id='Documentation' Guid='5787ed38-5d7f-4242-aa89-87d94f2077ed'>
	    <File Id='file0' Name='ChangeLog.txt' DiskId='1'
	    Source='docs\ChangeLog.txt' /> 
	    <File Id='file1' Name='LICENSE' DiskId='1' Source='LICENSE' />
	    <File Id='file2' Name='README.txt' DiskId='1' Source='README.txt' />
	    <File Id='file3' Name='ReleaseNotes.txt' DiskId='1'
	    Source='docs\ReleaseNotes.txt' />
	    <File Id='file4' Name='ReleaseNotes.html' DiskId='1'
	    Source='docs\ReleaseNotes.html' />
	    <File Id='file5' Name='pwsafe.chm' DiskId='1'
	    Source='help\default\pwsafe.chm' /> 
	    <File Id='file6' Name='pwsafeDE.chm' DiskId='1'
	    Source='help\pwsafeDE\pwsafeDE.chm' /> 
	    <File Id='file7' Name='pwsafeES.chm' DiskId='1'
	    Source='help\pwsafeES\pwsafeES.chm' /> 
	    <File Id='file8' Name='pwsafefr.chm' DiskId='1'
	    Source='help\pwsafeFR\pwsafefr.chm' /> 
	    <File Id='file9' Name='pwsafePL.chm' DiskId='1'
	    Source='help\pwsafePL\pwsafePL.chm' /> 
	    <File Id='file10' Name='pwsaferu.chm' DiskId='1'
	    Source='help\pwsafeRU\pwsaferu.chm' /> 
	    <File Id='file11' Name='pwsafeZH.chm' DiskId='1'
	    Source='help\pwsafeZH\pwsafeZH.chm' /> 
	  </Component>
	  <Component Id='MainProgram'
	  Guid='25c2da5c-d483-4ca7-84f6-d28e17a59188'>
	    <File Id='file12' Name='pwsafe.exe' DiskId='1'
	      Source='build\bin\pwsafe\releasem\pwsafe.exe' Vital='yes'> 
	      <Shortcut Id='MainProgram' Directory='ProgramMenuFolder'
	      Name='Password Safe PWSAFE_VERSION' ShortName='pwsafe'
	      Icon='pwsafe.exe' IconIndex='0' Advertise='yes' />
	    </File>
	    <File Id='file13' Name='pws_at.dll' DiskId='1'
	      Source='build\bin\pwsafe\releasem\pws_at.dll' Vital='yes'> 
	    </File>
	    <File Id='file14' Name='pws_osk.dll' DiskId='1'
	      Source='build\bin\pwsafe\releasem\pws_osk.dll' Vital='yes'> 
	    </File>
	    <File Id='file15' Name='pwsafeDE.dll' DiskId='1'
	      Source='build\bin\pwsafe\I18N\pwsafeDE.dll' Vital='yes'> 
	    </File>
	    <File Id='file16' Name='pwsafeES.dll' DiskId='1'
	      Source='build\bin\pwsafe\I18N\pwsafeES.dll' Vital='yes'> 
	    </File>
	    <File Id='file17' Name='pwsafeIT.dll' DiskId='1'
	      Source='build\bin\pwsafe\I18N\pwsafeIT.dll' Vital='yes'> 
	    </File>
	    <File Id='file18' Name='pwsafePL.dll' DiskId='1'
	      Source='build\bin\pwsafe\I18N\pwsafePL.dll' Vital='yes'> 
	    </File>
	    <File Id='file19' Name='pwsafeRU.dll' DiskId='1'
	      Source='build\bin\pwsafe\I18N\pwsafeRU.dll' Vital='yes'> 
	    </File>
	    <File Id='file20' Name='pwsafeSV.dll' DiskId='1'
	      Source='build\bin\pwsafe\I18N\pwsafeSV.dll' Vital='yes'> 
	    </File>
	    <File Id='file21' Name='pwsafeZH.dll' DiskId='1'
	      Source='build\bin\pwsafe\I18N\pwsafeZH.dll' Vital='yes'> 
	    </File>
	    <File Id='file22' Name='pwsafeKR.dll' DiskId='1'
	      Source='build\bin\pwsafe\I18N\pwsafeKR.dll' Vital='yes'> 
	    </File>
	    <File Id='file23' Name='pwsafeNL.dll' DiskId='1'
	      Source='build\bin\pwsafe\I18N\pwsafeNL.dll' Vital='yes'> 
	    </File>
	  </Component>
	  <Component Id='SupportingFiles'
	    Guid='2cb36029-a029-4f15-9838-4acacb823ce7'> 
	    <File Id='file24' Name='pwsafe.xsd' DiskId='1'
	    Source='xml\pwsafe.xsd' Vital='yes' />
	    <File Id='file25' Name='pwsafe.xsl' DiskId='1'
	    Source='xml\pwsafe.xsl' Vital='yes' />
	    <File Id='file26' Name='pwsafe_filter.xsd' DiskId='1'
	    Source='xml\pwsafe_filter.xsd' Vital='yes' />
	  </Component>
	</Directory>
      </Directory>
      <Directory Id='ProgramMenuFolder' Name='Programs' />
    </Directory>

    <Icon Id='pwsafe.exe' SourceFile='build\bin\pwsafe\releasem\pwsafe.exe' />

    <Feature Id='Complete' Level='1'>
      <ComponentRef Id='Documentation' />
      <ComponentRef Id='MainProgram' />
      <ComponentRef Id='SupportingFiles' />
    </Feature>

    <CustomAction Id='AssignAllusersProperty' Property='ALLUSERS'
    Value='1' />

    <InstallExecuteSequence>
      <Custom Action='AssignAllusersProperty'
      After='LaunchConditions'>Privileged</Custom>
    </InstallExecuteSequence>

  </Product>

</Wix>
