This great article come from Michael Khanin (MCP, MCP+I, CNA, CNE, MCSE) who also blogs on his blog site http://TheSystemAdministrator.com
Recently there was a necessity to install a Virtual CD/DVD on many computers on the same network. And it was necessary, that the virtual CD/DVD would be set to a special letter in the system. Right now there are a lot of programs which emulate CD/DVD and can mount any CDs/DVD images, as I wished to make all installation and configuration run remotely (well laziness by me, not wanting to run from computer to computer) It was necessary for the program to install in silent mode. After a quick search I chose МagicDisc.
I've selected this program for several reasons:
1. The program is free-of-charge (but not all options work in the free-of-charge version, but what is necessary for me, works)
2. There is opportunity to run setup in silent mode.
3. It is possible to operate all necessary functions from a command line.
For a more satisfiying management experience from the command line one more file, Miso.exe is required.
The given file can be found on the МagicDisc site.
For the installation I have written a script, INSTALL-V-CD.bat.
INSTALL-V-CD.bat is very simple and contains just one line:
setup_magicdisc.exe /S
To start the script on a remote system I used psexec.exe which can be downloaded here.
After the installation of МagicDisc, it was necessary to copy miso.exe to the remote computer. It is important to note that miso.exe should be located in a directory which is registered in the system PATH.
Now the most interesting part. We create virtual a CD
...