Jump to content

BritishBulldog

Member
  • Posts

    270
  • Joined

  • Last visited

  • Donations

    $0.00 
  • Country

    Germany

Everything posted by BritishBulldog

  1. Hi Kel, well well you are still coming a long way with this, glad you are keeping it alive bully
  2. Happy Birthday, doesnt time fly. Yes i am still alive and kicking Greeting to all that know me too.
  3. could it be that you are missing inverted comma's in a command? If your command line has blanks in it like between Universal and Silent etc. then the command should be in inverted commas. if my CD is drive D: it works, here is the log cmd1 Success (returned code 0): ""D:\\WPI\Tools\Universal Silent Switch Finder.exe"" but if it is not drive D: I get an error, here is the log cmd1 *** Fail *** (returned code undefined): "D:\\WPI\Tools\Universal Silent Switch Finder.exe"
  4. hiya will try and get back into this, been a long time and work has been keeping me busy. Good thing that ohterwise no money would be coming in. Just looking into the new version now
  5. just thought i would pop in a nd see whats happening here and wow WPI has gone a long way in the past year or so. Glad to see my 6 line install is still in there, plus a few other bits. well done guys and girls bb
  6. looks like this has changed hands again Still looking good though
  7. Hi guys I use this and get no errors FOR %%d IN (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 %%d\win51 SET CDROM=%%d
  8. your best bet would be to have multiple files RunOnceEx.cmd, RunOnceEx2.cmd, RunOnceEx3.cmd the fist would be as above but the last line out RunOnceEx.cmd cmdow @ /HID @echo off IF EXIST D:\CD.txt set CDROM=D: IF EXIST E:\CD.txt set CDROM=E: IF EXIST F:\CD.txt set CDROM=F: IF EXIST G:\CD.txt set CDROM=G: IF EXIST H:\CD.txt set CDROM=H: IF EXIST I:\CD.txt set CDROM=I: IF EXIST J:\CD.txt set CDROM=J: SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx REG ADD %KEY% /V TITLE /D "Installing Applications" /f REG ADD %KEY%\001 /VE /D "Lavasoft Ad-Aware SE Personal 1.0.5.0." /f REG ADD %KEY%\001 /V 1 /D "%CDROM%\Software\Adware\adaware.exe aawse.exe" /f REG ADD %KEY%\005 /VE /D "Adobe Reader 7" /f REG ADD %KEY%\005 /V 1 /D "%CDROM%\Software\Adobe\acroread7.exe" /f REG ADD %KEY%\005 /V 2 /D "%CDROM%\Software\Adobe\Adobe7.cmd" /f ....... REG ADD %KEY%\090 /VE /D "Nuhi's NLite 99.7Bi" /f REG ADD %KEY%\090 /V 1 /D "%CDROM%\Software\NLite\nlite0997bi.exe /SILENT" /f REG ADD %KEY%\099 /VE /D "RunOnceEx two" /f REG ADD %KEY%\099 /V 1 /D "%CDROM%\Software\RunOnceEx\RunOnceEx2.cmd" /f but with the last lines in all other RunOnceEx files will look like this RunOnceEx2.cmd,RunOnceEx3.cmd etc... cmdow @ /HID @echo off IF EXIST D:\CD.txt set CDROM=D: IF EXIST E:\CD.txt set CDROM=E: IF EXIST F:\CD.txt set CDROM=F: IF EXIST G:\CD.txt set CDROM=G: IF EXIST H:\CD.txt set CDROM=H: IF EXIST I:\CD.txt set CDROM=I: IF EXIST J:\CD.txt set CDROM=J: SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx REG ADD %KEY% /V TITLE /D "Installing Applications" /f REG ADD %KEY%\001 /VE /D "Lavasoft Ad-Aware SE Personal 1.0.5.0." /f REG ADD %KEY%\001 /V 1 /D "%CDROM%\Software\Adware\adaware.exe aawse.exe" /f ........ REG ADD %KEY%\090 /VE /D "Nuhi's NLite 99.7Bi" /f REG ADD %KEY%\090 /V 1 /D "%CDROM%\Software\NLite\nlite0997bi.exe /SILENT" /f REG ADD %KEY%\099 /VE /D "RunOnceEx three" /f REG ADD %KEY%\099 /V 1 /D "%CDROM%\Software\RunOnceEx\RunOnceEx3.cmd" /f rundll32.exe iernonce.dll,RunOnceExProcess only changing the call up for the next RunOnceEx. The rundll line will then automatically start the process. So you only need to start the first RunOnceEx from guirunonce!!! this will call up RunOnceEx2.cmd. RunOnceEx2.cmd will call up RunOnceEx3.cmd and so on
  9. Bah du hast recht du bist ein schleimer, nein witze zur seite. Gibt mehrere hier die deustch konnen :-) Was möchtest du den wissen?
  10. I actually use the 6 backslash option for my network install and it works. The only thing is use an older version of WPI, never one with the config page as this will cut off backslashes. @hasi yes it is because of the TempSource.replace("\\\\","\\"); line in the generate.js, plus others. normaly you would think because WPI uses double backslashes you could use 4 but this cuts them down. that is where the 6 comes in. from the \\\\\\ two get cut because of the replace command so it leaves \\\\ which WPI using the double slashes cuts it down again to \\ which is ok for the network
  11. try this call \\\\\\server\\share\\test.bat yes 6 backslashes
  12. Hi all Yes this what i have always done, starting from CD/DVD. Why would you want to change the options when it is all set up and ready to install?? The whole thing is you set up the way software is installed and the looks etc and then burn to CD/DVD. Choosing software to install is still available.
  13. here is a copy of a vbs script for Power DVD set WshShell = WScript.CreateObject ("WScript.Shell") Set fso = CreateObject("Scripting.FileSystemObject") 'programme starts WScript.Sleep 1000 WshShell.RUN ("C:\Programme\CyberLink\PowerDVD\PowerDVD.exe") WScript.Sleep 2000 WshShell.SendKeys "{TAB 3}" WScript.Sleep 1000 WshShell.SendKeys " " WScript.Sleep 1000 WshShell.SendKeys "{TAB}" WScript.Sleep 1000 WshShell.SendKeys " " WScript.Sleep 1000 WshShell.SendKeys "{TAB 2}" WScript.Sleep 1000 WshShell.SendKeys "{ENTER}" WScript.Sleep 500 WshShell.SendKeys "xxxxx" WScript.Sleep 500 WshShell.SendKeys "xxxxx" WScript.Sleep 500 WshShell.SendKeys "xxxxx" WScript.Sleep 500 WshShell.SendKeys "xxxxx" WScript.Sleep 500 WshShell.SendKeys "xxxxx" WScript.Sleep 500 WshShell.SendKeys "xxxxx" WScript.Sleep 1000 WshShell.SendKeys "{TAB}" WScript.Sleep 1000 WshShell.SendKeys "{ENTER}" WScript.Sleep 1000 WshShell.SendKeys "{ENTER}" the xxxxx are the parts of the serial number
  14. I agree either use an autoIt script or a VBScript then you can install your program in the normal unattended way in say cmd1 and in cmd2 have the script run the program and enter the serial number while you sit back and watch. If you need any help let me know
  15. here it is, take a look at the generate.js This is from version 3.2.0 wpi.rar
  16. yes i remember that thread, a search should call it up
  17. yes it is you can use those.These variables are already implemented %systemdrive% - normally 'C:\' %cdrom% - The CD Drive where WinXP CD is, found by searching for WIN51 %windir% - normally 'C:\WINDOWS' %programfiles% - normally 'C:\Programme Files' but language dependant They can all be used,so added with the others this gives you a wide scope The variables %xxxx% are in the registry and are different for every language. %programfiles% in your case will be 'c:\program' If you open up a cmd window and type 'set' you will see these variables.
  18. ah now i get what you are saying. No i dont see the point in that either. was my mental block sorry As for putting everything in a cmd file, that is ok but i prefer to have all seperate.
  19. some things are best done manually, take my word on that...... This is the only thing that i leave in my unattended CD for me to choose, it can very soon go wrong.
  20. If you partitioned, formatted and installed anything then the chances are very slim, more like impossible. IT is when new data is recorded over the top of the boot sector that makes it a problem
  21. What this actually does is when you use 1. cmd1[pn]=['DIRCOPY %systemdrive%\\test D:\\test'] It changes DIRCOPY to XCOPY and adds /I /E /Y to the end so that the command is cmd /C DIRCOPY %systemdrive%\\test D:\\test /I /E /YSo should only be used for directories 2. cmd1[pn]=['FILECOPY %systemdrive%\\RunOnceEx.txt D:\\RunOnceEx.txt'] It changes FILECOPY to COPY so the command is cmd /C COPY %systemdrive%\\RunOnceEx.txt D:\\RunOnceEx.txtOnly used for files 3. cmd1[pn]=['RENAME %SYSTEMDRIVE%\\RunOnceEx.txt RunOnceEx.old'] stays as it is so the command is cmd /C RENAME %SYSTEMDRIVE%\\RunOnceEx.txt RunOnceEx.old just makes the cmd lines easier to add plus it adds the cmd /C to each line also added are some extra variables to help with the above commands %sysdir% - normally 'C:\WINDOWS\System32 %allusersprofile% - path to the all users profile directory %userprofile% - path to the user profile directory %appdata% - path to the application data directory %commonprogramfiles% - path to common program files directory
  22. It should work on all versions but as i said you cant use the config option, not at all as this deletes the backslashes!!! Use an old version where this config option is not implemented... What error report are you getting? can you post a copy of it below is a copy of my WPI that i use at work through a network. WPI_EBRO.rar
  23. Just finished a version with added copy and rename functions they are..... FILECOPY - used to copy files from one directory to another syntax - FILECOPY from_file_including_path to_file_including_path example - cmd1[pn]=['FILECOPY %systemdrive%\\RunOnceEx.txt D:\\RunOnceEx.txt'] DIRCOPY - used to copy directories from one place to another syntax - DIRCOPY from_directory_including_path to_directory_including_path example - cmd1[pn]=['DIRCOPY %systemdrive%\\test D:\\test'] RENAME - used to Rename files syntax - RENAME from_filename_including_path to_filename example - cmd1[pn]=['RENAME %SYSTEMDRIVE%\\RunOnceEx.txt RunOnceEx.old'] anyone want it let me know. I have it for versions 3.1 and above


×
×
  • Create New...