Jump to content

ICANIT

Member
  • Posts

    42
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Denmark

Everything posted by ICANIT

  1. Hi, I have a little isue with gcond; in my useroptions, i have DisableifdoGray=true. lets say i have these three programs: ProgA excl=ProgB ProgB gcond=something ProgC gcond=something If Graycondition is met on both ProgB and ProgC, they are both gray and I can't click ProgC. But I can click ProgB because it is on the exclusionlist of ProgA. I would like to have programs grayed out and unclickable, if condition is met, no matter if its on exclusionlist on other programs (entries in config.js) can this be solved?
  2. in your config file, add this for program "ABC": deps[pn]=['xxx']; When you mark ABC, program with UID=xxx will be marked too.
  3. Try without the " this works for me: cmds[pn]=['%ROOT%\\Master\\office2k7uk\\setup.exe /adminfile User.msp'];
  4. Hi Davidville, this is what i did: cmds[pn]=['lpksetup /i da-dk /r /p %ROOT%\\Install\\System-Tools\\Language\\lp64.cab']; cond[pn]=['getBits()==64 && getOSver()==Win7" && getOSlang()!="DAN&quot]; have in mind that it only works on the Ultimate version, not Pro.
  5. Colornokia: Your Avast is set to Exclude an hidden entry. you can't do that, only exclude shown entries. Its not a bug. :-)
  6. you can use: cond[pn]=['getBits()==32']; and so on....
  7. for Workgroup you can write anything you want. but for Domain, the domain must exist and be accessable from the client computer and the useraccount must exist in AD and have rights for creating computeraccounts. How are you planning to use this? you cannot create a Useraccount from the client, so the "User Name" in your box must be an allready existing user in AD, and then you dont need to type the password twice. (default, only Administrators have rights to join computers to the domain) Personally I dont see the need for this, since its done in the unattended SIF or XML file. but lets see what you can come up with. :-)
  8. Try without the quotes. you dont have any spaces in your path or filename, so you dont need the quotes. I do it like this: cmds[pn]=['%ROOT%\\Install\\Emule\\emuleplus12b.exe /S'];
  9. for regional settings i have this: <settings pass="oobeSystem"> <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <InputLocale>da-DK</InputLocale> <SystemLocale>da-DK</SystemLocale> <UILanguage>en-US</UILanguage> <UILanguageFallback>en-US</UILanguageFallback> <UserLocale>da-DK</UserLocale> </component> at first I had it under "specialize" and I had the same problem, all was in danish but I had to manually click "next", after moving it to "oobeSystem" it works 100% unattended for me.
  10. Anthonygld: I had the same problem, what i did to solve was this: first know what the problem is: if you install from WDS you computer has allready been giving a name when you start to install. if you specify another name later in the process you will get your error. solution is to uncheck "do not create account in the domain........" and have this line in your unattended.xml: <ComputerName>*</ComputerName> (no name here) Your installation will accept the name of your computer, provided by WDS, and join this computername to your domain. and you are good to go. :-)
  11. Put your $OEM$ folder under your Images\install-() folder. to start WPI i call it from firstlogoncommand: <FirstLogonCommands> <SynchronousCommand wcm:action="add"> <CommandLine>\\IC-DEPLOY\Clients\Install\wpi.cmd</CommandLine> <Description>WPI</Description> <Order>1</Order> <RequiresUserInput>true</RequiresUserInput> </SynchronousCommand> </FirstLogonCommands> Works perfect. by the way, have you managed to get rid of the choicebox for country, timezone and keyb. ?? i can unattended make the selections, but box is still showing and I have to click next. (sorry for being off topic)
  12. Workgroup names are always uppercase. Are domain names uppercase, too? Case sensitive? - Netbios names are typically uppercase, but FQDN are not, ex: DOMAIN\User-account = user-account@domain.com Is a domain user always a member of at least 1 group? (admins, accounting, peons, etc)? - Yes, "Domain users" If above is yes, do you specify it when creating user account? - No, its default when you create the account in AD (active directory) When on a workgroup you make a Windows User Account so not using Administrator (even though new user can be administrator), usually just your name, Mark, Bob, etc. Now, when formatting a computer for use in a Domain, do you still make a Windows User Account (not Administrator) AND domain account? - No, you only login with the domain account. Domain admins do have locally admin rights on the client by default. Are client computer names important on Domains? - Yes and No, since you typically doesnt have client-to-client communication the name is not important, but you cant have two identical names on the domain. it is however nice to have some policy on names, for easy identification. When done installing Windows on client machine, do you make the user account on the machine, or through the server? - Computer accounts are made on the client when you join the domain, user accounts are made in AD on the server.
  13. HI mritter, your the developer so i guess you must know. :-) but from your answer i get that this: cond[pn]=['getbits()==32']; - should hide my app if OS is 32 bit !? thats not the case. the line is meaning, "show only this app if OS is 32 bit" so in my opion this line: cond[pn]=['isLogOnServer("\\DC-A")']; - should also be positive and mean "show only this app if LogOnServer is DC-A". it gets quite confusing if Cond[] ,is ether positive or negative depending of what function you want to run. and still we have the ! sign to make it negative (meaning "if this is NOT true, do this") just sharing my thoughts :-)
  14. This time my problem is with "isLogOnServer", i cant make do what I want. If I push Alt-G in WPI and check for isLogOnServer it says: isLogOnServer("\\DC-A") but if i do: cond[pn]=['isLogOnServer("\\DC-A")']; My app. is not shown ! if I do: cond[pn]=['!isLogOnServer("\\DC-A")']; the entry is shown, and I can write whatever I want as servername with no difference. My goal is to have this: cond[pn]=['isLogOnServer("\\DC-A") || isLogOnServer("\\DC-B")']; meaning, Only if your logon server is ether DC-A or DC-B, show this app. (servernames is not actual names, just ex.) what am i doing wrong?
  15. Absolutely beautiful, now it works perfectly THX :-)
  16. thanks for the effort everyone. :-) I still cant get it to do what i want. in my config file i have "CheckOnLoad=none" but i thought that if i do the Check=default argument, the entries with dflt=yes should be marked and installed. ofcourse if I do "CheckOnLoad=default" in my config file, it works. but then defaults are loaded all the time. just for the test I tried this, and with argument Check=none - defaults are marked. conclusion: the Check= argument doesnt work in version 7.7.0, arguments must be "stronger" than entries in config file or CheckOnLoad should go back to Useroptions. My config file is about 1500 lines and is maintained/fine tuned allmost everyday, so i would rather keep it with only one file. Useroptions however is quite static, so i dont mind having two of those. Thx all :-)
  17. I have a small problem with CheckOnLoad. I run WPI from a server share, and would like to start WPI in two different ways, and only have one config.js file to maintain. If WPI is called from my RIS setup it should mark those entries with "default=yes" and have the timer on, Install all default applications and reboot the computer. but if started from elsewere, it should have "CheckOnLoad=none" and timer off. I do this: "start wait wpi.hta options:useroptionsRIS.js config=config.js check=xxx timer=60" for my RIS setup, and no parameters when started from anywhere else. (shortcut on desktop) I have tried with the configs[pn] option, and the check=xxx parameter, but it seems that the config.js file overrules the check= parameter. The only way I know of to get this to work is by having two config files, and i dont want that. Maybe if the function "CheckOnLoad" was put back into the useroptions.js file it would do the trick.? Anyone who can understand what I'm trying to say, and help me accomplish my goal?
  18. Thx Mritter, sorry for not seeing that in the manual. I ended up with: cond[pn]=['getOSver()==Win7","Vista" && getBits()==64]; now it works fine, THANKS :-) EDIT: Actually it didnt quite work. but this did: cond[pn]=['getBits()==64 && getOSver()==Win7"||getOSver()=="Vista&quot]; Thx again.
  19. Hi, I really wish for an AND function with Conditions. ex. I have Nvidia files in my WPI where i would like conditons like: Cond. GetOSVer=Win7, Vista AND Getbits=32 If i do this: cond[pn]=['getOSver()==Win7","Vista"','getbits()==32]; it shows the app. in XP-32bit and 2003-32bit. is there anyway you could make a rule like if first answer is NO and second answer is YES, the condition is "not show" - only if first answer is YES it will check for next answer/cond. in line.? or maybe like this: cond1[pn]= cond2[pn]= Thx for good programming, i've been using WPI for several years now. :-)
  20. Let's see one of you bat files... it might be the path in the bat file ?? Whats in your log file ? does it say "Success" on running the bat file ? if yes, it's the path written inside your bat files that's false. If you bat files doesnt consist of more than 6 commandlines, you can run the commandlines directly from WPI, like : cmd1[pn]=['cmd /c MD "%PROGRAMFILES%\\Program"']; hope it helps.
  21. Its not exactly true that WPI - gcond only looks for files and not folders. this is what i tested : gcond[pn]=['!FileExists(\'"%PROGRAMFILES%\VMware"\')']; and gcond[pn]=['!FileExists(\'"%PROGRAMFILES%\VMware\VMware Tools\VMwaretray.exe"\')']; ether of those two lines will gray out my "program" even if the folder "VMware Tools" and thereby the file VMwaretray.exe is NOT present. I ran WPI on a computer with only VMware Workstation installed, that means that the folder %ProgramFiles%\VMware is present (not the tools folder) - and it still gets grayed out. i even disovered that on some programs it is needed to have the dubble backslashes Like : gcond[pn]=['!FileExists(\'"%PROGRAMFILES%\\Notepad++\\notepad++.exe"\')']; i havent found out why, yet, but will test further.
  22. Thanks Zorphnog :-) Nice to hear the options is coming back in the next version.
  23. My wish for 5.5 is to get the "Show extra buttons" checkbox back. I'm running WPI through a RIS setup, and WPI will allways be launched from harddrive. but i dont want the ekstra buttons. can i still disable them in Useroptions.js ??
  24. Best wishes for you, Kel. hope you get well soon. Remember : 2 Liters of Cola each day, keeps the doctor away
  25. Larciel: your config file looks fine to me, no problem here. but then again, we cant see what is going on in the bat and cmd files you are calling in your last entry. can you post these as well ?
×
×
  • Create New...