Problems moving IMAPI temp folder

G

Guest

I'm having a little problem since moving to Feature Pack 2007.
In the past using SP1 we would use compact flash to hold the operating
system, protected by EWF, and create a partition on a fixed disk which would
be mounted to the user's CD Burning folder. This worked well barring the
occasional loss of the partition to disk failure etc..

With FP2K7 with EWF or FBWF however, whenever I attempt to burn a CD this
way it will fail, erroniously saying there is not enough temporary space to
cache the files. Copying the files to the location works fine, there is
sufficient space. What seems to be happening is the IMAPI service is instead
looking to see how much free space there is on the C: (the flash drive) where
there is obviously not enough space. I confirmed this by testing on a fixed
disk with a large enough partition as C:, where I did not recieve the error.
And again on the same disk with a smaller partition, where I did recieve the
error. I also tried simply moving the users CD Burning folder by changing
the location in the registry, it also resulted in the same problem.

It seems to be a either a bug or oversite in the code. I'm not sure where
else to go from here, and would appreciate any advice.
 
G

Guest

I don't know if this will help you but there is also the 'TemporaryStashPath'
Registry value in HKLM\Software\Microsoft\IMAPI\StashInfo It's a REG_SZ and
has to have a trailing slash in the path (I never tried putting an actual
file name in it just a path to a directory). It seems that the StashInfo key
is created when IMAPI is first run with default values but not necessarily
the TemporaryStashPath value, you will almost certainly have to create it...
 
G

Guest

That worked like a charm. You're right that registry value was not being
created, and I'd never heard of it to begin with. I'll do some more testing
but that seems to have solved my problem. Thanks.
 
G

Guest

I'm glad, I wasn't sure it would apply since I haven't done any XPe since
SP1. I found the reg key/value by using sysinternals process monitor.
I'm no IMAPI expert but I seem to have wasted a lot of time with it
lately... This is how I see it and I'm more than happy to be shot down... :).
The Explorer CD Burning reg path is where XP stores files persistently
between reboots, i.e. add a photo today add a video tomorrow. The 'Stash' is
built when the CD Burning wizard (or other program that uses IMAPI) creates
the file to stream (or whatever) onto the CD during the actual burn. If IMAPI
doesn't find the TemporaryStashPath value it just sticks the stash in %TEMP%
which for the LOCAL SYSTEM is usually %SYSTEMROOT%\Temp, so I guess you could
get the same result by changing the %TEMP% path for the system but obviously
that would apply to alot more than just IMAPI... Good luck
 

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