|
||||
Well I don't get it. I tried using WinRAR as a test, no luck. I have four files in a folder I named "XTRA_WinRAR" and put in the OEM folder.
initflashfiles.txt: Directory("\Windows\Start Menu\Programs\Accessories"):-File("WinRAR.lnk","\Windows\WinRAR.lnk") WinRAR.lnk: 18#"\Windows\rar.exe" 0dceefc8-b94d-11db-8314-0800200c9a66.dsm: (blank) rar.exe (program file) Adding that to the OEM folder causes the device to hang on the device boot screen prior to the windows boot screen. Leave it out and it boots. |
|
||||
Edit: the following post may be incorrect (read on in this thread):
---- (old info) I think I posted about this somewhere else. The reason it's not working is that the directory you are pointing to (Accessories) does not exist. You need a different command in your initflashfiles.txt to create directories. You should be able to search for it; I don't know it offhand. |
|
||||
Actually I just removed the line I had in initflashfiles.txt to create the directory first thinking that it might be causing the problem. This is how I had it before, it does the same thing this way:
initflashfiles.txt: Directory("\Windows\Start Menu\Programs") ![]() Directory("\Windows\Start Menu\Programs\Accessories"):-File("WinRAR.lnk","\Windows\WinRAR.lnk") |
|
||||
Check your syntax just to be sure. I know for sure that trying to place an item in a nonexistent directory causes a hang at boot. That's not to say something else isn't causing your problem, but I look at "obvious first". Have you tried changing that line to put the program somewhere else, or better yet just take it out entirely and see if the program shows up in \Windows after you flash?
Beyond that there are threads devoted to this sort of problem, you might find some tips there. (You'll need to search; I don't recall where they are). BadKarma, the OEMs are in the FTP. Some are under subdirectories of the names of the people that compiled them for the ROM kitchen (like luv2chill). |
|
||||
Quote:
1) Make sure that you have one blank line at the end of your initflashfiles.txt file 2) Make sure your initflashfiles.txt is being saved as Unicode 3) You shouldn't need the extra line that creates the Accessories folder. If the folder doesn't exist before copying the file, it will be created automatically
__________________
One ROM to rule them all,
One ROM to find them. One ROM to bring them all, And in the kitchen, bind them. |
|
||||
heh, after changing things one at a time and rebuilding/flashing more times than I want to count, I figured out those three things lol. Also I discovered that the character count in the shortcut file doesn't seem to be needed, I tried just making it
#"\Windows\whatever.exe" instead of having the character count before the #, and it seems to work fine that way. Thanks for the post, wish I'd have read it before spending a couple hours troubleshooting ![]() I guess the OEM faq that I got is out of date or a little incomplete. |
|
||||
Quote:
|
|
||||
Yeah I can confirm that you don't have to create the folder first, and I think that I've done it multiple levels deep into a nonexistant directory. Thanks again for the tips, I have my rom working now I have to chase down all the quirks and get everything working right, registry stuff, etc and pretty soon I'll have all my apps and settings in a rom without having to use any of the designated storage space, sweet!
|
![]() |
|
|
|