Archive: Finding CD-ROM


Finding CD-ROM
I'm having issues with NSIS, I'm trying to detect the first CD-ROM when installing and saving it to registry.

The saving to registry part is easy, what I'm having issues with is detecting the CD-ROM. I need to find out what drive letter the CD-ROM is even though installing is done off the hard drive.

Google isn't being very helpful right about now so, can anyone push me in the right direction?


http://nsis.sourceforge.net/archive/...le=EnumCDs.zip may help.