Jump to content

Nologic

Member
  • Posts

    462
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

Everything posted by Nologic

  1. Guy's really it doesn't normally look like that...matter fact I wouldn't have known that was Directory Opus, until informed so...its that far removed from the defaults. If you guys are actually up for paying for a good file manager, then I'd suggest actually downloading and trying the application...its the best out there from what I've seen.
  2. Well I managed to get this error twice thus far when trying to do method 2. I can understand why it got that error since at no point had that directory path been created. Any ways any tips or suggestions are welcome.
  3. If you know what your doing with AutoIt...its on par with a repack...I feel...with the up side that a script can generally be reused for a number of updates to the software...where a repack requires...well starting from scratch again. Repacks are less likely to break...tho if an AutoIt script is written well...generally they don't break...but repacks are suprior in this area....if your good at them that is. There is no real clear answer...but if you don't update software much...repack is probably the way to go...if you swap out fairly often...then AutoIt is likely the best route...if you never update...hehe ghost is the best route bar none.
  4. 1) Batch or AutoIt performing commandline switch's , from cmdlines.txt, or [GuiRunOnce] section in winnt.sif 2) AutoIt automation is not normally needed 97% of the time, but is suggested to learn over Batch. Doing installations via commandline is not a waste of time for most people...and one could write a Batch or AutoIt script to clean up the start menu if it becomes unbearable. I'm not fully up to speed on xplode...so you would have to ask some one else about its time constraints. Any ways good to hear my post was of some use, and best of luck with your creation. Oh you may want to have a look at CMenu by MHz, its a handy toolset for making unattended disks.
  5. No6 - Okay first off it sounds like you're making the world to be out against you and every one else new to this. Personally I have no interest in humoring you. You feel that I'm talking over peoples heads and getting them all turned around. Well frankly your wrong. It is FAR shorter and FASTER to learn what you NEED to know when you know what direction you wish to head. I mean really why learn about RunOnce at all if it has not a **** thing to do with what your looking to end up with. I see it better for people to have an idea of what they want to do...then they can find out how to do it. Teaching people 5 dozen things when all they need to do is learn six seems a** backwards to me. Learning commandline is worthless if they wish to do custom installers, or AutoIt automation. Any ways I don't know about you...but I tend to get annoyed with I have to repeat the same s*** 30 or more times a month. I also get p***y, along with many others when, what some one is asking shows up with in the first few pages of a search. Also its such useless posts by these people that won't search all that long and hard...that make future search's all that more difficult since there will NOW be more false positives....but thats okay right because us vets are suppose to keep repeating the same s*** every time some one asks....hmmm. The fact that some one does post a link is to turn a false positive into a positive...but its an extra layer of trash to have to go through to get to the real meat. So really a toll should be extracted since those that will and do search now have to put up with more crap and may end up losing hope...and ether dropping the ball all together or end up adding to the trash pile. I'm sorry new guys feel like the vets are being elitest...but really they are not..they simply want as few false positives as possible...so that frankly the new guys can find what they are looking for faster and easier. If you can't understand the logic and reasoning behind it...well to bad. Maybe you'll get it the next time you search and pull up 500-600 pages of crap, while knowing full good and well that some where in the forum...the topic is covered.
  6. sleepydvdr - There have been a few attempts to do such things. Most dealt with batch script creation...but would more or less walk you through what needed to be done. Those projects tho where under staffed because ether the developer wanted full control...or lack of support by forum users. Generally the real reason is that some one would come up with some new wiz bang new way of doing things that looked cooler or added a lot more features. This can be seen by nLite replacing GreenMachine's batch scripts, and some one else's component removal scripts. Since it was some thing newer and flasher...and over time did get to where it finally did more than what came before it. Every one used batch scripts at one point...then later used RunOnce invoked batch scripts, then multiple RunOnce, then xplode, then WPI, then.... Things keep changing...and it is indeed hard if not impossible to sit down and create some thing that will do every thing for every one. Any ways right now there is a way for people to add app's easy...tho the app list is limited. This is done ether with nLite or RVM's Intergrator. Fine people like Kelsenellenelvian, Xable, RougeSpear, and Siginet plus a horde of others have put forth the effort to make doing an unattended CD\DVD id*** proof, simply download thier cab files and point ether nLite or the Intergrator at them and in no time they are now part of your disk. Its about as simple as it can get. I make use of some of them my self, namely for stuff like shell extensions...don't really use them for applications since the current batch makes a bit of a mess with directorys and menu items all over the place...and well I'm a bit of a control freak in that area...so till the app's start making use of some sort of standardized grouping's...I'll continue to use AutoIt for my app's. How ever I have been putting some thought into doing up a CD's worth of freeware app's using AutoIt automation, and then torrenting the disk image for others to ether use as is...or by adding them to ones unattended disk. oldbones - hmmm first off any help you or any one else gets personally is a gift...its not some thing owed, or required...realize that first and foremost. One third of my post count is for my shared works..ie AutoIt scripts I have shared, a quarter for short tutorials, the rest is made up of helpful pointers and points of view. So for you to assume that I or any one else that "maybe" thought of as a vet, is not helping out those new to this is flate wrong. RogueSpear I believe has done more to help the new guys out than I have...matter fact I'm fairly certain of it. So you or some one else not being lucky to receive our efforts is simply bad luck. Maybe in a day or so we will have time or interest in pitching in...maybe not. Also I've never heard of any general post removal from this site, other than that put forth by the author of the post. So if some thing is not coming up in your search...try different phrases...its likely posted here..or has a link some where from here to the needed information. I'd like you to also keep in mind that a lot of the vets as you so use the term, specialize in certain area's and have loose information in other area's. If you where to ask me about WPI, I'd be useless even tho I most certainly am able to get it to work. How ever you ask me about AutoIt, and I'll likely blow your doors off, with the amount of information and tips I can provide. How ever should you want a tutorial...you would be SOL for the time being, as I haven't the time currently to write up one. If you get help be thankful, if you don't ether the person that could help you isnt currently around or is tied up with other things....but strongly keep in mind that in all likely hood...what your needing to know is covered some where with in these forums. Also knocking the vets is in all likely hood just pushing them more into not wanting to help. A good example would be gosh...haven't seen him in a long time and he made huge contributions to this forum...not liked by all...but a true asset no matter how you viewed him. Well best of luck...this is getting way to long winded as is.
  7. I see no disservice in giving them a grasp of the different methods available, and why and where to use them. RunOnce I hardly see as any thing advance...the differnce between ultra basic batch scripts & RunOnce is about 10min's more reading. The difficulty is not there other wise. Frankly using batch scripts at all is wasting time for the beginner...it would take as much or less time for them to learn how to do the same thing in AutoIt, plus they would have far more power accessable to them right from the get go. So I see it as counter productive to push old school batch scripts just because thats how many of us started out. When I got into this the main scripting that was done was in Batch, WSH, and JS...with only one guy having posted any thing to do with AutoIt. Now days its Batch and AutoIt more or less purely...and batch is going away, being replaced with AutoIt. Hell it probably would be gone by now if MHz or I actually sat down and did up a full tut as it relates to unattended installations.
  8. Hehe form the title for this thread your asking a really large question...and a very hard one to answer. The most professional way would be to deploy using xplode, with custom made silent installers...that is if its a certain set of applications that will be rolled out on all systems involved. (full unattended) If its not the same set of applications for each system then probably deploying with WPI...with again custom silent installers. (semi unattended) The really involved way would be to deploy with AutoIt or WSH to read MAC address's and deploy app's based on those address's, using custom silent installers. (fully unattended) Problem with the above is that it would be hard to maintain up to date versions of software because of making custom installers. How ever the looks of the installation would be clean as well as the final product since every thing would be arranged as one wants...so menu's and directorys don't look like a huge cluster f***. If you only care about how the installation looks, and want easy to update software versions...then the following is suggested. xplode with stock installers, using silent switchs with in xplod. (full unattended) WPI with stock installers, using AutoIt to pass silent switchs to the installers. (semi unattended) If you don't care about the looks of the installation..but care about how the end product works...and want to maintain up to date software. AutoIt software automation installations...looks like hell, but every thing will be just where you want it, how you want it...its just a matter of how much scripting you want to do is all. Deployed with ether xplode or RunOnce. (full unattended) or with WPI (semi unattended) If all you care about is getting the **** thing done, and want up to date software. AutoIt passing switch's to stock installers via xplode or RunOnce. (full unattended) Batch scripts via xplode or RunOnce. (full unattended) If software is different per system then: AutoIt passing switch's to stock installers via WPI. (semi unattended) Batch scripts via WPI. (semi unattended) Any ways those are my points of view about how and why to do it certain ways. Probably missed a few options as well...there is a lot of ways to go about all this. I personally use AutoIt automation via RunOnce...with a few custom silent installers a few buddies have made for me. I care more for what I end up with in the end...than making a pretty install that really no one will be watching any ways.
  9. Run the attached file from your desktop to get the full idea of what is going on. Its kind of messy visually...but it does what needs to be done...plus I suck at batch files.
  10. hmm actually you can have multiple ones if you like...the issue is getting the RunOnce key to execute with out having to reboot...this can be done tho...and has been covered many a time with in these forums. cmdow @ /HID @echo off SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx REG ADD %KEY% /V TITLE /D "Installing Applications Part 1" /f REG ADD %KEY%\005 /VE /D "Adobe Reader 6" /f REG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\AdobeReader6\AR6.msi /qn" /f REG ADD %KEY%\010 /VE /D "Alcohol 120" /f REG ADD %KEY%\010 /V 1 /D "%systemdrive%\install\alcohol\setup.exe /qn" /f REG ADD %KEY%\010 /V 2 /D "REGEDIT /S %systemdrive%\install\alcohol\register.reg" /f REG ADD %KEY%\015 /VE /D "Diskeeper 8" /f ... rundll32.exe iernonce.dll,RunOnceExProcess REG ADD %KEY% /V TITLE /D "Installing Applications Part 2" /f REG ADD %KEY%\005 /VE /D "QuickTime 7" /f REG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\QuickTime\setup /s" /f REG ADD %KEY%\010 /VE /D "XP Codec Pack 3" /f REG ADD %KEY%\010 /V 1 /D "%systemdrive%\install\XP_Codec\install.exe /qn" /f REG ADD %KEY%\015 /VE /D "PSPad" /f ... rundll32.exe iernonce.dll,RunOnceExProcess The important part is: rundll32.exe iernonce.dll,RunOnceExProcess Since the base cmd file will populate the RunOnce reg entry...and the line above will then force every thing thats been entered into the entry to then run at that point.
  11. Personally I'm not that fond of generator's...I'm sure they have improved since the last time I tried my hand at them...or atleast I hope so...code was rather bad. If its a matter of doing only a few scripts...then I say use them...but if you are going to be doing at lot of them...I strongly suggest learning the lang and doing it by hand. There are plenty of quality scripts to learn from and draw ideas from...here as well as the AutoIt forum...where you can see scripting gods like Larry do some amazing things. AutoIt is a powerful tool...but one will never realize its power by using generator's. Hehe any ways...try mouseclick.
  12. You could try it with MouseClick. $SN_1 = "xxxxx-xxxxx-xxxxx-xxxxx-xxxxx" ; Serial Number Opt ("MouseCoordMode", 0); 1=absolute, 0=relative $Title = "Norton Internet Security" WinWaitActive ( $Title ) MouseClick ( "left" , 472 , 473 , 1 , 1 ) ; Activation WinWaitActive ( $Title , "What is Activation?" ) $n = StringSplit( $SN_1 , '-') ControlSetText ( $Title , "" , "Edit1" , $n[1] ) ControlSetText ( $Title , "" , "Edit2" , $n[2] ) ControlSetText ( $Title , "" , "Edit3" , $n[3] ) ControlSetText ( $Title , "" , "Edit4" , $n[4] ) ControlSetText ( $Title , "" , "Edit5" , $n[5] ) MouseClick ( "left" , 472 , 473 , 1 , 1 ) ;Communicate With Server WinWaitActive ( $Title , "Activation requires communication" ) MouseClick ( "left" , 472 , 473 , 1 , 1 ) The above X & Y axis's are likely wrong since Y is further down than the window is high. You'll have to change AutoIt's Window info app to "Window" rather than "Screen" under options tho, to get the correct information.
  13. Thats because when using "Send" or "ControlSend" the "+" marks the next character as shifted. To change this behavior simply set the flag for the command to 1. Send ("+foo+", 1) How ever I'd really suggest staying clear of Send & ControlSend if possible and instead use ControlSetText. ControlSetText ( "title", "text", "Edit1", "+line 1+" & @LF & "+line 2+" & @LF & "+line 3+" )
  14. Good to hear it works as expected.
  15. Hehe there you go, some cleaner and more professional code. Thanks MHz for the input and suggested tweaks.
  16. Oh man your going to make me have to reply to this...s***. Been out of the loop for a while. Okay you'll need to make an entry into your WinNT.sif file, in your I386 folder [GuiRunOnce] "%systemdrive%\Install\RunOnce.exe" Now the RunOnce.exe or what ever you wish to call it...is your yet to be compiled AutoIt script. The compiled script will be placed in "$OEM$\$1\Install\" folder on your CD\DVD. Now I'm guessing...but ether the AutoIt macro @OSVersion or @OSBuild should return a value that will tell you whether or not you have XP32 or XP64 installed...you'll have to test...but your compiled script should look some thing like so: If @OSVersion = "WIN_XP" Then Run ( @COMSPEC " /c Start " & @HomeDrive & "\Install\RunOnce32.cmd" ) Else Run ( @COMSPEC " /c Start " & @HomeDrive & "\Install\RunOnce64.cmd" ) EndIf Exit Both RunOnce32.cmd & RunOnce64.cmd files would be of course placed in your "$OEM$\$1\Install\" folder on your CD\DVD. Both files would be written like so: cmdow @ /HID @echo off SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx REG ADD %KEY% /V TITLE /D "Installing Applications" /f REG ADD %KEY%\005 /VE /D "Adobe Reader 6" /f REG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\AdobeReader6\AR6.msi /qn" /f REG ADD %KEY%\010 /VE /D "Alcohol 120" /f REG ADD %KEY%\010 /V 1 /D "%systemdrive%\install\alcohol\setup.exe /qn" /f REG ADD %KEY%\010 /V 2 /D "REGEDIT /S %systemdrive%\install\alcohol\register.reg" /f REG ADD %KEY%\015 /VE /D "Diskeeper 8" /f ... rundll32.exe iernonce.dll,RunOnceExProcess Tho of course with only the files you want to install per OS. The important part is: rundll32.exe iernonce.dll,RunOnceExProcess Since the base cmd file will populate the RunOnce reg entry...and the line above will then force every thing thats been entered into the entry to then run at that point. My self I would keep it all AutoIt...hence no cmd files what so ever...but that makes things some what more complex to explain...even tho over all working code is simpler...and just one compiled file. Thats me tho. If your interested you should be able to search the forum for posts done by my self and Mhz on the subject of replacing RunOnce with AutoIt...tho my primary in depth post about it I think...I may have nuked on a bad hair day. Any ways the above code samples should get you well on your way.
  17. You could use an AutoIt script to detect what OS is installed and then to launch the nessary runonce list.
  18. **** is decent...and I used it for years. That said I now use JANE which I feel is a better product.
×
×
  • Create New...