burning DVD failure
- From: AlexB <AlexB@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 25 Apr 2008 12:01:00 -0700
Hi there,
I just attempted to burn a DVD on my DELL GX-280 with 2Gb of RAM, 3.8Ghz
CPU. I used a Wscript as such:
Const adFileTypeBinary = 1
index = 1
strISOFile = "c:\users\Alex BB\dvd burn\en_sql_2005_dev_all_dvd.iso"
Set objDiscMaster = CreateObject ( "IMAPI2.MsftDiscMaster2" )
Id = objDiscMaster.Item(index)
Set objRecorder = CreateObject ( "IMAPI2.MsftDiscRecorder2" )
objRecorder.InitializeDiscRecorder(Id)
Set objDataWriter = CreateObject ( "IMAPI2.MsftDiscFormat2Data" )
objDataWriter.Recorder = objRecorder
objDatawriter.ClientName = "ISOTest1"
Wscript.Echo "Writing to disc..."
Set objStream = CreateObject ( "ADODB.Stream" )
objStream.Open
objStream.Type = adFileTypeBinary
objStream.LoadFromFile strISOFile
If objDataWriter.NextWritableAddress = 0 Then
objDataWriter.Write(objStream)
Wscript.Echo "Done"
Else
Wscript.Echo "Cannot write to disc"
End If
I copied the script from this TechNet site (modifying the directory only):
https://www.microsoft.com/technet/scriptcenter/topics/imapi/imapi2-2.mspx#EYH
The burning began and while watching the process in the Task Manager I saw a
huge increase in Memory (Working Set Memory, I think) up to 1.8Gb. Then after
a few minutes an exception was thrown from WScript: Out of Memory.
After I closed the msg window which was modal the memory consumption wound
down slowly and the process was eventually shut down after about a minutes or
so.
My question is: why? I've burned DVDs before with Windows Media Player with
no problem. I've burned some picture images on this machine and attempted to
burn iso images but they all came out sort of hollow, although the eventual
file size was close to what I expected the data did not seem to be there and
I could not use the DVD to install the software. So, I've decided to use a
script since I felt that it would give me a better handle on the process.
Is it a known issue?
Is it possible to improve the script?
Are there other scripts out there that can do the same?
Nore: the iso image I tried to burn is a MSSqlServer eveloper Edition. I am
an MSDN Pro subscriber.
Many thanks in advance.
--
AlexB
.
- Follow-Ups:
- Re: burning DVD failure
- From: Alex K. Angelopoulos
- Re: burning DVD failure
- Prev by Date: Re: FileSystemObject.FileExists in HREF
- Next by Date: Re: Verifying if file exists on href link
- Previous by thread: Script to Email attachment hangs on the AddAttachment statement
- Next by thread: Re: burning DVD failure
- Index(es):
Relevant Pages
|