Jump to content

CypherBit

Member
  • Posts

    70
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Slovenia

Everything posted by CypherBit

  1. C:\Documents and Settings\CypherBit>netsh netsh>interface ip set address name="Local Area Connection" static 192.168.1.102 255.255.255.0 192.168.1.1 1 The following command was not found: interface ip set address name="Local Area Connection" static 192.168.1.102 255.255.255.0 192.168.1.1 1. I wasted at least an hour googling going through MS KB and haven't found anything.
  2. When I said it works from cmd I meant if I just do "netsh" I get switched over to netsh> I can type help and so forth there but I cannon execute that command (I never execute it anywhere else...there was a small misunderstanding here). These services are started (most of the others are either disabled or removed): Automatic Updates COM+ Event System Cryptographic Services DCOM Server Process Launcher DHCP Client Event Log Kerio Personal Firewall 4 Network Connections Plug and Play Print Spooler Remote Procedure Call (RPC) Security Accounts Manager Server Shell Hardware Detection Windows Audio Windows Management Instrumentation Workstation Really don't know if any service is needed but since I have all those .dlls in my system32 I don't know what else could be causing this. Once (hope that day comes) I can get netsh to execute that command I'll disable DHCP Client service as well.
  3. Thank you both for your replies, was so happy because I was certain this is it. But it doesn't seem that way. All the libraries soulin pointed out are in my system32 folder but I'm still getting that same error. If I go to cmd I can execute netsh and even look up help on all the commands available so it might be that netsh actually has all the required files. Why it fails to execute that simple command is beyond me...hopefully someone else knows. I doubt that netsh depends on any service but that might be the case...I would test that myself but quite a few services are removed.
  4. I read about netsh in different places and decided to use it. I tried it on my normal Windows XP SP1 and had no problems, then I proceeded to test it on my customized (using nlite - meaning lots of services, components are removed) Windows XP SP2 and I keep getting: "the following command was not found". The command I'm trying to execute is nothing out of the ordinary "netsh interface ip set address name="Local Area Connection" static 192.168.1.102 255.255.255.0 192.168.1.1 1" . So this got me wondering is the netsh.exe the only file needed for this great utility to work? Does netsh.exe rely on any service which needs to be up and running so it does work? BTW netsh.exe is in my system32 folder. I know I removed lots of things from that Windows XP SP2 but I thought that netsh.exe is a standalone utility and would work as such. Was I wrong? Any information whatsoever (even hunches count) will be greatly appreciated.
  5. MHz thank you for replying but I fail to see how that will help me, I believe my RunOnceEx.cmd is correct it even gets imported to the registry as stated before and what your example shows is the same except you are using .vbs (I don't have that kind of script that will install any of my apps in that manner) insead .js ...or am I missing something. What I'm after is a way to install those three apps...or some sort of indication that my code is incorrect.
  6. I really hate doing this (replying to/bumping my post) but these three apps: Abyss Web Server (http://www.aprelium.com/) FreePOPs (http://www.freepops.org/en/) & PHP 5.0.2 Installer (http://www.php.net/) are the only ones I haven't been able to install. Abyss uses the NSIS installer (switch /S) and the other two the Wise installer (switch /s). In their own those apps shouldn't be that hard to install but they all have one or multiple popups and like I said previously pskill/taskkill will not work eps. with FreePOPs. I did search hopeing for other ideas but came up empty. I would really appreciate it if someone took some time and helped me out at least a bit. Out of those three PHP is definitely the easiest to install it has one popup and that's it. I'd really like to get to the bottom of why my .js scripts (which work otherwise - manual click) are not working but if someone can provide any other method of installing those three I'd gladly forget about .js and use that.
  7. Tested your newest 0.1p version using /SAVEINF for Recommended settings and then /LOADINF ... fb2k installs silently with recommended settings just like it should I don't get that scheduler or any other error. I couldn't be happier. Thank you drthawhizkid now I can move to my other problem apps
  8. I've recently had to resort to using .js for my unattended install, sure there are probably other ways but I've gotten some great assistance from brent24 and everything started looking great. Now this is where the troubles start. My .js files (I have three atm php.js, abyss.js and freepops.js) are just not being executed or just don't work for some other reason hidden from me. If I go to cmd and execute them using: %systemroot%\system32\cscript.exe //nologo %systemdrive%\install\Applications\FreePOPs\freepops.js sometimes it works, sometimes it doesn't it's completely random. When it doesn't work I get: C:\install\Applications\WHICHEVER\WHICHEVER.I.USE.js(13, 1) WshShell.Exec: The system cannot find the file specified. I checked, rechecked and rechecked and the files are all there and there are no typos. If I try to execute my .js files from RunOnceEx.cmd using for instance: cmdow @ /HID @echo off SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx REG ADD %KEY% /V TITLE /D "Installing Applications" /f REG ADD %KEY%\015 /VE /D "FreePOPs 0.0.19" /f REG ADD %KEY%\015 /V 1 /D "%systemroot%\system32\cscript.exe //nologo %systemdrive%\install\Applications\FreePOPs\freepops.js" EXIT Nothing happens BTW I did make sure those values are in the registry but when I restart I don't even see the Installing Applications thing (it might all happen so fast that I don't even see it). And here's the strange part if I execute any of those three .js files manually...by clicking on them...everything installs perfectly...everytime. Here is one of the files that I'm using - freepops.js: function getWin(win, inc) { var cntr = 0; while (!WshShell.AppActivate(win)) { if (cntr==12) return true; cntr++; WScript.Sleep(inc); } return true; } var WshShell = new ActiveXObject("WScript.Shell"); var oExec = WshShell.Exec("FreePOPs-0.0.19.exe /S"); var timer = 1000; while (oExec.Status == 0) { getWin("FreePOPs", timer); WshShell.SendKeys ("n"); WScript.Sleep(timer); } WScript.Sleep(timer); WScript.quit(); brent24 also suggested (thank you again for all your assistance) I try this in my RunOnceEx.cmd: REG ADD %KEY%\005 /VE /D "A Test1" /f REG ADD %KEY%\005 /V 1 /D cmd /c %systemroot%\system32\cscript.exe > c:\test1.txt" /f REG ADD %KEY%\006 /VE /D "A Test2" /f REG ADD %KEY%\006 /V 1 /D cmd /c dir /s %systemdrive%\install\Applications > c:\test2.txt" /f Same result, nothing happens. Of course if/when I execute those same commands in cmd prompt they work. Like I said above I'm sure other methods would work like AutoIt (know about it even read some documentation but don't know how to use it) or even taskkill/pskill (not for FreePOPs) but I really want to make this work...well it does but I can't be clicking on my .js files during my uA install Some additional info. I'm using Windows XP SP2 with quite a few components removed using nLIte (not that it makes much of a difference since manually it works), no firewall or antivirus that could be stopping that. Any idesa, suggestions or even hunches are more then welcome. EDIT: I forgot to put the leading quote with the test1 & test2.txt...added it later and it made no difference. I also might add that installing any application using the RunOnceEx.cmd method works just great it's just the .js files I'm having trouble with.
  9. OK thank you for that but still it doesn't work. Well sorta. If I try to install fb2k using: %systemdrive%\Install\Applications\fb2k\foobar2000.exe /LOADINF="%systemdrive%\Install\Applications\fb2k\fb2k.inf" /VERYSILENT /SP- for Recommended settings it doesn't install the entire fb2k but close to it (8,46MB or something like that, should be under 5MB)... and it still complains about the scheduler which isn't even part of the Recommended settings. But if i use that same command on a core files only version everything installs perfectly (about 2,95MB). So I'm pretty happy with that, just hope it works when I'm doing this for real and not just testing it. I don't think I'm alone when I say your work definitely is appreciated. Thank you again for this installer.
  10. Don't know how but I forgot I could install only the components I want using /SAVEINF /LOADINF . Was so excited this will solve my problem but it seems it completely ignores that command. These are the files I'm using: foobar2000 [special edition] 0.1p RunOnceEx REG ADD %KEY%\025 /VE /D "foobar2000 0.83 Special" /f REG ADD %KEY%\025 /V 1 /D "%systemdrive%\Install\Applications\fb2k\foobar2000.exe /LOADINF="fb2k.inf" /VERYSILENT" /f fb2k.inf [Setup] Lang=default Dir=C:\Program Files\foobar2000 Group=Programs\foobar2000 NoIcons=0 Components=enable_user_profiles,core_files,dsp,dsp\gapkiller,dsp\pausetracks,dsp\skipsilence,general, general\apl,general\freedb,general\httpread,general\id3v2tag,general\setyear, general\shuffle,general\spclfileinfobox,input,input\ac3_decoder,input\flac,input\matroska ,input\midi,input\monkeysaudio,input\optimfrog,input\shorten,input\speex,input\tta, input\wavpack,output,output\directsound25 I basically try to install is using Recommended settings but for some reason it doesn't do that...it installs the full version each and every time. I have no idea what to do next. I really want to install fb2k with Recommended settings only: I. it will only install the components I need/use II. I won't be getting that scheduler error By saying "you can customize the install thats why I made it with inno setup" did you mean install it using /LOADINF or any other method unknown to me? Hopefully someone will be able to help me out here.
  11. drthawhizkid thank you for your quick reply. I was using your latest version that is foobar2000 [special edition] 0.1N tried installing it attended and unattended many times and I always get that same error. Thought there was something wrong with my PC so I went to http://www.foobar2000.org/ and grabbed their special version installed it and I get no errors. I'll definitely test your newest version once your finished uploading it. BTW have you considered making a Normal or even a Lite version, I've been always using the Normal one...don't need all those added features and it would sure help in this instance as well
  12. First of all thank you for the Inno setup it's just what I am after. I used: REG ADD %KEY%\025 /VE /D "foobar2000 0.83" /f REG ADD %KEY%\025 /V 1 /D "%systemdrive%\Install\Applications\fb2k\foobar2000.exe /VERYSILENT /SP- /NORESTART" /f And when I try to start foobar I get this error: ERROR (CORE) : Failed to load DLL: foo_scheduler.dll, reason: Unable to load DLL. That particular .dll is in the components folder why it fails to load is beyond me. Any ideas?
  13. I tried out 3.47 with nlite-0.98.8b and as SiMoNsAyS said ( ) it worked.
  14. Voted yes cause well that associations screen is annoying and I don't have the time to make a script for every app I want to use. I was a long time Winamp user (with Enhancer better then DFX imo) but recently made the switch. A fully customizable setup for fb2k would be wonderful
  15. Yes a new version has been available for a few days now but I tried installing it in the same manner as I installed previous versions and the prompt about SCSI/RAID remains.
  16. That would be great indeed. I'd do it myself but don't have the necessary skills...so I'll probably just make a .cmd that deletes all the files I don't need and have a folder with 0-byte dummy's somewhere on the HDD which will be appropriately copied into the folders. That way I'll be able to update to newer versions of Nero in a breeze.
  17. @BAM If u want to test my Nero.7z I can send it to u without any problems just PM me and it's yours (same for anyone else, it would be great if u never had Nero on your machine ). The process could be automated but as stated above up to a point since there r some variables. I'd just like to add that mine and prathapml's approach to this is a bit different, yes we r both trying to reduce Nero but as far as I can tell prathapml doesn't want to lose any functionality and I do. That is why I got rid off all these apps which I never use: BackItUp, Cover Designer, ImageDrive, Nero SoundTrax, Nero Wave Editor, Nero StartSmart.
  18. I replaced (with 0-byte files) these files in addition: Nero\Boo.wav Nero\DingDong.wav Nero\DosBootimage.IMA Nero\nerocd95.vxd Nero\Nerodeu.nls Nero\nres_dan.msg Nero\nres_deu.msg Nero\nres_esp.msg Nero\nres_fin.msg Nero\nres_fra.msg Nero\nres_hun.msg Nero\nres_ita.msg Nero\nres_jpn.msg Nero\nres_nld.msg Nero\nres_nor.msg Nero\nres_ptg.msg Nero\nres_rus.msg Nero\nres_sve.msg Nero\nres_trk.msg Nero\Trumpet1.wav Redist\msvcrt.dll Also wanted to remove Nero\Redist\MSVCP60.DLL but I kept getting "Unable to load plug-in manager" when opening Nero Express. After all these deletions I'm left with Nero Burning ROM, Nero Express and the entire Nero Toolkit everything else is gone. My Nero.7z is 12.5 MB big atm...quite sure this is as far as I can go. I did quite a bit of testing and the above progs all work without glitches as far as I can tell...I sure hope that will be the case when I decide to format...I'm quite confident it will.
  19. Finally got some time and started testing...came up with this and as far as I can tell it works superbly. RunOnceEx.cmd: REG ADD %KEY%\065 /VE /D "Nero Burning ROM 6.3.1.20" /f REG ADD %KEY%\065 /V 1 /D "%systemdrive%\install\Applications\Nero\unpack.cmd" /f REG ADD %KEY%\065 /V 2 /D "%systemdrive%\install\Applications\Nero\setup.exe /silent /no_ui /sn=xxxx-xxxx-xxxx-xxxx-xxxx-xxxx /write_sn" /f REG ADD %KEY%\065 /V 3 /D "REGEDIT /S %systemdrive%\Install\Applications\Nero\NeroCheck.reg" /f unpack.cmd: cmdow @ /HID 7z.exe x -y "%systemdrive%\Install\Applications\Nero\Nero.7z" -o"%systemdrive%\Install\Applications\" EXIT NeroCheck.reg Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg\NeroFilterCheck] "key"="SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run" "item"="NeroCheck" "hkey"="HKLM" "command"="C:\\WINDOWS\\system32\\NeroCheck.exe" "inimapping"="0" I'm attaching 3 files DefaultNero.txt (default Nero Burning ROM Nero Burning ROM 6.3.1.20 extracted), MyNero.txt (same as b4 but my version) and Differences.html which gives a detailed comparison of the differences between them. BTW it's pretty easy to c what I changed since they r all 0 byte, the ones I deleted r a bit harder to spot, that's y I made that report. My Nero.7z is 14.5 MB atm. An additional note I also removed (put 0 byte dummy's there) all *.ocx files Nero had no problems installing but after reboot I got a warning something is missing, only got that once but I always got nwe_reg?.txt files in my default Nero folder warning me of the missing files...so I decided to include them. esp @prathapml (would be nice if I got them from others as well) I would be very greatefull if u attached/send me a similar file to mine "MyNero.txt" so I'd c what exactly u've changed/got rid off. I'm aware the list is variable but it would still make it a lot easier to track down/delete the unneeded files. EDIT: I'm using 7za.exe instead of 7z.exe now since it is standalone. MyNero.zip
  20. @prathapml: was afraid u were gonna say that reffering to " To hide 7-zip extraction GUI window is not possible" . I never used Xplode as u probably noticed I'm a RunOnceEx man so I don't think I'll take that route. On the other hand cmd line 7-zip exe is more appealing to me. But what I don't know is how to use it, looked at their site, forums and haven't found much. My questions are: - where do I need to put it, the .exe that is - which switch should I use (would be great if someone already has it in their RunOnceEx and could paste it) - how would I go about using CMDOW to hide that particular window Thx for the heads up on deleting parts that aren't needed. I got rid off a few dll's but then said to myself...there's tons of options/apps I never use in Nero so I started removing those as well. To name a few I never use (or use alternative software): BackItUp, Cover Designer, ImageDrive, SoundTrax, Wave Editor. I also removed Nero Check. My Nero.exe 7-zip SFX is 15.2 MB atm. I will definitely delete a few audio plugins in the future, since I only burn mp3s. Of course Nero complains about all those missing files so what I did is I put dummy files there instead. The reason I'm insisting on the use of 7-zip SFX isn't just cause of Nero, I'd use it elsewhere and would also learn something new...hope someone will be kind enough to help me out. @SiMoNsAyS thank you as well for your suggestion...I will go the WinRAR SFX way...if 7-zip SFX fails. EDIT: removed the audio plugins I never use burned an audio CD just to see if everything works, had no problems...7-zip SFX archive is 13.9 MB atm.
  21. @BAM yea size is the only reason why I want to do this...forgotten @SiMoNsAyS I don't follow u one bit "anyway here are the switches simply create a new 7zip-sfx and add'em" pls take a look at this post and other posts by me once again.
  22. Yes swampy, Cee-Kay and prathapml said everything (and more) I wanted to know about WinRAR SFX archives but I prefer to use 7-zip for the sole reason cause it compresses better 21,8MB compared to 27,7MB for a WinRAR SFX archive...I am tight on space. I know how to use WinRAR SFX archives now...everything extracts and installs silently. I also got the switches for 7-zip (check my previous posts) but I c the extraction process and i don't want to c it. If there's no switch for hiding the extraction process of 7-zip archives I won't use them, will got back to WinRAR SFX. Hope this clears up everything
  23. @SiMoNsAyS not sure u understood me fully . I what I'm looking for is something (switch, utility,...) that will be able to hide the extraction process of 7-zip SFX archives, I have no problems hiding it if I use WinRAR SFX archives.
  24. @Cee-Kay: thank you didn't know some of those options were available...will sure use them in the future. @prathapml: thank you as well that helped me out a lot. This is what I currently have (using 7-zip SFX of course): REG ADD %KEY%\005 /VE /D "Nero Burning ROM 6.3.1.20" /f REG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\Applications\Nero\nero63120.exe -y /q /r:n REG ADD %KEY%\005 /V 2 /D "%systemdrive%\install\Applications\Nero\setup.exe /silent /no_ui /sn=xxxx-xxxx-xxxx-xxxx-xxxx-xxxx /write_sn" /f It extracts and installs Nero like it's supposed to but it does have one "defect" and that is that I see the extraction process...deja vu . I now know how to fix that when dealing with WinRAR SFX archives now but have no idea if and how this can be done with 7-zip SFX archives. I know I asked about the cmd line version of 7-zip b4 (I'd like to avoid using it if possible) but would that help? Could I use cmdow or anything else to hide it...how? Thx again for all your replies...helpful indeed.
  25. Thx for your suggestions/solutions benners it got me thinking and then I remembered installrite exists...so I used it to create a kit and it seems to work like it should.
×
×
  • Create New...