Skip to content

Commit

Permalink
Fixed issues still occuring with web installation
Browse files Browse the repository at this point in the history
  • Loading branch information
Anand committed Mar 23, 2015
1 parent c987c81 commit 65b137e
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 24 deletions.
45 changes: 25 additions & 20 deletions Installer.nb
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
NotebookFileLineBreakTest
NotebookFileLineBreakTest
NotebookDataPosition[ 157, 7]
NotebookDataLength[ 15298, 443]
NotebookOptionsPosition[ 14019, 391]
NotebookOutlinePosition[ 14496, 413]
CellTagsIndexPosition[ 14422, 408]
NotebookDataLength[ 15465, 448]
NotebookOptionsPosition[ 14149, 395]
NotebookOutlinePosition[ 14626, 417]
CellTagsIndexPosition[ 14552, 412]
WindowFrame->Normal*)

(* Beginning of Notebook Content *)
Expand Down Expand Up @@ -65,7 +65,11 @@ Cell[BoxData[{
CellChangeTimes->{{3.624074264671877*^9, 3.6240742731735888`*^9}, {
3.624074650996521*^9, 3.6240746959425087`*^9}, {3.6256129091812162`*^9,
3.625612912606317*^9}, {3.628267099491096*^9, 3.6282671069533854`*^9}},
CellTags->"InstallCode"]
CellTags->"InstallCode"],

Cell[BoxData[
RowBox[{"NotebookClose", "[", "]"}]], "Input",
CellChangeTimes->{{3.636072013017332*^9, 3.636072016463275*^9}}]
}, Open ]],

Cell[CellGroupData[{
Expand Down Expand Up @@ -407,7 +411,7 @@ CellTagsIndex->{
*)
(*CellTagsIndex
CellTagsIndex->{
{"InstallCode", 14329, 402}
{"InstallCode", 14459, 406}
}
*)
(*NotebookFileOutline
Expand All @@ -416,32 +420,33 @@ Cell[CellGroupData[{
Cell[579, 22, 67, 0, 44, "Subsection"],
Cell[649, 24, 109, 3, 30, "Text"],
Cell[761, 29, 1559, 38, 114, "Input",
CellTags->"InstallCode"]
CellTags->"InstallCode"],
Cell[2323, 69, 127, 2, 28, "Input"]
}, Open ]],
Cell[CellGroupData[{
Cell[2357, 72, 69, 0, 44, "Subsection"],
Cell[2429, 74, 129, 3, 30, "Text"],
Cell[2561, 79, 1985, 53, 233, "Input"]
Cell[2487, 76, 69, 0, 44, "Subsection"],
Cell[2559, 78, 129, 3, 30, "Text"],
Cell[2691, 83, 1985, 53, 233, "Input"]
}, Open ]],
Cell[CellGroupData[{
Cell[4583, 137, 97, 2, 44, "Subsection"],
Cell[4683, 141, 5489, 130, 403, "Input"]
Cell[4713, 141, 97, 2, 44, "Subsection"],
Cell[4813, 145, 5489, 130, 403, "Input"]
}, Open ]],
Cell[CellGroupData[{
Cell[10209, 276, 62, 0, 44, "Subsection"],
Cell[10339, 280, 62, 0, 44, "Subsection"],
Cell[CellGroupData[{
Cell[10296, 280, 30, 0, 35, "Subsubsection"],
Cell[10426, 284, 30, 0, 35, "Subsubsection"],
Cell[CellGroupData[{
Cell[10351, 284, 1842, 50, 199, "Input"],
Cell[12196, 336, 565, 8, 199, "Output"]
Cell[10481, 288, 1842, 50, 199, "Input"],
Cell[12326, 340, 565, 8, 199, "Output"]
}, Open ]],
Cell[12776, 347, 56, 1, 28, "Input"]
Cell[12906, 351, 56, 1, 28, "Input"]
}, Open ]],
Cell[CellGroupData[{
Cell[12869, 353, 32, 0, 35, "Subsubsection"],
Cell[12999, 357, 32, 0, 35, "Subsubsection"],
Cell[CellGroupData[{
Cell[12926, 357, 946, 26, 131, "Input"],
Cell[13875, 385, 104, 1, 63, "Output"]
Cell[13056, 361, 946, 26, 131, "Input"],
Cell[14005, 389, 104, 1, 63, "Output"]
}, Open ]]
}, Open ]]
}, Open ]]
Expand Down
5 changes: 3 additions & 2 deletions Toolbox/Util.m
Original file line number Diff line number Diff line change
Expand Up @@ -213,10 +213,11 @@
Module[{installNotebook,nb,cell},
Print["Installing Toolbox..."];
installNotebook=FileNameJoin[{newDirectory,"Installer.nb"}];
nb=NotebookOpen[installNotebook,Visible->False];
nb=NotebookOpen[installNotebook];
SelectionMove[nb,Next,Cell,3];
SelectionEvaluate[nb];
Pause[5];
SelectionMove[nb,Next,Cell,1];
SelectionEvaluate[nb];
Print["The MASS Toolbox was successfully updated and installed!"];
],
Print["The MASS Toolbox was successfully updated!"];
Expand Down
5 changes: 3 additions & 2 deletions WebInstall.m
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,10 @@
(* Install new Toolbox *)
Print["Installing Toolbox..."];
installNotebook=FileNameJoin[{newDirectory,"Installer.nb"}];
nb=NotebookOpen[installNotebook,Visible->False];
nb=NotebookOpen[installNotebook];
SelectionMove[nb,Next,Cell,3];
SelectionEvaluate[nb];
Pause[5];
SelectionMove[nb,Next,Cell,1];
SelectionEvaluate[nb];
Print["The MASS Toolbox was successfully installed! To load the Toolbox, quit the kernel and run \"<<Toolbox`\""];
];

0 comments on commit 65b137e

Please sign in to comment.