Jump to content


  • Posts

  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country


Everything posted by WotC

  1. Hi! Had problems with timer (regardless what options i chose, i.e. disable/10 minutes it always came up with 1 min timer) as well as language setting (set it to english but got always the localized language). However, the updated test archive http://wpiw.net/WPI_Test.rar you provided solves these problems. Thanks a lot, gave me a headache. KR
  2. Hi! I did it like that: Install ghostscript once, copy the created GS folder to the install DVD into the Bullzip subdirectory (e.g. \Bullzip\GS). In the Bullzip diretory resides the downloaded setup file (i.e. BullzipPDFPrinter.exe). Install using BullzipPDFPrinter.exe /sp- /silent /norestart /noicons Thats it.
  3. I had - and still have - the same problem. first slipstreaming SP3 under Vista, then under XPSP2. Both versions do not accept my VLK. No activation or whatever. ****
  4. How about a simple bat file that checks: IF NOT EXIST "%userprofile%\ntuser.ini" Outlook.exe /importprf \\server1\share\outlook.prf the link can be included into the runonceex registry path or there is a path somewhere in the %windir% where you can store logion scripts (due to the if not exist query it runs only the first time, even if scheduled to run after every login). just a suggestion though
  5. solved already? does setup --mode=silent --deploymentFile="path to installer file" work? http://www.adobe.com/cfusion/knowledgebase...cfm?id=kb400995 http://www.adobe.com/cfusion/knowledgebase...m?id=kb400588#2
  6. How about: del "%userprofile%\Application Data\Microsoft\Internet Explorer\Quick Launch\*.lnk" /q /f
  7. sorry for not stating this clearly. what i'm doing (after a clean install of windows) is searching for a certain file on harddrives (right now the file Default.rdp, because its more or less common on the computers i'm taking care of) and setting the registry value of HKCU\Software\Microsoft\Windows\Currentversion\Explorer\Shell Folders to that path (i want to change from the Default.rdp file to a certain folder (i.e. Documents), though this is on progress right now). afterwards i want to overwrite the My Music setting in the registry with the same path (just add \My Music), the same with the My Pictures folder,... so right now i do: 1) the %mydocs% value i get from here: FOR /F "tokens=3" %%B IN ('ECHO list volume ^| DISKPART.EXE ^| FIND.EXE "Partition"') DO if exist "%%B:\Documents\Default.rdp" SET mydocs=%%B:\Documents im searching also certain paths containing whitespaces - so if i do a SET mydocs="%%B" i end up with a path (stored as the variable %mydocs%) looking like "E:\User Files\Documents". if i attach a \My Music" to it i end up with "E:\User Files\Documents"\My Music". you see the problem? its not a typo (the quote before the \My). afterwards i want to 2) write the according path of the My Music folder to the registry: reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v "My Music" /t REG_SZ /d "%mydocs%\My Music" /f so IF i can do a search for a folder (to clearify: i think the right term would be i need a recursive folder search) some day AND write the path of this folder to the registry (including whitespaces, Music, etc) i would be glad :-)
  8. yes, thats strange - why ms doesn't use their "own" format... though there is an .adm for windows desktop search, too.
  9. i suppose the problem with the tab was that i tried to copy to a cmd window and the tab got removed :-( as for the quotes/whitespaces: you are right, it works your way, BUT i wanted to use your command to read out the My Documents path and include e.g. the "My Pictures" path. this, however, is not possible with the quotes, is it?
  10. i think you have to search for a certain file using IF EXIST %%i:\***.*** SET CDROM=%%i:
  11. wow - this is even nicer! i was curious about the version number - but now... can anyone top this? please? PLEASE?! but again i have the problem with the whitespace, so i need: FOR /F "TOKENS=3*" %%A IN ('REG QUERY "HKLM\SOFTWARE\Mozilla\Mozilla Firefox" /S ^|FINDSTR "\<PathToExe\>" 2^>NUL') DO (IF ERRORLEVEL 0 (SET Firefox_Path=%%A %%B)) furthermore i have problems when using a <tab>, thats why i changed to 3* and %%A %%B...
  12. nice, indeed. however, i some problems with this script. it sets the %Ff% variable to "c:\program" because it should be "c:\program files". obviously it stops when encountering a space. any solutions? /edit: FOR /F "tokens=3*" %A IN ('reg query "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v "Personal"') DO SET mydocs=%A %B does the job
  13. just use /qb instead of /qb- and you will see the errormessage
  14. if you start if from a *.bat/*.cmd file: IF EXIST "%programfiles%\Mozilla Firefox\firefox.exe" for %%e in ("%cdrom%\Install\Mozilla_Firefox\*.xpi") do "%programfiles%\Mozilla Firefox\firefox.exe" -install-global-extension "%%e" if you start it directly from the commandline, replace each %% with %. you can remove the IF EXIST check, too! and of course, adjust the path(s) accordingly! hope that helps.
  15. uff - quite a lot of code. this will take some time to dig through it! thanks for the 1000th time. but still one more question (there is always at least one question left :-)). how did you compile the hta to an exe?
  16. /quiet /norestart works obviously has anyone compared it to googles´ desktop search? up to now i used neither the one nor the other. but as i'm getting older and harddisks become alrger almost every day this tool might become a necessity in the future :-)
  17. thanks again! but is it possible to input something (combined with the timer?). if you have another helpful link (like the one to the ms scripting homepage) it would be helpful, too!
  18. Anyone? Corel Graphics Suite X3? silently :-)?
  19. @qjaclaz: the second script gives me errors, errors, more errors,... and beside that - its huuuuuge. the first script checks just for the LAST cdrom. i wasn't interested in finding the last drive, but a particular drive containing a file of my choice. right now i don't see how i could do this using the first script. though maybe i could check all found CDROM drives for the particular file? nevertheless, this still doesn't account for harddrives. but finding the last drive might be useful some day :-) @gunsmokingman: thanks, i thought the "exit for" just exits - uhm, yes, the "for" loop :-). so i just have to swap the part checking for the cd with the part checking for the hd as my DVD is never as up2date as my hd! one more offtopic thing: is it very complicated to make a script asking for a userinput (path to My Documents) and closing when there is no input within xxx minutes? right now i'm just checking like this: IF EXIST "D:\Documents\Default.rdp" SET mydocs="D:\Documents\" IF EXIST "D:\Documents\Default.rdp" REG ADD "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v "Personal" /t REG_EXPAND_SZ /d "D:\Documents" /f and so on, inserting the My Music, My Pictures links,... however, using your script (and your knowledge) i could use a *.vbs checking for a specific folder (that we covered already) instead of the remote desktop settings file OR overwrite a (hopefully) found documents path with a user input (not to forget the timer!) :-)... soooo - would that be difficult :-) (the timer combined with the userinput?)? /edit: @qjaclaz: ::find CD-ROM Drive FOR /F "tokens=3" %%A IN ('ECHO list volume ^| DISKPART.EXE ^| FIND.EXE "-ROM "') DO if exist %%A:\WPI\WPI.ico SET CDROM=%%A:\WPI FOR /F "tokens=3" %%B IN ('ECHO list volume ^| DISKPART.EXE ^| FIND.EXE "Partition"') DO if exist %%B:\Unattended\WPI\WPI.ico SET CDROM=%%B:\Unattended\WPI echo Found CD-Rom as drive %cdrom% Now that is what i call simple and plain! That combined with the "timeout" script... and a possibility to use "do If exist" responding to a folder...
  20. wherever you want! just call it on purpose using a simple cmd/bat... but one more question: how do i exit this script? i want the script to close itself whenever it has executed the cmd. so i dont want to run it twice if i have a DVD in my drive AND the folder i'm looking for on my harddisk, too! If Fso.FolderExists(StrDrv.DriveLetter & ":\Unattended") Then ' PLACE_SCRIPT_THAT_YOU_NEED_BELOW_HERE Act.Run("Opera.cmd"),1,True Exit For I would need an exit from the script right after calling my *.cmd. is WScript.Quit enough? And - i haven't tried it yet (at least i think so) - when i call the *.vbs and the *.cmd is in the same directory i don't need the full path to the *cmd, do i?
  21. thanks! works like a charm. although i have to re-write all of my cmds - and thats quite a lot because i've collected about 120 apps during the last few years... but nevertheless... THANKS
  22. hey hey hey... getting closer - thanks. one more question: If StrDrv.DriveType = 4 Then this checks only "real" cdrom drives, doesn't it? how can i change that to include fixed drives, too? i want to "override" the cdrom path with a harddrive path whenever a certain file is present. using that "trick" i don't need to burn a dvd every time im installing my system and nevertheless have the latest software installed. i would do two subsequent for loops for that purpose (because on my install dvd the files im'm checking for are located within e.g. xxx\yyy and on a fixed drive the path would be \unattended\xxx\yyy). would that work?
  23. @MHz: Sorry for the little info given. I was to busy. What i am doing is installing applications using WPI. whenever an application was installed i call a *.cmd file where start menu adjustments are made ar files like *.inis are copied to the %programfiles%\APP_whatever path. therefore i need to check where my install DVD is (e.g. which drive letter it has). i could do this just once at the beginning (did this originally) but then i though maybe i want to install additional programs later on, thats why i splitted my "one-file-cleanup" into several files. The windows setup cd is NOT lost - just this annoying popups (yes, because windows is so stupid and thinks i got a new cdrom drive...). i think adding drivers is not of any help because windows recognizes it (USB device, if i put in a card i can access it immediately). so disconnecting the reader is the only way obviously (or go back to my "single-file-cleanup" - **** - i hate this :-(. but thanks for your advice... @gunsmokingman&muiz: But i dont want to click buttons during setup , is there no other way? @gunsmokingman: i'll check your script, thanks - just one question (if you are faster anserweing it than i am trying it :-)): If Fso.FileExists(StrDrv.DriveLetter & ":\win51ip.SP2") Then '''' PLACE_SCRIPT_HERE_THAT_YOU_NEED_BELOW_HERE Exit For i can put my xcopy blablabla.... here? with or without cmd /c ? THANKS edit: hmm, using the script and adding a "whatever.cmd" to be called doesnt do anything at all?! what am i doing wrong?
  24. Hi! Sorry if this was covered already, but the search didn't work for me. Here's my problem: i'm searching for cdrom drives using the common: for %%i in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) do if exist %%i:\whatever.ico set cdrom=%%i:\ This worked pretty fine - till i got a card reader. Now i get an error box all the time windows searches for the cdrom drive :-(. is there any known method to circumvent this annoying popup? Error-Message-Title: Windows - No Disk Message-Text: There is no disk in the drive. Please insert a disk into drive. Cancel / Try again / Continue Any hints are welcome...
  25. hmmm, i'll check this during an install. i had the feeling that installation took MUCH longer than when using wihu (with more or less the same programs being installed). when just in "select" mode i also have about 5% cpu usage. however, sa soon as i am in config mode thats 80%. i'll check the % when installing (as soon as i have something to install :-)). how many apps do u have in ur config file? i have about 120 or so - the loading time increases dramatically with the # of apps

  • Create New...