smartygeek wrote:Actually, I just thought of a way to make it portable. (This would only work if the person has Administrator rights) You could have a launcher that would launch Virtual CDRom Control Panel. (I am just using this program as an example) But before it launches that, it could launch a batch file that might be something like this:
copy "G:\Portable Virtual CDRom Control Panel\VCdRom.sys" "%systemroot%\system32\drivers\VCdRom.sys"
(Assuming G: is your portable drive)
Then when you exit the program, it could run another batch file that is something like this:
del "%systemroot%\system32\drivers\VCdRom.sys"
Do you think it will work?
Install/Uninstall driver are available in the Driver Control panel of "Virtual CD-ROM Control Panel". However, running a cmd file, depending on the exe, will stall the execution of the cmd file while the Exe is open.
Try this by putting it in the directory as RunPortable.cmd
copy /y VcdRom.sys "%windir%\system32\drivers"
VcdControlTool.exe
del /q "%windir%\system32\drivers\VcdRom.sys"
pause
You'll see that it doesn't get to the del portion of the script until you close VcdControlTool.exe
You can use Hstart.exe with the /noconsole switch to hide the command prompt, too.