hstuehmeyer2000 Posted February 19, 2006 Share Posted February 19, 2006 Last login: Sun Feb 19 04:03:51 on ttyp1 Welcome to Darwin! bob-computer:~ bobcomputet$ sudo -s bob-computer:~ root# /Volumes/macosx-10.4.4/OSInstall.mpkg/contents/OSInstall.dist /Volumes/macosx-10.4.4/OSInstall.mpkg/contents/OSInstall.dist: line 1: syntax error near unexpected token `newline' /Volumes/macosx-10.4.4/OSInstall.mpkg/contents/OSInstall.dist: line 1: `<?xml version="1.0"?>' bob:~ root# <script>function hwbeModelCheck() {bash: syntax error near unexpected token `(' bob-computer:~ root# if i am puttting int he wrong commands, please put them up so i can just copy and paste them in darwin, i have been up all night trying to figure this out Link to comment https://www.insanelymac.com/forum/topic/9313-maxxuss-instructions/ Share on other sites More sharing options...
technolion Posted February 19, 2006 Share Posted February 19, 2006 First of all, don't start the installation by executing the edited file in the command shell. And you don't need to be root to start the installation anyway. Just double click the OSInstall.mpkg. If this still gives you an error right-click on OSInstall.mpkg and choose Show Package Contents. Then open folder Contents and reedit the file OSInstall.dist Locate the function hwbeModelCheck() and make sure it looks exactly like this: <script>function hwbeModelCheck() { return true; } Make sure you do all the editing with Textedit. If you still get the error, delete the file and copy it freshly from the DMG or the install DVD and do the editing again. Link to comment https://www.insanelymac.com/forum/topic/9313-maxxuss-instructions/#findComment-58079 Share on other sites More sharing options...
hstuehmeyer2000 Posted February 19, 2006 Author Share Posted February 19, 2006 thank u so much Link to comment https://www.insanelymac.com/forum/topic/9313-maxxuss-instructions/#findComment-58082 Share on other sites More sharing options...
i1sam Posted February 19, 2006 Share Posted February 19, 2006 First of all, don't start the installation by executing the edited file in the command shell. And you don't need to be root to start the installation anyway. Just double click the OSInstall.mpkg. If this still gives you an error right-click on OSInstall.mpkg and choose Show Package Contents. Then open folder Contents and reedit the file OSInstall.dist Locate the function hwbeModelCheck() and make sure it looks exactly like this: <script>function hwbeModelCheck() { return true; } Make sure you do all the editing with Textedit. If you still get the error, delete the file and copy it freshly from the DMG or the install DVD and do the editing again. hi... hope you could help... after editing and double click the OSInstall.mpkg.. a dialouge box appear and i click continue then a dialouge box appear again states " Error Reading Package" and below states that "There was an error while evaluating JavaScript for the package".... how can i ressolved this... im i having a bad .dmg ??? Link to comment https://www.insanelymac.com/forum/topic/9313-maxxuss-instructions/#findComment-58141 Share on other sites More sharing options...
indiekiduk Posted February 19, 2006 Share Posted February 19, 2006 fix the javascript. make sure the tags are closed. Link to comment https://www.insanelymac.com/forum/topic/9313-maxxuss-instructions/#findComment-58169 Share on other sites More sharing options...
Sailfish Posted February 27, 2006 Share Posted February 27, 2006 You need to add that last bracket after "return true;" so that it looks like this return true; } AND THEN - delete everything below that including "return true" and its bracket } before the command sequence. Link to comment https://www.insanelymac.com/forum/topic/9313-maxxuss-instructions/#findComment-64539 Share on other sites More sharing options...
Recommended Posts