Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 236436

Feature Request: Ability to programmatically mount an iso file in guest

$
0
0

Windows 7 Home Premium 64-bit SP1

VMware Workstation 9.0.2 build-1031769

VMware VIX API 1.12.2.35902

 

I'd like to request the ability to programmatically mount an iso file in the guest.

 

I can do this using the vSphere API, but not with the VIX API.

 

I also tried to do the following:

1. Suspend virtual machine

2. Edit vmx as follows:

ide1:0.present = "TRUE"

ide1:0.fileName = "C:\Users\Public\Documents\Shared Virtual Machines\private.iso"

ide1:0.deviceType = "cdrom-image"

3. Resume virtual machine

 

But the virtual machine does not refresh the attached devices; it still tries to access the cache of the previous configuration:

ide1:0.present = "TRUE"

ide1:0.fileName = "M:"

ide1:0.deviceType = "cdrom-raw"

 

In a previous version (before v8), the guest tools had the ability to disconnect and reconnect the cd\dvd device and that worked ok, but with Workstation 9, the guest tools no longer has the Device tab.

 

Any ideas?

 

I'd rather not have to create a virtual drive in the guest itself using SlySoft Virtual CloneDrive for example.

 

Thank you.


Viewing all articles
Browse latest Browse all 236436

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>