Jump to content

robekia

Member
  • Posts

    54
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Luxembourg

Everything posted by robekia

  1. Excellent work, i appreciate that effort so much. I used ISO file for windows XPSP3 tweaked with NLite. i tested this using Memory stick 8GB/1GB/4GB on AsusEee --> worked fine. i tested this using Memory stick 8GB/1GB/4GB on HP530 --> worked fine. i tested this using Memory stick 8GB/1GB/4GB on HP500 --> worked fine. i tested this using Memory stick 8GB/1GB/4GB on Acer1640 --> worked fine. but when i tested this using the builtin/internal Card Reader with 4GB on ACER5738 with the following steps: 1- Format 4GB SD memory with HPTools. 2- install Grub 0.4.4 3- Booted from Grub 4- Start the text mode windows setup till i reach the step for choosing the partition to install windows --> actually this step never reached and blank screen appear instead. 5- i tried another ISO that worked for all other Laptobs and the same result 6- i tried with an ISO for pure windows (Not tweaked) with the same results. 7- i got maaaaaaaaaaaaaaaaaaaaaaaaaad with this. any solution gents?
  2. Hi, I'm using Borland C++ Builder 6 to do some coding by the use of Wimgapi.dll which deals with WIM files and i did Success to capture and mount and apply some images. i also success to get the image information but unfortunately, when i use the "WIMSetImageInformation" it didn't update the WIM internal info although i used the help which comes with WINPE 2.0. Anyone knows a working solution for this issue? hereunder is the code that i used which success to capture but failed to Setinfo: //--------------------------------------------------------------------------- void __fastcall TMycallback::Aeditnewwimfile(HANDLE hImg, int imgNum, AnsiString pName, AnsiString pDesc) { AnsiString aall, aa, bb, cc, dd; wchar_t *ImgInfoBuf, *NewInfoBuf; DWORD ImgInfoBufSize; int pre; ImgInfoBuf = new wchar_t[20000]; WIMGetImageInformation(hImg, (LPVOID *)&ImgInfoBuf, &ImgInfoBufSize); aall = String(WideCharToString(ImgInfoBuf)); bb = String("<IMAGE INDEX=\"" + String(imgNum) + "\">"); aa = String(aall.SubString(1, aall.Pos(bb) - 1)); pre = aa.Length() + bb.Length(); dd = String(aall.SubString(pre + 1, aall.Length() - pre)); aall = String(aa) + String(bb); aall += String("\n <NAME>" + pName + "</NAME>"); aall += String("\n <DESCRIPTION>" + pDesc + "</DESCRIPTION>"); aall += String(dd); NewInfoBuf = new wchar_t[20000]; aall.WideChar(NewInfoBuf,aall.WideCharBufSize()); WIMSetImageInformation(hImg, &NewInfoBuf, /*aall.Length()*/wcslen(NewInfoBuf) * sizeof(WCHAR)); } //--------------------------------------------------------------------------- void __fastcall TMycallback::Acapture(AnsiString afile, AnsiString adir, AnsiString adesc, BOOL compre, BOOL booot) { AnsiString aa, bb; aa = String(afile); bb = String(adir); wimFile = new wchar_t[10000]; wimDir = new wchar_t[10000]; aa.WideChar(wimFile,aa.WideCharBufSize()); bb.WideChar(wimDir,aa.WideCharBufSize()); Mycallback->Caption = String("Capturing...."); WIMRegisterMessageCallback(NULL, (FARPROC)CaptureCallback, NULL); handle1 = WIMCreateFile(wimFile, GENERIC_WRITE, CREATE_ALWAYS, 0x00000040, compre, NULL); handle2 = WIMCaptureImage(handle1, wimDir, 0x00000002); Aeditnewwimfile(handle2, 1, adesc, adesc); if (booot == true) {} WIMCloseHandle(handle2); WIMCloseHandle(handle1); Close(); }
×
×
  • Create New...