DUA from CD-ROM drive not supported?

C

Carsten Hess

Hi all,

I'm trying to get DUAgent to poll my CD-ROM drive periodically.

Everything is set up in the image and working perfectly as long as i'm
not attempting to run from the CD-drive (local harddisk, usb-disk,
floppy - the script is found, executed and working fine).

But whenever i setup the DUAgent to poll the CD-Drive, it fails -- and
closer research (using FileMon) indicates that the IRP_MJ_CREATE call
(probably used to get the handle for the update-file) fails with an
ACCESS_DENIED error :-(

Can it be that the DUAgent tries to open the script-file as read+write
(which would probably fail as the CD-drive is read-only by nature
unlike the other drive-types i've tried) - and if so, why is that? it
seems completely obvious to be able to update stand-alone XPE systems
(having no net-connection) by feeding them a CD containing the needed
updates!

Ideas or workarounds would be greatly appreciated!
 
M

Mario Dambauer

DUA tries to delete the scipt after execution, to be sure, that a script is
only executed once.

Best Regards,
Mario
 
N

Nikolai Vorontsov

Hi, Carsten Hess!
I'm trying to get DUAgent to poll my CD-ROM drive periodically.
Workaround:
1. Setup DUA to use let say C:\TEMP\DUA
2. Add autorun.inf to your CDROM with fixes.
3. In autorun.inf call something that copy your fixes to the C:\TEMP\DUA
and remove R/O attribute.
4. Eject CDROM after. This: 1. gives clear indication for the
maintainer. 2. Will fix situation when a fix required a reboot, and
CDROM is left inside. AFAIK Windows doesn't autostart a CD that is
already inside when it's booting.
 
C

Carsten Hess

I know that, but DUAgent has no problem running from a write-protected
floppy or usb-disk (even thou it cannot delete the file) - which suits me
just fine for the specific purpose i need.

My problem isn't that it cannot delete the script, but that it doesn't even
*try* to execute it on a CD.

....but thx for your quick reply anyway Mario.

--
Carsten Hess
M.Sc.Eng
Linkage Software, Denmark


Mario Dambauer said:
DUA tries to delete the scipt after execution, to be sure, that a script is
only executed once.

Best Regards,
Mario
 
C

Carsten Hess

Hi Nikolai,
Workaround: [...]
4. Eject CDROM after. This: 1. gives clear indication for the
maintainer. 2. Will fix situation when a fix required a reboot, and
CDROM is left inside.

I was thinking along the same lines as a workaround, but your idea about
ejecting the CD after copying is actually quite a nice touch to the
solution - thanks!

However i would still like to see the DUA handling insert notifications from
the removable drives (as well as handling of read-only devices) in future
releases -- as already mentioned by others in previous postings.
 
C

Carsten Hess

Whoops - sorry 'bout the misposting.
Carsten Hess said:
Workaround: [...]
4. Eject CDROM after. This: 1. gives clear indication for the
maintainer. 2. Will fix situation when a fix required a reboot, and
CDROM is left inside. AFAIK Windows doesn't autostart a CD that is
already inside when it's booting.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top