Jump to content

fillalph

Member
  • Posts

    322
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Canada

Everything posted by fillalph

  1. Hey RaveRod: I am working on this too. I wrote my batches to an inf. Now I wanted to test my RunOnceEx sections... but I am having some trouble. First off, if I right click on my inf, and go install, it works. But getting it to run from a cmd file doesn't want to work. I have my inf and cmd in the same folder. This is an editted version of my inf. I have more entries but they aren't important. [Version] Signature = "$Windows NT$" [DefaultInstall] AddReg = Common.RunOnceEx [DesktopInstall] AddReg = Desktop.RunOnceEx [NotebookInstall] AddReg = Notebook.RunOnceEx [Common.RunOnceEx] HKLM,"%RunOnceEx%\",Title,,"Installing Applications" ;Creates a c:\Windows\RunOnceEx.log file with status of commands HKLM,"%RunOnceEX%\",Flags,0x00010001,20 HKLM,"%RunOnceEx%\0001",,,"Adware 6.181" HKLM,"%RunOnceEx%\0001",1,,"%systemdrive%\installs\common\adware\aaw6.exe /S" [Desktop.RunOnceEx] HKLM,"%RunOnceEx%\0100",,,"APC PowerChute 1.03.1" HKLM,"%RunOnceEx%\0100",1,,"%systemdrive%\installs\desktop\apc\setup.exe -s -f1\"%systemdrive%\installs\desktop\apc\setup.iss\"" [Notebook.RunOnceEx] HKLM,"%RunOnceEx%\0100",,,"AC'97 Sound System 3.53" HKLM,"%RunOnceEx%\0100",1,,"%systemdrive%\installs\notebook\realtek\setup.exe -s -f1\"%systemdrive%\installs\notebook\realtek\setup.iss\" [Strings] RunOnceEx = "SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx" My cmd file: @ECHO OFF rundll32 setupapi,InstallHinfSection DefaultInstall 128 custom.inf EXIT Now from this I get a box that comes up and has a red circle with an X in the middle saying Installation Failed. Any ideas Thanks ]Bonkers[
  2. What does .\ (just before RunOnceEx.inf) do? Is that up a directory or down? Thanks ]Bonkers[
  3. Thanks ZoSTeR for that information. Looks like I am just going to have to wait . ]Bonkers[
  4. I know that I can copy the profile directory (C:\Documents and Settings\UserName\Application Data\Mozilla\Firefox\Profiles\default.cua), but I don't want all of that stuff. I just would like say one or two extensions plus a theme. I don't really understand how firefox stores this stuff. ie which files hold this information. I don't mind copying over say a theme or extension, but how does firefox know it is there? Does it register it in the registry or ... ? I am not sure if I am being clear enough. One last try. I see a folder called extensions in my profile, but will copying that over be enough or do I have to modify a config file somewhere to let firefox know what I did. Thanks ]Bonkers[
  5. Ok, I wrote a post a while ago (when I first start that shed some light on the programming aspect). This is to match my idea of having a common group of apps and some that are specific: @ECHO OFF starts common.cmd (adds common RunOnceEx entries) If %computername%==Comp1 GOTO Computer1 If %computername%==Comp2 GOTO Computer2 :Computer1 starts Computer1.cmd (adds computer1 specfic RunOnceEx entries) Goto END :Install2 starts Computer2.cmd (adds computer2 specific RunOnceEx entries) GOTO End :END ECHO Done EXIT ]Bonkers[
  6. @RaveRod: Let me explain what I do a bit more clearly. I have a desktop and a laptop. They mostly have the same software, but a couple differ slightly. So my cmdlines.txt calls a batch that adds RunOnceEx entries which are common to both. Now, I have 2 different boot folders (I used the gosh method) and each boot folder has its own winnt.sif. So basically what happens is after windows is installed and reboots, my RunOnceEx is launched and installs my common stuff while my winnt.sif calls a batch file (which is hidden) that installs the computer specific software. I would prefer to have all my installs done through RunOnceEx. I like your method and I think it is a great idea. Could you please post your file that asks for an admin name. I am not sure how to writeit. Now, I am not sure if this idea would work or not, but maybe I can take your idea and expand on it. I would still prefer not to have to type something in, so what if we did this. (again, I can't program so bear with me). In our winnt.sif we can name our computer and is assigned to the system variable %computername%. Now if our file (not sure what language to use) basically said: If %computername% == computer1 (or whatever we name our comps) then run this file If %computername% == computer2 then run the other file. Is this possible? If so, can someone shed some light on the programming aspect. ]Bonkers[
  7. For a long time I was using batch files to control my unattended install of apps and such. I then did some looking at alternative solutions and XPlode looked really cool. However, Iread that users were unable to use XPlode 1.1.2 with Windows XP SP2 RC1 +. Instead I use runonceex. Since you are back to programming it, my request would be to make it compatible with SP2 +. Thanks ]Bonkers[
  8. Hello, I install firefox 0.9.2 using the mozilla setup.exe trick. I always download a couple extensions to add some features to firefox. I was wondering if someone knows how to install extensions without going to the firefox extensions site and download/install from there. Does this also work for themes? If not, any ideas on that one? Thanks ]Bonkers[
  9. I loved FFVII's ending! ]Bonkers[
  10. How about you write your own. Basically, put the two authorization in a folder (in the same as the photoshop install or in a sub folder are just two examples). Find out where your silent install of photoshop installs two. Then find out where those two authorization files are. XCOPY /E /Q /Y "%systemdrive%\installs\authorization file" "%systemdrive%\where installation copies authorization files" ]Bonkers[
  11. @gandalfgrey: See, everytime I install flash and shockwave, it is on a clean (reformatted) version of windows. The installer works for firefox, because yesterday I took the same file and installed flash manually and it worked. I am not too sure why. Oh well. If no one has any other ideas I will just leave it. It isn't the end of the world, firefox still rules! ]Bonkers[
  12. Well, I double clicked on the installer (after doing my unattended) and it reconized firefox 0.9.1. Any other ideas? ]Bonkers[
  13. Thanks Clifford C. Claven. Very nice find! ]Bonkers[
  14. Hi. I install Firefox 0.9.1 in an unattended install using the Mozilla 1.7 setup.exe and the silent switches. As soon as that is done, I install Flash 7 and the latest Shockwave 10.x. Now when I go to a website I can't view any flash stuff and it has the link to go and download flash. I don't get it. The plugin works for IE, but no Firefox. Any suggestions?
  15. Why would you need authorization files? (ie. you need to "bypass" activation??? ). Do a search, it has been posted. To include the authorization file use a cmd to copy the files over after an install. ]Bonkers[
  16. You have four fans, but how many are blowing into the case and how many are blowing out of the case? What rpm are they running at? What is your room temperature? Are you using the stock heatsink and fan? You may consider buying a different one. Did you put any paste between your chip and the heatsink? If so, how long ago? You may need to reapply it. These are just a couple ideas ]Bonkers[
  17. Not 100% sure, but I believe you need to find out which channel your drive is on and then change the settings for that channel. Basically, go look at IDE ATA/ATAPI controllers. The options are there on mine. Hopefully I am not giving you wrong info. ]Bonkers[
  18. Run memcheck to make sure your memory doesn't have any errors. ]Bonkers[
  19. I wasn't able to get to the 911cd site, so I am not sure on the method that is posted there, but here is what I do.. I used gosh's reducing size of source which creates a boot folder. I copied that folder X amount of times depending on how many different installs I want. I rename them to VOL1, VOL2, etc. Now since each boot folder has a winnt.sif, each can have their own drivers and at the end I make a call to a cmd file for custom applications. Then (in my case I make 3 folders) under Drivers and Installs: common, desktop and notebook. My cmdlines.txt calls a cmd file which installs all the common stuff (using runonceex). Then my winnt.sif installs applications in the background which are specific to the computer (nonrunoncex). Sorry if my explaination isn't very good. If this method seems like it might work for you, just add a reply and I can do a better job of explaining it. ]Bonkers[
  20. NOD32 has a trial version, but I can't seem to figure out how many days I have had the trial installed and what will happen after those 30 days are up. Does it just let you keep using the program or can someone tell me what happens. Thanks ]Bonkers[
  21. @996: So today I gave your method a go, and suprise, it worked. I was a little surprised but also thankful . Thanks for all the help. ]Bonkers[
  22. I used to use SmartSync Pro. It worked well, but I decided to switch to Save-N-Sync because I can do an unattended install and copy over the config file easily so that I never have to setup the dumb settings again . I also had a hard time trying to find a good program, but I think one of these will work well for you. ]Bonkers[
×
×
  • Create New...