Changes
Replaced the old Ricoh Aficio 2045 driver with an improved package for the Ricoh universal print driver
</source>
=== Ricoh Aficio 2045e universal driver (PS) ===
<source lang="xml">
<package
id="ricoh-aficio2045euniv-drivers" name="Ricoh drivers, universal PS" revision="3%PKG_DRIVERVERS%"
reboot="false"
priority="0">
<!-- XXX this check is inadequatevariable name="PKG_DRIVERVERS" value="4. Wpkg doesn't handle REG_BINARY very well3. 0.0" /> <variable name="PKG_SOURCE" value="%SOFTWARE%\printerdrivers\ricoh-universal-ps-%PKG_DRIVERVERS%\64bit\disk1\RICSETUP64.INF" architecture="x64" /> <!variable name="PKG_SOURCE" value="%SOFTWARE%\printerdrivers\ricoh-universal- Note: the packages only provide x86 drivers, so no other arch are checked -ps-%PKG_DRIVERVERS%\32bit\disk1\RICSETUP.INF" architecture="x86" />
<check type="logical" condition="or">
<check type="registry" condition="equals" path="HKLM\SYSTEM\CurrentControlSet\Control\PrintEnvironmentsPrint\Windows NT x86\Drivers\Version-3\Ricoh Aficio 2045e PCL 6\Data File" value="RIC634K.DLL" /> <check type="registry" condition="equals" path="HKLM\SYSTEM\CurrentControlSet\Control\PrintEnvironments\Windows x64\Drivers\Version-3\Ricoh Aficio 2045e PCL 6\Data File" value="RIC634K.DLL" /> </check> <check type="logical" condition="or"> <check type="registry" condition="equals" path="HKLM\SYSTEM\CurrentControlSet\Control\PrintEnvironmentsEnvironments\Windows NT x86\Drivers\Version-3\Ricoh Aficio 2045e PSDriver for Universal Print\Data FileDriverVersion" value="RAF245E3.PPD%PKG_DRIVERVERS%" /> <check type="registry" condition="equals" path="HKLM\SYSTEM\CurrentControlSet\Control\PrintEnvironmentsPrint\Environments\Windows x64\Drivers\Version-3\Ricoh Aficio 2045e PSDriver for Universal Print\Data FileDriverVersion" value="RAF245E3.PPD%PKG_DRIVERVERS%" />
</check>
<install cmd='%COMSPEC% /C if not exist "%PROGRAMFILES(x86)%" rundll32 PrintUI.dll,PrintUIEntry /ia /f "%SOFTWAREPKG_SOURCE%\printerdrivers\ricoh\PCL6\3.1.0.0\disk1\OEMSETUP.INF" /m "RICOH Aficio 2045e PCL 6" /q' /> <install cmd='%COMSPEC% /C if exist "%PROGRAMFILES(x86)%" rundll32 PrintUI.dll,PrintUIEntry /ia /f %SOFTWARE%\printerdrivers\ricoh\PCL6-x64\3.1.0.0\disk1\OEMSETUP.INF" /m "RICOH Aficio 2045e PCL 6PS Driver for Universal Print" /q' />
<install upgrade cmd='%COMSPEC% /C if not exist "%PROGRAMFILES(x86)%" rundll32 PrintUI.dll,PrintUIEntry /ia /f "%SOFTWAREPKG_SOURCE%\printerdrivers\ricoh\PS\3.0.0\DISK1\RICSETUP.INF" /m "RICOH Aficio 2045e PSDriver for Universal Print" /q' /> <install remove cmd='%COMSPEC% /C if exist "%PROGRAMFILES(x86)%" rundll32 PrintUI.dll,PrintUIEntry /ia /f %SOFTWARE%\printerdrivers\ricoh\PS-x64\3.0.0\DISK1\RICSETUP.INF" dd /m "RICOH Aficio 2045e PSDriver for Universal Print" /q' />
</package>