Install hangs at 12 minutes
#1
Posted 06 July 2004 - 12:14 PM
Then, it happened.
I added the unattended versins of Firefox and Thunderbird, added TmpgEnc and Virtualdub uncompressed in my $Progs folder since they don't install, and added shortcuts in my $Docs/All Users/Start Menu/ folder for my key apps so I can clear the desktop in my cleanup script. Those were the only changes made to the last working setup.
When I boot this version, it works fine up to 12 minutes, about 2/3 through the Registering Components step. It hangs. Forever.
Would copying my $OEM$ folder to save my work and recopying the base XP cd and rerunning nlite help? What did I do to screw this up?
#2
Posted 06 July 2004 - 02:17 PM
Quote
perhaps you have a cmdow in your batch that imports the RunOnceEX settings, and it's asking for input, and you can't since it's hidden.
remove the line, and try again.....you may find your answer.
I deleted your other thread. No need for both.
#3
Posted 06 July 2004 - 03:44 PM
Alanoll, on Jul 6 2004, 02:17 PM, said:
Quote
perhaps you have a cmdow in your batch that imports the RunOnceEX settings, and it's asking for input, and you can't since it's hidden.
remove the line, and try again.....you may find your answer.
Ok, I'll try that when I get home, but my cmdow /HID is the first line in my RunOnceEx.cmd, and it started as a cut and paste from the one in the ROE guide.
There are no hotfixes, as I am working with a slipstreamed SP2 RC2 disc.
The kicker here is that this disc has gone through several versions as I worked out drivers, applications and such. The last install worked flawlessly. Then I added a few programs and shortcuts to be copied to program files and all users start menu. I never changed anything that I hadn't tinkered with before.
Would something in RunOnceEx.cmd, which runs after first logon (right?), affect the actual install process, which is before first logon? And why would this process hang now, after several runs without the problem, the only changes being made in the $OEM$ folders?
I guess I just need a n00b theory seminar. Thanks!
#4
Posted 06 July 2004 - 03:51 PM
but what alot of people misunderstand.....
The CMD file runs at T-12 (where you are freezing), but the actual RunOnceEX window that executes and installs everything runs upon restart. If there is a single syntax error, it might prompt you with something, and you have to press a key, but you can't as you have the window hidden.
I still suspect you may have changed SOMETHING in the file, or any file you run from CMDLINES.TXT and that's causing the problem. You may not remember changing something, but just like....wrong switch here, type of thing.....or something.
#5
Posted 06 July 2004 - 04:01 PM
#6
Posted 06 July 2004 - 04:05 PM
As long as the files aren't in the correct place (where they would be in a normal install) you'll just get File Not Found errors if any, when RunOnceEX actually runs, or you could just delete the keys in the before you even restart.
#7
Posted 06 July 2004 - 10:08 PM
REG ADD %KEY%\025 /VE /D "Installing Winamp 5.03" /f REG ADD %KEY%\025 /V 1 /D "%systemdrive%\install\Winamp\winamp503_full /S"/f REG ADD %KEY%\026 /V 1 /D "pskill winamp.exe"/f
I get this prompt:
Value 1 exists, overwrite? y/n
now, right after this, Yahoo MEssenger 6 is set up exactly the same way, with pskill, and it worked fine before. It was there last time, I just added Winamp in later. After I answer y or n, it completes fine.
What should I change?
#8
Posted 06 July 2004 - 10:20 PM
REG ADD %KEY%\026 /V 1 /D "pskill winamp.exe"/f
Your last entry should look like this:
REG ADD %KEY%\025 /V 2 /D "pskill winamp.exe"/f
Your original entry was trying to overwrite the first value: Value 1
All three should be in the same key: 025
#9
Posted 06 July 2004 - 11:06 PM
#10
Posted 07 July 2004 - 01:56 PM
jrzycrim, on Jul 6 2004, 10:20 PM, said:
REG ADD %KEY%\026 /V 1 /D "pskill winamp.exe"/f
Your last entry should look like this:
REG ADD %KEY%\025 /V 2 /D "pskill winamp.exe"/f
Your original entry was trying to overwrite the first value: Value 1
All three should be in the same key: 025
Ok, the source of my woes was not the 025, 026 keys, though let me explain that. I just wanted to ensure that pskill ran immediately after the install finished and the program was launched. Is that necessary?
the actual typo was in the "/v 1" section. I wasn't incrementing the value switch. Duh.
But the 025, 026 progression does exactly what I want it to do though, but is it kludgy?
#11
Posted 07 July 2004 - 04:00 PM
The only thing I was confused about is the fact that this REG ADD %KEY%\026 /V 1 /D "pskill winamp.exe" /f was attempting to overwrite another entry. It couldn't have been trying to overwrite any value in the 025 registry key. I can only assume that you have another entry somewhere in your RunOnceEx that writes a value to \026 V 1. There must be an entry that creates a value in the \026 key before your winamp entries.
#12
Posted 07 July 2004 - 05:15 PM
#13
Posted 07 July 2004 - 08:40 PM
C++/C#/VB/VB#/Java/Perl/PHP/SQL/HTML/CSS/JAVASCRIPT/Pascal
lol.
Batch files aren't real programming. It's more BASIC then anything.....
but if it helps, consider using a calender type thing, every time you add something, mark off the number. lol.
- ← VBScript to Create Favorites
- Unattended Windows 2000/XP/2003
- winnt32.exe unattend will not restart w BartPE →



Help
Back to top









