Jump to content

hasi001

Member
  • Posts

    324
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Austria

Posts posted by hasi001

  1. Ok how do I get the option button back on after turning it off?

    Turnig option button off should be used before "delivery". Changing options while in the install process makes no sense. On a CD useroptions.js wouldn't be written.

    And if I need 6 programs to install instead of 1 2 3 4 5 10 15 ect, can I just change in useroptions?
    Yes. But if you switch to 10 and only have 6 - only these would be displayed. Or switch to 5, so that the first window would have 5, the next 1 entries.
    I guess I can turn the option button on there as well?
    Yeah.
  2. First: post such questions in the WPI thread, since it implies a problem with WPI.

    Second: zip up your config.js and post it (as an attachment!!!) to your question, so people won't have to guess the problems you're having.

    Third: If it's a simple setup, a simple program definition should work. If it doesn't search for the error's cause - most often it's a wrong path used.

  3. It is better to post in the WPI thread as people are subscribed to that and ONLY that and never look at the rest of the forum. If you want help, STAY WITH THE ORIGINAL THREAD!

    Just stumbled over this thread. Alanoll's right: As long as there isn't a seperate WPI forum, you should read the docs and help section on the WPI homepage and if all that will not help - post in the WPI thread. I know it says 2.7 from Brain and Gresh - it's built on their work - and their base idea stayed the same.

    Users who can give useful answers have read the thread before - in my case I always directly jump to the first unread post. So I'll not miss a question I can answer or a problem I could work on.

    [EDIT]Since we do have a seperate forum now ... forget the above[/EDIT]

  4. WPI homepage -> help -> read

    Note: there is a setting sortOrder in config.js that affects the sort order of categories in WPI. This only affects the display sort order - not the installation sort order (there would be more to do that just copy and modify a single function. I took it in to keep consistency with bulldog's version)

  5. is this something that has been released or will be released? sorry :confused:

    With the ordr property you could set, at which point you want to install a prog. So say, if you want to run a cleanup skript at the very end of installation, xou could define it like any other prog and set ordr[pn]=999

    If no other prog had a higher ordr, the cleanup would be executed as the last install step (but before WPI exits - mind that). ordr does not affect the display-order - only installation order.

    If you install by category and have a single category 'Cleanup' containing any such skript, then you have to make sure, that category is installed at the end - that's it.

    If you do not use a cleanup skript in this way, then it won't matter, if you change install order to 'by category'

    is sleep an addon?

    must be some external utility. could not find it on my system.

  6. heres a image to show you what im mean in reguards to my post.... further if you look at the ATI Software box...... how can we add the lines that are below "ATI Catalyst Driver 4.12"???? just dead lines to show you what its installing as i have used cmds 1-3 to execute 3 installs under one title......

    also as Astalavista has asked any way to add more than 3 cmd lines???? as i too need mroe as my ATI install is 6 different programs...

    Most often 3 command lines are more than enough. If you like the ATI software to show as seperate applications in the runonceex dialog, then you'd have to make each one a single program. so it's 6 times 1 command line.

    as for the installation grouping by categories, that's a minor cosmetic issue. since we are working on unattended install, most people wouldn't even recognise that, cause they wouldn't sit in front of their machine just to admire the install process. unattended means you could do something more productive while a machine installs itself. but sure I understand your point. perhaps it will come in one of the next releases, but sorry - it's not the most important thing right now.

  7. May i make a little suggestion?

    Since it seems we are finding new bugs everyday. Would it be possible for a link to the files itself with the modified code.

    The problems: if someone using 2.7 comes to the end of this thread and does not back read. They

    might think that oh... i just have to replace this code. When in fact

    they hv to get the other files as well.

    I dont knw if i explained myself well. It is just that we are updating the code

    almost on a daily basis now. Not that it is a bad thing. Since we are finding all bugs and fix it right away. It is getting very confusing. I dont know

    who has which buid anymore :P LOL

    I could split config.js into a file with variable defines and one for the users' program entries, so that the user only has to replace 'his' customized file. The problem with this is, that users wouldn't be aware of new functionality or required changes that come from added behaviour.

    It seems, that most users do not read this thread (it's grown too long by now) - but they do not read the docs and faqs on the homepage either. So they come here, when they've got problems and someone has to explain things again (see my upper post for an example).

    What should I do? Stop working on WPI, so that there won't be any changes/additions ? Or would you users make yourself the little work to read the docs and news on the homepage ?

    Users only have to make changes in config.js. Replace the sample progs with your own. That should always work, since I try to be backwards compatible with the program definitions. If you customize WPI like bulldog does, it's up to you to change the code.

  8. That makes sense now why it was defaulting to drive D. D was in my registry. I replaced the win51 with win51ip so that it would work with my UBCD project. Everything is working now. I am sure somewhere in these many pages someone has maybe suggested an alternative way to get the drive letter, there must be a better way than looking for a file? Maybe vbs code or some small utility?

    On my XP-Unattended-DVD there are 3 unique files:

    WIN51 ... which can be found on every XP install CD

    WIN51IP ... which should tell you, that the install includes service pack 1

    WIN51IP.SP2 ... and service pack 2

    So WIN51 should be on EVERY XP-Install-CD. That's, why I am searching for this file! If you read this montrous thread, you'll get to know that there isn't any better way to search for the CDROM drive letter (your question suggests, you didn't). Former versions of WPI only used the registry value - that was a huge problem sometimes, and so now I use it only as a fallback solution. If you find any other (better) way then let me know of it.

    If you like to know more about the FindCDROM mechanism, read generate.js - and write your own. The WPI homepage's help section also gives answers to this problem.

  9. No. You do not have to delete them. Just move them down one line. It should look like this:

    if((u[0] == "systemdrive") ||(u[0] == "programfiles") ||(u[0] == "windir") ||(u[0] == "cdrom") ||(u[0] == "")) {
     pth = new String();
     pth = u[0];
     u[0] = pth.toLowerCase();
     if(u[0] == "systemdrive") return WshEnv("SYSTEMDRIVE") + "\\" + u[1]

    1. I would liek to knwo how to add a blank line in the generate script as to separte items.... i saw an earlier post on changing the height/width of the category lines but that idea didnt work when i tried it.... so is there a simple line of code that adds a blank line to the script????
    Well. That should work. You have to edit boxes.js, line 200
    	 txt += ('<div class="category">' + cat[i][0] + '</div><hr>');

    and insert a blank line:

    	 txt += ('<div class="category">' + cat[i][0] + '
    </div><hr>');

    Then you have to test it and change the value 30.72 in line 238

    if ( (winheight >= 768) && ((pi+cats)>=(col*(winheight/30.72)))) {

    to a value that suits the new style.

    2. You know the window that shows up after you execute the script and it goes through each program installing one by one???? Is there a way to turn that into separate windows??? Ie each category has 3 programs in it.... and when it installs the 1st window pops up...

    Edit generate.js, line 190 says

    if (j==15) // call RunOnceEx every 15 apps, so that the window doesn't grow too big

    Change 15 to 1 and every app installs seperately.

  10. what should i do with the new build do i just

    replace everything? and retain only my config.js?

    no. you should use the new config.js. but you can reuse part of your config. youst replace everything between

    //---------------------------------------------------------------------------------------------
    // Your programs here ...
    //---------------------------------------------------------------------------------------------

    and

    //---------------------------------------------------------------------------------------------
    // End of programs list.
    //---------------------------------------------------------------------------------------------

    with your entries.

    or put the 2 new property definitions into your config.js. that's

    var uid=[];              // unique identifier, used for dependency checking                         
    var deps=[];             // dependency, fill in uids of progs, this one is dependent of
                            //  if a dependent program is selected, its 'parent' gets selected too
                            //  if 'parent' is deselected, program is also deselected

    and use it instead of the sample config.

    2.9.9 is in german... can u release an english version or tell me

    which file holds that info so i can change it to english?

    edit config.js, set language='en' that's it.

  11. Hi all.

    New version 2.9.9 is out at the WPI homepage. Seems the bulldog and I have done the same job. The changes are not based on bulldog's reworked version, but on my original 2.9.8a.

    What's new:

    NO more case-sensitivity with environment-variables

    program dependencies

    NO confirmation message, when timer reaches 0:00

    @BULLDOG

    canse-sensitivity with folder names ? i know that with linux but not with windows. c:\windows == C:\WInDOws == c:\Windows == C:\winDOwS isn't it?

    send me a config, where case sentitivity in folder-names matters - I'll check the WPI implementation to get rid of it.



×
×
  • Create New...