Repackaging Issue with Hyper-V: Shared Folders - Advanced Installer Community
packagerx
Posts: 5
Joined: Tue Mar 27, 2018 5:50 pm

Repackaging Issue with Hyper-V: Shared Folders

I am struggling with an error during repackaging using a local hyper-v VM "Error during virtual machine configuration: shared folders". I run into the same error when trying to run an existing installer on a VM using Run in VM.

This is the sequence that is running:

Opening the virtual machine.
Powering on the virtual machine.
Checking Guest Integration Services in the guest operating system.
Login virtual machine.
Checking Advanced Installer Tools in the guest operating system.
Preparing virtual machine.
Closing the current virtual machine session.

Both host and VM OS is Windows 10 1703 64-bit. In the log section of Advanced Installer Remote tools, I see a log entry appear "Adding network share connection for \\12.34.56.78" corresponding my host machine's IP address right before I get the message that it couldn't configure shared folders.

Using Advanced Installer 14.7

I've found multiple other threads on this exact issue, but none of those threads seemed to have any definitive answers as to why this occurs. Any help would be appreciated.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Repackaging Issue with Hyper-V: Shared Folders

Hello and welcome to our forums,

This may happen when the setup you want to repackage resides on a drive root of your host machine. When repackaging in VM the Repackager cannot handle the case when the repackaged setup resides on a drive root on host machine. This is a Repackager limitation. If this is the case, as a workaround, you should just move your setup into a subfolder of the drive root.

Also, can you please make sure the "Integration Services" are enabled on the guest virtual machine? The "Data Exchange" and "Heartbeat" services are especially important. Please power off your Hyper-V VM, make sure the above services are enabled, power on the VM and try again the repackaging operation.

Let me know if this helped.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”