husein93 Posted February 14, 2013 Share Posted February 14, 2013 Helo I have one question how to make WPI to install programs this order (1,2,3,4,5...etc (example) ) there is a picture what i do but it seems I doing something wrong or its maybe a bug ? Thank you for reply ! Link to comment Share on other sites More sharing options...
myselfidem Posted February 14, 2013 Share Posted February 14, 2013 Give an order number for all other applicatons! Link to comment Share on other sites More sharing options...
husein93 Posted February 14, 2013 Author Share Posted February 14, 2013 Give an order number for all other applicatons!I try that too but it doesn't work Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted February 14, 2013 Share Posted February 14, 2013 Under features do you have install by category checked? Link to comment Share on other sites More sharing options...
husein93 Posted February 15, 2013 Author Share Posted February 15, 2013 (edited) Under features do you have install by category checked?Its unchecked...@Kelsenellenelvian Should it be checked ?I try checked unchecked the same problem again it doesnt sort and install programs by given order... Edited February 15, 2013 by husein93 Link to comment Share on other sites More sharing options...
myselfidem Posted February 17, 2013 Share Posted February 17, 2013 (edited) Yes, it is a bug and this happens some times.The order and number are correct inside the configuration wizard; but the order may change inside config.js and the programs are installed not using the order number but the order of the list (writed inside config.js)!Example: If I add a new Category and select some programs for this new category, when the configuration is saved the installation order inside config.js file change and programs will be installed using the order of the list and not the order number!(example install order changed to: 1,8,9,10,2,3,4,5,6,7) Edited February 17, 2013 by myselfidem Link to comment Share on other sites More sharing options...
husein93 Posted February 17, 2013 Author Share Posted February 17, 2013 Yes, it is a bug and this happens some times.The order and number are correct inside the configuration wizard; but the order may change inside config.js and the programs are installed not using the order number but the order of the list (writed inside config.js)!Example: If I add a new Category and select some programs for this new category, when the configuration is saved the installation order inside config.js file change and programs will be installed using the order of the list and not the order number!(example install order changed to: 1,8,9,10,2,3,4,5,6,7)Yes exactly then i edit config.js with notepad and put programs and apps by my order thats the only way to make it works I think i new versions that BUG should be fixed Cheers ! (: Link to comment Share on other sites More sharing options...
myselfidem Posted February 19, 2013 Share Posted February 19, 2013 (edited) Saving an existing configuration, the order change to:order (with 32 programs): 1, 10, 11, 12, 13, 14, 15, 16, 17, 18,19, 2, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 3, 30, 31, 32, 4, 5, 6, 7, 8, 9.I'm looking for a workaround! Edited February 22, 2013 by myselfidem Link to comment Share on other sites More sharing options...
myselfidem Posted February 21, 2013 Share Posted February 21, 2013 (edited) I use this temporary solution that works!Give numbers like this:01, to 09, and after 10, etc.The order will be saved correctly, and we can use install by categories without troubles!But for 100 programs the trouble appears a new time! Edited February 21, 2013 by myselfidem Link to comment Share on other sites More sharing options...
myselfidem Posted February 22, 2013 Share Posted February 22, 2013 (edited) After many tets, it seems there is a workaround!1 - Inside program.js , changing (on line 213): {return x - y;} 2 - Inside program.js (on line 322) adding:progspercat.sort(byOrder); // Sort by ascending numerical orderif (SortWithinCats) progspercat.sort(SortByProg); // Sort by alphabetical orderThanks to make tests and check if it's OK!The order will be saved correctly inside config.js (1,2,3,4,5,6,7,8,9,10,11, etc.).Tested and works fine for me!Algorithm of JavaScript "sort()" FunctionRegards*Edit: post updated Edited March 1, 2013 by myselfidem Link to comment Share on other sites More sharing options...
uphold2001 Posted August 6, 2013 Share Posted August 6, 2013 I assume this is in the latest supporter release? I had this issue as well, but never really bothered too much with it. So all applications should be numbered? Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted August 6, 2013 Share Posted August 6, 2013 Yes Link to comment Share on other sites More sharing options...
crazydrve Posted November 5, 2013 Share Posted November 5, 2013 I finally found this bug only by trying to use the number order. If you leave it blank then you can manually adjust it using config.js. I have done this for years.I edited the program.js but I must not understand right what I am supposed to take out.{ position="program.js"; whatfunc="byOrder()"; var x=a.ordr; var y=b.ordr; return ((x < y) ? -1 : ((x > y) ? 1 : 0));}new look was{return x - y;} Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now