Jump to content

silacomalley

Member
  • Posts

    16
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

About silacomalley

silacomalley's Achievements

0

Reputation

  1. Oh...Oooohhhh..... This sounds like it could be a repeat of said thread referenced above by jaclaz. I do hope so, I enjoyed following the USB install thread very much and rely on that project in my work place.
  2. I stand corrected. I have never tried to install from CMDLINES.TXT, only configure RunOnceEx.
  3. I've been thinking on how to do the automated WiFi profile install for a few weeks, but didn't know how to implement it! I can't get it to hold the profile on my system though. It goes through the notions and when I check my settings, no new profile exists. Even after rebooting! I have subsituded the script with my wireless details and I can clearly see my config settings flash up on the Wireless applets as they run through the script! I'm sure it does work and I have a feeling something on my system is stopping it from working fully. Great info, thanks Bruce.
  4. CMDLINES.TXT is parsed at T12, right? And I'm not sure that the windows installer is present in the install at this point, right? So.....I may be right in saying that some software will not install at T12. Ergo you may need to go the route of the RunOnceEx method, which in actual fact should install nicely before any user account or shell has been initiated or loaded into a GUI. As for restarts, as long as you include switches into your app install lines, that will supress rebooting, then you have a foolproof install method that looks relatively professional. I install Office2003/2007, 2003 Admin tools, SAV Corp 10, oracle calendar, Cisco VPN, reg tweaks and plenty of other apps that install flawlessly with the RunOnceEx method.
  5. Not sure if you want to remove the shortcut arrow or add the shortcut arrow to icons. So.....I have included the registry tweak for both. You can download the attached files, or create a text document with extension .reg and include the following lines to add the shortcut arrow or to remove the arrow. Add_ShortCut_Arrow.reg Remove_ShortCut_Arrow.reg
  6. To get round any problems that IE7 poses, I usually intergrate it, then run a batch file to replace the newly installed iernonce.dll file with the older IE6 iernonce.dll. Then I go ahead and have RunOnceEx on the next boot take care of installing all of my apps. I have just one batch file that does everything in one. That way, IE7 is completely intergrated, which saves install time and it does not interfere with any other app installation after XP has installed. If your installing IE7 as an unattended install & you don't have an internet connection, it may fail due to the unavailablity of a connection to download files to update and install. Or there could be other software using or locking the registry perhaps, this will cause IE7 to possible fail. I'm not entirely sure of this, but it is just an idea of what might be going on, depending on how your installing the software or in what order you are doing so.
  7. Create a batch file and place it under the GuiRunOnce entry within your answer file. for eg:- [GuiRunOnce] "%Systemdrive%\runonce.bat runonce.bat (located in the %cdrom%\$oem$\$1 directory) could consist of the following lines:- echo off start /wait %systemdrive%\programA.exe end The above would run your software after the user shell has initiated, but on the first boot. Or create a batch file called runonce.bat which could look something like this.... SET KEY=HKCU\\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce REG ADD %KEY% /V "App Install" /D "Currently installing....." /f REG ADD %KEY%01 /VE /D "programA" /f REG ADD %KEY%01 /V "programA" /D "location of program to launch goes here" /f shutdown -r -t 00 EXIT Go ahead and put the same entry as above in your guirunonce section of your answer file and place runonce.bat in %cdrom%\$OEM$\$1\ Place as many programs as you like in the batch file reg entries, just increment them %KEY%01, %KEY%02, %KEY%03...etc. Your system should boot automatically after the desktop has loaded for the first time and on second boot your app installations should launch (in theory!). The 00 at the end is the time in seconds the system waits before reboot, in this case, zero seconds, which is a little too quick, maybe! Change it to suite, or omitt the shutdown line at the end and reboot manually. I am a bit rusty on this and there may be a blatently obvious, easier solution. But this is all could think of right now. What software is failing to launch at RunOnceEx or on first boot? How are you trying to initiate the software installation(s)?
  8. Ok, you have created the winnt.sif file with nLite 1.4. So.....maybe you could try creating the answer file with setupmgr.exe, microsofts proprietary solution. Go to http://www.microsoft.com/downloads/details...;displaylang=en and download, unzip and run setupmgr.exe. There is a ref.chm and deploy.chm file within the zip folder, which are a good reference to most all of the basic unattended options that can be used to automate an unattended install, though there are plenty more options out there that can be inserted into a .sif file, this just covers most of the basics. And it should give you an idea of how to compile a successfull winnt.sif answer file. Copy the .sif that setupmgr.exe creates into the i386 folder of your unattended compilation, which I presume was also created in nLite. If you still get the same results, use an exact copy of your XP disk without any nLite modifications and with the answer file created with setupmgr.exe, again - placed in your i386 folder. It's a long winded elimination type approach, but I have had some custom installations go pear shaped using nLite, with no logic or reason why, that I could see anyway. I swear by nLite for the amazing standalone tool that it is, but sometimes a file just gets corrupt and goes unnoticed or a setting is out somewhere. If the above works with setupmgr.exe......then you may just want to start again from scratch with nLite and maybe there was a bug originaly when you compiled using nLite.
  9. You add an entry into HKCU\Software\Microsoft\Windows\CurrentVersion\RunOnce which will runonce for each user account. This is only achieved when no one is logged on. Cmdlines.txt is a good time to add the entry into registry. btw, run was not mentioned. Hopefully, this explaination is easier to understand. Hi there! I'm searching for the RunOnce Key for every new and every existing user on a machine. After an installation there has to be some user-specific work to be done. So, I found this post. Great so far! But here's the problem: Mhz wrote "This is only achieved when no one is logged on.". How do I achieve this? In a XP-new-installation I'm using cmdlines-txt for this, but how to when the computer ist ready installed? Thanks a lot, BangBang I believe you will need to change the above example (HKCU\Software\Microsoft\Windows\CurrentVersion\RunOnce) to HKU\.default\Software\Microsoft\Windows\CurrentVersion\RunOnce and run it whilst logged into your regular profile or user account. Try it and see!
  10. Try viewing http://www.msfn.org/board/index.php?showtopic=61384
  11. If anyone wants to eliminate the need to use third party software to format their USB drive, you can do this.... Visit http://www.xpefiles.com/viewtopic.php?t=92 and download the hitachi drivers. Effectively, after install, your stick will be seen and treated as a regular hard drive. This way you can format and partition the Stick with the Windows manager, creating primary and extended/logical partitions, creating an xp MBR. After downloading extract the contents. Open cfadisk.inf and note the following section, we will need to edit this in a moment..... [cfadisk_device] %Microdrive_devdesc% = cfadisk_install,IDE\DiskIBM-DSCM-11000__________________________SC2IC801 %Microdrive_devdesc% = cfadisk_install,IDE\DiskIBM-DSCM-11000__________________________SC2IC815 %Microdrive_devdesc% = cfadisk_install,IDE\DiskIBM-DSCM-11000__________________________SC2IC915 %Microdrive_devdesc% = cfadisk_install,IDE\DiskIBM-DSCM-10512__________________________SC1IC801 %Microdrive_devdesc% = cfadisk_install,IDE\DiskIBM-DSCM-10512__________________________SC1IC815 %Microdrive_devdesc% = cfadisk_install,IDE\DiskIBM-DSCM-10512__________________________SC1IC915 %Microdrive_devdesc% = cfadisk_install,IDE\DiskIBM-DMDM-10340__________________________MD2IC501 %Microdrive_devdesc% = cfadisk_install,IDE\DiskIBM-DMDM-10340__________________________MD2IC601 ; debug on VMWare/special drive ; %Microdrive_devdesc% = cfadisk_install,IDE\DiskVMware_Virtual_IDE_Hard_Drive___________00000001 ; %Microdrive_devdesc% = cfadisk_install,IDE\DiskIC25N040ATCS04-0________________________CA4OA71A Find and add the ID specific to your usb stick. To find this insert your USB stick and use REGEDIT navigate to HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\USBSTOR registry key There will be an entry for the subkey HardwareID. Open this and there will be a string of values - for my PMY stick the values are: USBSTOR\DiskPNY_____USB_2.0_FD______PMAP USBSTOR\DiskPNY_____USB_2.0_FD______ USBSTOR\DiskPNY_____ USBSTOR\PNY_____USB_2.0_FD______P PNY_____USB_2.0_FD______P USBSTOR\GenDisk GenDisk We only need to use the first value in the HardwareID string - in this case, for mine, USBSTOR\DiskPNY_____USB_2.0_FD______PMAP. Copy this value into the [cfadisk_device] section in cfadisk.inf. So for eg, my [cfadisk_device] section contains the following code: [cfadisk_device] %Microdrive_devdesc% = cfadisk_install,USBSTOR\DiskPNY_____USB_2.0_FD______PMAP %Microdrive_devdesc% = cfadisk_install,USBSTOR\DiskPNY_____USB_2.0_FD______PMAP %Microdrive_devdesc% = cfadisk_install,USBSTOR\DiskPNY_____USB_2.0_FD______PMAP %Microdrive_devdesc% = cfadisk_install,USBSTOR\DiskPNY_____USB_2.0_FD______PMAP %Microdrive_devdesc% = cfadisk_install,USBSTOR\DiskPNY_____USB_2.0_FD______PMAP %Microdrive_devdesc% = cfadisk_install,USBSTOR\DiskPNY_____USB_2.0_FD______PMAP %Microdrive_devdesc% = cfadisk_install,USBSTOR\DiskPNY_____USB_2.0_FD______PMAP %Microdrive_devdesc% = cfadisk_install,USBSTOR\DiskPNY_____USB_2.0_FD______PMAP ; debug on VMWare/special drive ; %Microdrive_devdesc% = cfadisk_install,USBSTOR\DiskPNY_____USB_2.0_FD______PMAP ; %Microdrive_devdesc% = cfadisk_install,USBSTOR\DiskPNY_____USB_2.0_FD______PMAP Save cfadisk.inf. Open Device manager and check for your USB drive in "Disk Drives". Right click on the entry for your drive and select option to update driver. * Don't use windows update * Install from a list or specific location * Don't search for driver, but use....I will choose the driver to install * Have disk * Browse to location of edited cfadisk.inf Update and restart windows. Your USB stick should be treated as any regular hard drive! Let me know if this does not work with any of the current projects, as I have not yet gone through this whole XP on a stick! and tried it all out. He..He...
  12. I have the same problem. The title is missing and the reg entries just sit there and do nothing. I have added start /wait and still nothing. I have even copied the reg entries over to the HKCU and still nothing! This was working for me at one point, then it stopped working. I have even created a new .SIF file and even checked the effective hive permissions. Anyone got any ideas?
  13. I believe he is asking how he can preconfigure his unattended install, so that when installation is complete, all his collected or chosen favourites have automaticaly populated his %userprofile%\favorites folder, ergo no need to transfer them manually at a later date. You can use the section of the winnt.sif file and put a list of all your favourites in there. You chould check out the forum for a guide on this, there is probably a hundred and one of them on here. Altenatively, you can create a batch file that copies a backup of your favourites folder (included on the final unattended cd, before burning), during install. It's creates for a perfect exclusive and personal restore disk, man!
  14. When you are creatng the unattended through nlite, choose the option to ignore the minimum memory or harddrive requirements. It is in the tweaks section or similar, can't remember exactly were it is. Someone correct me if I am wrong.
  15. The only thing I can see from reading your above link, is that maybe Roberts way of making the USB bootable by using the bootsect /nt60 X: command, as opposed to using xp or vista's native partition tools, which will create a basic MBR, (pertaining to NTLDR for XP & Bootmgr for Vista), is copying over a custom bootloader. The boot sector from the AIK, presuming it is ripped from an ISO may be different from a regular bootsector & MBR. Other than this, I cannot see any other reason. I would go ahead & create a CD winpe & test that, and you may wanna' check how your bios is looking at your USB stick. I could be barking up the wrong tree here, but I hope this helps you resolve your issue.
×
×
  • Create New...