Search

Language:  

Available article translations:

Troubleshooting Parallels Tools installation with Driver Package Installer tool

APPLIES TO:
  • Parallels Desktop 9 for Mac Standard Edition
  • Parallels Desktop 8 for Mac Standard Edition
  • Parallels Desktop 7 for Mac Standard Edition

Symptoms

  • I am trying to install Parallels Tools in Windows-based virtual machine, but Parallels Tools installation crashes while installing.

INFORMATION

Before using the tool, you need to identify which driver fails to install in Windows virtual machine. In order to do that, please:

  1. Create snapshot to be secured from all unwanted changes in the virtual machine. When solution is applied successfully, please delete snapshot.

  2. Go to C:\Windows\Temp. Find and open the most recent parallels-tools-setup document.

  3. Press Ctrl+F to open search dialog. Search for "DIFXAPP: ERROR" without qoutes:

    DIFXAPP: INFO:   Installing INF file 'C:\Program Files (x86)\Parallels\Parallels Tools\Drivers\prl_sound\prl_sound.inf' (Plug and Play).
    DIFXAPP: INFO:   Could not open file C:\Windows\System32\DriverStore\FileRepository\prl_sound.inf_amd64_857254279ea3f2e6\prl_sound.inf. (Error code 0xE0000100: The style of the INF is different from what was requested.)
    DIFXAPP: ERROR:  PnP Install failed. (Error code 0x3EE: The volume for a file has been externally altered so that the opened file is no longer valid.)
    
  4. Note what driver fails to install, e.g. prl_sound.inf_amd64_857254279ea3f2e6.

  5. Go to C:\Windows\System32\DriverStore\FileRepository and locate the driver folder. Enter the folder and open driver information file (see pic. below). Note driver version.

    Your text to link here...

  6. Now you have to locate the same driver with the same version on another virtual machine which is not experience this error (virtual machine with the same Windows OS, same bit version and the same Parallels Desktop build that you have). It could be your test virtual machine, or just another virtual machine on duty. Copy driver folder from FileRepository to the virtual machine you troubleshoot (paste it inside C: drive).

    alttext

    NOTE: Do not forget to check bit version of Windows OS. Drivers for 32 and 64 bit versions are different.

  7. Download Driver Package Installer (DPInst) from attach below:

  8. Place dpinst tool to the C: drive. In Windows virtual machine you troubleshoot open Command Prompt and execute:

    cd C:\
    dpinst.exe /d /u \\path-to-inf 
    

    where path-to-inf is a path to the *.inf file of the driver, which is located inside driver folder (the one you've downloaded)

    Your text to link here...

  9. Confirm that you want to uninstall the driver by pressing Enter.

  10. Reboot the virtual machine. Try to install Parallels Tools again. On the "All devices using this driver will be removed. Do you wish to continue?" pop-up say 'Yes'.

    Your text to link here...

  11. Now, if you picked-up everything correctly, the following pop-up will appear:

    Your text to link here...

This means that you are going to uninstall a live driver, which is currently used in the system. And Parallels Tools installation cannot replace this working driver due to the registry corruption. After confirming to uninstall the driver, reboot and try to install Parallels Tools.

You may also try to run 'dpinst' by using the driver from FileRepository folder. Also there could be several corrupter drivers, so if the installation fails again, look at the logs - there could be another error on another driver.

NOTE:

  • If the installation crashes on 69% please check prl_memdev driver in %systemroot%\system32\FileRepository\

  • If the installation crashes on 59% please check prl_dd driver in %systemroot%\system32\FileRepository\

  • If using dpinst tools doesn't help - you may try to manually copy the same driver files into %systemroot%\system32\FileRepository\ from your test virtual machine.

  • If the installation crashes on 66%, to workaround this you may uninstall sound device from Device Manager before installing Parallels Tools. Parallels Tools installation will skip installing sound driver, and will successfully finish, but Windows won't have sound playback.

  • For Windows 8 you may use 'Refresh PC' option to fix the registry and install Parallels Tools

IF NOTHING HELPS:

Also create snapshot to be secured from all unwanted changes in the virtual machine. When solution is applied successfully, please delete snapshot.

  • Open Windows registry: Press Win+R -> type "regedit" -> hit Enter.
  • Highlight HKEY_LOCAL_MACHINE- > File -> Load Hive -> specify "c:\windows\system32\config\drivers" -> name key somehow (say 'LoadedHive')
  • Edit -> Find, specify the name of the driver (e.g. "prl_dd").
  • Delete all entries of prl_dd in the 'LoadedHeave' branch. (Note: you will need to change owner of the branch and give it permissions 'Full Control').
  • Restart virtual machine and install Parallels Tools.

Cause

Corrupted Windows registry




1e5db16426987d561060acdf56d947b4 97cd84747b25a2e5a06065a21a747a53 a9c6e0b6a5209e617a7c0dd5eace86cf 3307fff3682b15f0ba3fbe13d779296d 223eaea75536b1878213dd8e38ab608d

FEEDBACK
Was this article helpful?
Tell us how we may improve it.
Yes No