jainer123 Posted February 26, 2006 Share Posted February 26, 2006 Hey everyone, Here's my problem. I think i've followed M's Directions exactly...but when i double click osinstall, and actually hit the install button, it stops abruptly and says to try installing again. On the directions, it says to make sure i have the dmg mounted, which i do, but it still won't install. I think my problem lies in direction number 5 and 6. Here is the code for both those, in the area that needed altercation: osinstall.dist: <script>function hwbeModelCheck() { return true; } function hwbeInstallCheck() { if ( !hwbeModelCheck() ) { my.result.message = system.localizedStringWithFormat('hwbe_machine_message'); my.result.type = 'Fatal'; return false; } There was a whole bunch of other stuff there, and i deleted it all and set it so that it looks just like this...i've also included the code after it so you can see what i mean. Is this correct, or did i do something wrong by deleting all that other stuff, like the try() thing or whatever was there before? Also, Here is the basesystem plist code: <string>8G1165</string> <key>IFPkgFlagAltSourceLocation</key> <string>../../../../Volumes/Mac OS X Install Disc 1/</string> <key>IFPkgFlagAuthorizationAction</key> This i'm pretty sure is correct. The only other thing that I can think of if these are okay, is that i cannot d/l the boot loader patches since my processor has no sse3 support, because the "man"'s website has no links to it(the links that are they are expired, etc) Any one have any insight for me? Link to comment https://www.insanelymac.com/forum/topic/10191-osiinstallpkg-wont-install/ Share on other sites More sharing options...
thesog Posted February 26, 2006 Share Posted February 26, 2006 function hwbeInstallCheck() {if ( !hwbeModelCheck() ) { my.result.message = system.localizedStringWithFormat('hwbe_machine_message'); my.result.type = 'Fatal'; return false; } If I'm not mistaken, you shouldn't have to edit the hwbeInstallCheck funtion just the hwbeModelCheck one. Try restoring the hwbeInstallCheck function back to its original and try it again. The hwbeModelCheck and BaseSystem changes look fine. Link to comment https://www.insanelymac.com/forum/topic/10191-osiinstallpkg-wont-install/#findComment-63680 Share on other sites More sharing options...
jainer123 Posted February 26, 2006 Author Share Posted February 26, 2006 thesog, I don't quite understand what you mean...should i leave the top section of that code the way it was, and then at the bottom of the code, change the return false to return true? the part i changed was the top part of the code, not the bottom part. If possible, do you think you can show me your code, or where exactly i need to change to return true? thanks. Link to comment https://www.insanelymac.com/forum/topic/10191-osiinstallpkg-wont-install/#findComment-63743 Share on other sites More sharing options...
habib Posted February 26, 2006 Share Posted February 26, 2006 i had the same error. i think it's according to basesystem's plist. in my case i used the dvd autopatcher to create burnthistodvd.iso, mounted it, and started osinstall.mpkg from there. Link to comment https://www.insanelymac.com/forum/topic/10191-osiinstallpkg-wont-install/#findComment-63817 Share on other sites More sharing options...
thesog Posted February 26, 2006 Share Posted February 26, 2006 You've basically made three changes one of which was not necessary. 1. You modified the function hwbeModelCheck() to only return true (and deleted all other code in that function) which is correct. 2. You modified the function hwbeInstallCheck() which is incorrect. Restore this function back to its original form. This function will call the hwbeModelCheck() funciton which of course will return true so it believes your system passes the model check. 3. You changed the path to the install disc in BaseSystem which is correct. Link to comment https://www.insanelymac.com/forum/topic/10191-osiinstallpkg-wont-install/#findComment-63891 Share on other sites More sharing options...
blackentangled Posted February 26, 2006 Share Posted February 26, 2006 Here's my problem. I think i've followed M's Directions exactly...but when i double click osinstall, and actually hit the install button, it stops abruptly and says to try installing again. On the directions, it says to make sure i have the dmg mounted, which i do, but it still won't install make sure that your dmg is named "Mac OS X Install Disc 1" (without the quote). osinstall quits when it isn't named that way eventhough you have your dmg mounted. Link to comment https://www.insanelymac.com/forum/topic/10191-osiinstallpkg-wont-install/#findComment-63925 Share on other sites More sharing options...
jainer123 Posted February 26, 2006 Author Share Posted February 26, 2006 the sog, the reason why i'm not understanding is because i didn't mess with anything else on the code...i deleted all that other code, changed it to return true, and saved...that's why i'm not getting where i changed the installcheck...if possible, do you think you can show/tell me where i changed the code? i will also look at an original code and see if i can't see the difference. thank you. Link to comment https://www.insanelymac.com/forum/topic/10191-osiinstallpkg-wont-install/#findComment-64033 Share on other sites More sharing options...
Recommended Posts