This is just for TESTING!
How about for NOOBS, because it only requires a smallish partition for the install, your program could
write a default blank formatted partition, then put the NOOBS files in it. The size could be fixed at
just big enough for the NOOBS files (allowing for future increases)? That would save having to use the
SD card formatter program.
I've modified the NOOBS write so it gives you a chance to create a small FAT32 partion (1.5GB) on the SD Card,
and then write the NOOBS files from the down-loaded zip file.
It won't work if 'control panel' and/or 'file explorer' are open
, even if minimised (When it works OK, the program will check this).
For the moment the card nust be formatted FAT32 and have at least one file on it.
Just run as normal and select a NOOBS zip file and then the PiWrite button. Select 'Yes' and the card will be erased
a 1.5GB FAT32 will be created, then 'Extract direct to SD card'. Wait for the format to finish (busy cursor).
Now try the card in the 'Pi' and follow the normal proceedure.
There will be a file on the Dropbox site called 'PiWinDiskImager99'
Can somebody try this and see if it boots OK.
I don't have the facilities for testing at the moment.
If it works ok, I'll refine the whole program.