Jump to content

evilvoice

Member
  • Posts

    957
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

Everything posted by evilvoice

  1. set /p Something="Please press Y or N" If /I %Something%==Y (GOTO This) ELSE GOTO That :This blablabla :That blablabla change something to whatever you want, also change labels this and that and command blablabla to whatever.
  2. and so are mine...when I ran it from my sfx archive (I rebuilt RAR Labs exe to include my key and settings), it does not load until I open winrar and goto settings...which is what the vbs script is supposed to do. Also, it says winrar will autoload you settings if you export it to the dir, but that isnt true either...the only sure method Ive found is by having settings.reg in your dir and click on settings in winrar (you dont actually change anything, you just view it really. Its nice that it works for you that way...but it doesnt answer my question...I need to know why the vbs isnt running winrar.exe. I want to use a variable for it, if someone knows what Im missing, it would be great.
  3. visual basic script
  4. Im trying to create a vbs to autoload my preferences, but I cant seem to get the vbs to execute winrar so itll import my stuff...can someone check this and help me? Set WshShell = WScript.CreateObject("WScript.Shell") WshShell.Run "%ProgramFiles%\WinRAR\WinRAR.exe" Wscript.Sleep 1000 WshShell.AppActivate "WinRAR - WinRAR" Wscript.Sleep 500 WshShell.SendKeys "^s" Wscript.Sleep 500 WshShell.SendKeys "+{TAB}" Wscript.Sleep 500 WshShell.SendKeys "{LEFT 1}" Wscript.Sleep 500 WshShell.SendKeys "{TAB}" Wscript.Sleep 500 WshShell.SendKeys "{ENTER}" Wscript.Sleep 500 WshShell.SendKeys "%{F4}" Wscript.Sleep 500 Set WshShell = nothing WScript.Quit()
  5. deleted
  6. the problem is it runs notepad.exe from the command line...which means the cmd windows will be visible until notepad is closed...or I guess there is a way to get cmdow to hide the window, Ill run some tests.
  7. building on this original information...the main reason I want a dir listing is so I can view it in say notepad (plus with the given extension of txt it kinda leads one to believe this is to be used with notepad)...so what I did is changed the string to reg_expand_sz and also added the command to open in notepad.exe after building dirlist.txt...a couple of things...I really hate have the filename show up in the dirlisting, so I defaulted dirlist.txt to be created in %temp% dir...this way, it gives you a clean representation of the directory list...you can change notepad.exe to wordpad, but I will leave that to someone else...without further ado, here is what I ended up with Windows Registry Editor Version 5.00 ;Right click on directory to write full directory listing file [HKEY_CLASSES_ROOT\Folder\shell\DirList\command] @=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,\ 00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,\ 63,00,6d,00,64,00,2e,00,65,00,78,00,65,00,20,00,2f,00,63,00,20,00,64,00,69,\ 00,72,00,20,00,2f,00,73,00,20,00,3e,00,20,00,25,00,74,00,65,00,6d,00,70,00,\ 25,00,5c,00,64,00,69,00,72,00,6c,00,69,00,73,00,74,00,2e,00,74,00,78,00,74,\ 00,7c,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,\ 25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,6e,00,6f,\ 00,74,00,65,00,70,00,61,00,64,00,2e,00,65,00,78,00,65,00,20,00,25,00,74,00,\ 65,00,6d,00,70,00,25,00,5c,00,64,00,69,00,72,00,6c,00,69,00,73,00,74,00,2e,\ 00,74,00,78,00,74,00,00,00
  8. well, i guess I should clarify...im trying to do this without installing the app at all...almost everywhere I look it tells me to install here and do this...but I dont wanna...right now I believe I have it all set up to where it should work (with the right reg keys) and then ill be done, then I can make an installer which is silent
  9. @Simonsays, your removed it link takes me to a "please log in to edit" page...is there a different link you meant to post?
  10. ok, maybe I need a little clarification...Ive looked at the config.ini for the 1st download of 6.06MB...I noticed that 1. you set normal to silent...fine, understand that...then you set Default Setup Type=Setup Type 1...then later in the config.ini section is this little tidbit of info [Setup Type1] Description Short=&Custom Description Long=You may choose individual options to be installed. Recommended for experienced users. ; List of components to install/enable for this Setup Type. ; All other components not listed here will be disabled if ; this Setup Type is selected. C0=Component XPCOM C1=Component Browser C2=Component ADT C3=Component Uninstaller C4=Component Langpack C5=Component Help ; Make sure Component QFA is LAST so 3rd party developers who might not want ; this component can easily remove it. C6=Component QFA Now, you say you removed QFA, but as far as I can tell, it is still being installed...so what do you do to remove it if you dont remove it in config file? Also, could you explain how you removed DOMi...thats the only other thing I cant really find in the config file...so maybe you repacked one of the xpi files. Thanks in Advance.
  11. @prathapml can you help me out with making 7zip firefox? I may include thunderbird...but not right now...I checked in app switches and im kinda left with a feeling of being overwhelmed by what all was typed there...I extracted the main setup file, and then all the xpe files into their own folder...but dont really know what goes where or anything...im going to prolly adapt it to inno setup if possible - installer and 7zip compression all in one...thanks in advance for your help
  12. deleted
  13. deleted
  14. howd you download them all so quick...im having to right-click save as all of them, and its taken me a while...i still dont have them all...
  15. well, since someone started this religious thread...here is a page with mp3's to download...for free... http://www.audiotreasure.com/
  16. Asta! Bad response...your reply made no sense to what was posted....basically, I think what he is asking is, after booting from cd, copy the i386 folder to HD and do an install there so that Windows does not access the cdrom constantly and may speed up installation. And in response to BigNoter...off the top of my head, Im not real sure how you would do this...one is to include a dos boot disk as the boot image and setup autoexec.bat to copy i386 to HD and then run winnt.exe with switches to include your winnt.sif...Im not sure this will work, but AFAIK this would be the only method.
  17. there is one thing I wish for the compression bin...it is added to the right click menu, which is great, but after it compresses the file, it doesnt auto close...personally, a feature I would really like to see...its just kind of weird to send a file (or multiple) to compression bin, then after its done, it just sits there until I close it...usually I only use compression bin once a day, MAX...so hopefully it isnt too big of a request...and I only mean for it to close when using the right click function...I dunno if thats gonna be hard, but yea...thats my suggestion
  18. wmp10...for now, is xp only...it wont even install on w2k3 for now...though Im sure people are working on it.
  19. it really isnt that bad...like I said, what I do is create a reg_sz key and type in all the data...not using anything but spaces...so like for html, the reg_sz would read... <html><head><body> I would then rightclick and select modify binary data...and get the values, then after the > I would add a 0d 0a since I want it on a new line...notice I used no spaces for enter keys, because that could mess you up when reentering...or, you could make a file, with the data you want, and hex edit it...that should get you the values also.
  20. tsunami, youre doing something wrong...there are no spaces in any of my files unless i put them there (like between ECHO and OFF). The reason it has to be binary is so you can have multiple lines...which might be why youre having a problem. I guess you didnt read what I wrote.
  21. Ok, well after testing, it seems KB887078 would be better suited in svcpack.inf (if you install wmp10)...the problem with replacing the file in the mp10setup package is that it seems to have a digital signature assigned to it, now im not sure about integration, but I believe you will still have a problem...I dont know why it can be integrated into the source with wmp9, but I do know that when I replaced the file and added the cat and entered the cat entry into the inf, I got a signature error using the package.
  22. yea, its not too bad...actually, put that into a reg file...(using your method is fine, just create a new reg file, and paste the stuff in there) now, right click on data and "modify binary data" then you can see what it is....then I create a temp key...type in what I want it to say, and click "modify binary data and get the hex values. the only thing about this is there is almost NO way to figure out what the ENTER key value is...it is 0d 0a (yes, you need both dunno why) so everytime you want a new line, just type in 0d 0a. One thing you could do is create a new string value, and type in every letter and itll tell you the values...just remember upper and lowercase have different values, but it shouldnt matter
  23. hmmmm...while this is good info...this has been discussed...I dont remember where its at...but for shellnew cmd file, I have this... [HKEY_CLASSES_ROOT\.cmd\ShellNew] "Nullfile"="" "Data"=hex:40,45,43,48,4f,20,4f,46,46,0d,0a Which puts @echo off and a new line in a new cmd file...Ive done this for many things....reg has 2 line feeds, .bat is same as .cmd, .html has some info in it as well...I personally believe "Data" is the best way to go, for one, you dont need to add a single file, its all contained in the registry...and as you can see, my "data" is reg_binary...you may want to figure out how to change "FileName" data into a reg_expandsz value...
  24. to use 7zip and make a self extractor, you must use msiexec.exe...I tested a couple of things with 7zip and "startx msiexec" was the only thing that worked...but for those not using 7zip, you should be able to just run the msi file without msiexec being in your command. Honestly, I never got this restart thing, but I did rebuild taking out some switches that dont work and using sp2 msiexec commands...so I dunno if it will work for everyone or just me (since I never had the reboot problem, I have no idea)...but I guess I could tell ryanvm what I used and see if he gets the reboot...one question to anyone who wants to try this...is it rebooting everytime? only when installed with the rest of your programs...does it reboot if you run it after windows is installed, set up and working? mainly, I need to know if it reboots after windows is installed (cuz thats how I have done my testing) if it does reboot then, then I could let anyone test...if not, then anyone who wants to try is welcome, but no guarantees, I can just say when I doubleclick the exe, it doesnt restart. Possibly there is a need for 2 java packages...one for sp2 using the msiexec switches for sp2 and one for sp1 for those who do not have msiexec 3.0.xxxxxx (dunno the trailing numbers)
×
×
  • Create New...