Jump to content

"Undefined" on reboot while WPI is running


Recommended Posts

I am getting a "undefined" screen after I try to install WMP11. It seems my installer tries to restart while WPI is running, and on reboot, I get this screen. I read somewhere a very old post about making sure wpi.ico is at the root of the dvd, but cant find any other references to that file. I am using a multiboot dvd with a folder name WPI at the root, and all the files within (wpi.hta, etc). I have downloaded the latest WPI with no change. WPI works flawlessly except for this one error on this one program.

I guess my question is this- should I make WMP11 wait for reboot, or is this an easily solved problem within WPI?

Link to comment
Share on other sites


the exact situation is where WMP11 is on my list of programs for WPI to install. When WMP11 is finished, it reboots- before the rest of the programs are allowed to install. On reboot, this is the screen I see:

newbitmapimagefs9.jpg

Clicking "OK" lets this close, and then my driverpack finisher runs (only if this is the first boot), followed by a blank screen with only my mouse pointer. Control/alt/delete and end mshta and the desktop finishes loading. WPI does not re-start automatically.

Again, its probably easier for me to make WMP11 not automatically reboot, but if its an easy fix in WPI, I will do that. Just in case other programs force a reboot.

Edited by gospeed
Link to comment
Share on other sites

WPI *should* normally reboot as and app calls for it. BUT there has been some heavy work on the reboot system in WPI on the last coupla versions.

However having said that this isnt the first time driverpacks and WPI have clashed so it might be it too.

WMP11 Is most commonly integrated nowadays and that probably why you are the first to report this.

Please post your config.js as an attachment (Remove your serials please) and I will test it.

The best bet is just to tell WMP11 not to reboot and have WPI reboot at the end (In the options section) and then driverpacks finisher will run.

I wanna test though so I can try to reproduce.

Link to comment
Share on other sites

Here is my config.js, its pretty ugly though :whistle: . I use .cmd's to run the programs so there are no keys here.

I think I should just integrate, that would be the best answer.

//---------------------------------------------------------------------------------------------
// Reference ... prog[0] won't be used. It's just an example.
// Look in program.js to see explanation of these properties.
//---------------------------------------------------------------------------------------------
// pn=0; // start value for prog numbering
// prog[pn]=['ProgramName'];
// ordr[pn]=[0];
// desc[pn]=['Description'];
// uid[pn]=['APP1'];
// dflt[pn]=['no'];
// cat[pn]=['Application Category'];
// forc[pn]=['false'];
// configs[pn]=['List of configs to be auto checked. Comma seperated'];
// deps[pn]=[];
// excl[pn]=[];
// cond[pn]=['Javascript Conditional Statement'];
// gcond[pn]=['Javascript Conditional Statement to gray item'];
// regb[pn]=['Registry Key Path'];
// cmd1[pn]=['CommandLine 1'];
// cmd2[pn]=['CommandLine 2'];
// cmd3[pn]=['CommandLine 3'];
// cmd4[pn]=['CommandLine 4'];
// cmd5[pn]=['CommandLine 5'];
// cmd6[pn]=['CommandLine 6'];
// cmd7[pn]=['CommandLine 7'];
// cmd8[pn]=['CommandLine 8'];
// cmd9[pn]=['CommandLine 9'];
// cmd10[pn]=['CommandLine 10'];
// rega[pn]=['Registry Key Path'];
// picf[pn]=['Picture File'];
// picw[pn]=['Width'];
// pich[pn]=['Height'];
// textl[pn]=['Text Location'];
// pn++;

//---------------------------------------------------------------------------------------------
// Your programs here ...
//---------------------------------------------------------------------------------------------
pn=1;
prog[pn]=['7zip'];
ordr[pn]=[15];
uid[pn]=['7ZIP'];
dflt[pn]=['yes'];
cat[pn]=['Utilities'];
forc[pn]=['no'];
cmd1[pn]=['"%wpipath%\\Programs\\7zip\\7zip.cmd"'];
pn++;

prog[pn]=['ActiveSync'];
ordr[pn]=[11];
desc[pn]=['For docking PDA\'s and Smartphones'];
uid[pn]=['ACTIVESYNC'];
dflt[pn]=['no'];
cat[pn]=['Office'];
forc[pn]=['no'];
cmd1[pn]=['msiexec.exe /i "%wpipath%\\PROGRAMS\\ACTIVESYNC\\setup.msi" /norestart'];
pn++;

prog[pn]=['AdAware'];
ordr[pn]=[12];
desc[pn]=['Highest levels of protection for your PC'];
uid[pn]=['ADAWARE'];
dflt[pn]=['yes'];
cat[pn]=['Utilities'];
forc[pn]=['no'];
cmd1[pn]=['"%wpipath%\\Programs\\AdAware\\Ad-Aware.cmd"'];
pn++;

prog[pn]=['Adobe Acrobat Pro- MUST BE ONLINE!'];
ordr[pn]=[13];
desc[pn]=['Create, Control, and Deliver PDF Files.'];
uid[pn]=['ADOBEACROBATPRO'];
dflt[pn]=['no'];
cat[pn]=['Office'];
forc[pn]=['no'];
cmd1[pn]=['"%wpipath%\\Programs\\AcrobatPro\\AcrobatPro.cmd"'];
pn++;

prog[pn]=['Adobe Acrobat Reader'];
ordr[pn]=[14];
uid[pn]=['ADOBEACROBATRDR'];
dflt[pn]=['no'];
cat[pn]=['Office'];
forc[pn]=['no'];
cmd1[pn]=['"%wpipath%\\Programs\\ACROBATRDR\\ACROBATRDR.CMD"'];
pn++;

prog[pn]=['Alcohol 120%'];
ordr[pn]=[142];
uid[pn]=['ALCOHOL120'];
dflt[pn]=['no'];
cat[pn]=['CD/DVD Editing Software'];
forc[pn]=['no'];
cmd1[pn]=['"%wpipath%\\PROGRAMS\\ALCOHOL\\alcohol.exe" /norestart /passive'];
pn++;

prog[pn]=['AnyDVD'];
ordr[pn]=[16];
desc[pn]=['Unprotects DVD\'s for copying'];
uid[pn]=['ANYDVD'];
dflt[pn]=['no'];
cat[pn]=['CD/DVD Editing Software'];
forc[pn]=['no'];
cmd1[pn]=['"%wpipath%\\Programs\\AnyDVD\\AnyDVD.cmd"'];
pn++;

prog[pn]=['Base Registry Tweaks'];
ordr[pn]=[270];
desc[pn]=['These regtweaks are mandatory. They include branding, tweaks for speed, and tweaks for performance.'];
uid[pn]=['REGISTRYTWEAKS'];
dflt[pn]=['yes'];
cat[pn]=['Registry Tweaks'];
forc[pn]=['no'];
cmd1[pn]=['regedit.exe /s "%wpipath%\\Programs\\Regtweaks\\required.reg"'];
pn++;

prog[pn]=['Bliss Screen Saver'];
ordr[pn]=[299];
uid[pn]=['BLISSSCREENSAVER'];
dflt[pn]=['yes'];
cat[pn]=['Applications'];
forc[pn]=['no'];
cmd1[pn]=['"%wpipath%\\Programs\\BLISS\\Install.exe'];
pn++;

prog[pn]=['Clean up Desktop'];
ordr[pn]=[273];
uid[pn]=['CLEANUPDESKTOP'];
dflt[pn]=['yes'];
cat[pn]=['Registry Tweaks'];
forc[pn]=['no'];
cmd1[pn]=['regedit.exe /s "%wpipath%\\Programs\\Regtweaks\\desktopclean.reg"'];
pn++;

prog[pn]=['Clean up Start Menu'];
ordr[pn]=[290];
uid[pn]=['CLEANUP'];
dflt[pn]=['yes'];
cat[pn]=['Registry Tweaks'];
forc[pn]=['no'];
cmd1[pn]=['"%wpipath%\\Programs\\Regtweaks\\CLEANUP.CMD"'];
pn++;

prog[pn]=['Clear Sidebar'];
ordr[pn]=[200];
uid[pn]=['CLEARSIDEBAR'];
dflt[pn]=['no'];
cat[pn]=['Utilities'];
forc[pn]=['no'];
cmd1[pn]=['"%wpipath%\\PROGRAMS\\SIDEBAR\\sidebar.exe" /s'];
pn++;

prog[pn]=['CloneCD'];
ordr[pn]=[31];
uid[pn]=['CLONECD'];
dflt[pn]=['no'];
cat[pn]=['CD/DVD Editing Software'];
forc[pn]=['no'];
cmd1[pn]=['"%wpipath%\\Programs\\CloneCD\\CloneCD.cmd"'];
pn++;

prog[pn]=['CloneDVD'];
ordr[pn]=[32];
uid[pn]=['CLONEDVD'];
dflt[pn]=['no'];
cat[pn]=['CD/DVD Editing Software'];
forc[pn]=['no'];
cmd1[pn]=['"%wpipath%\\Programs\\CloneDVD\\CloneDVD.cmd"'];
pn++;

prog[pn]=['DVD Decrypter'];
ordr[pn]=[41];
uid[pn]=['DVDDECRYPTER'];
dflt[pn]=['no'];
cat[pn]=['CD/DVD Editing Software'];
forc[pn]=['no'];
cmd1[pn]=['"%wpipath%\\Programs\\DVDDecrypter\\DVDDecrypter.cmd"'];
pn++;

prog[pn]=['DVD Shrink'];
ordr[pn]=[42];
uid[pn]=['DVDSHRINK'];
dflt[pn]=['no'];
cat[pn]=['CD/DVD Editing Software'];
forc[pn]=['no'];
cmd1[pn]=['"%wpipath%\\Programs\\DVDShrink\\DVDShrink.cmd"'];
pn++;

prog[pn]=['Easy CD-DA Extractor'];
ordr[pn]=[51];
uid[pn]=['EASYCDDAEXTRACTOR'];
dflt[pn]=['no'];
cat[pn]=['Manual Installation'];
forc[pn]=['no'];
cmd1[pn]=['"%wpipath%\\Programs\\EasyCD-DA\\Easycdda.cmd"'];
pn++;

prog[pn]=['Firefox Browser'];
ordr[pn]=[61];
uid[pn]=['FIREFOXBROWSER'];
dflt[pn]=['no'];
cat[pn]=['Mozilla'];
forc[pn]=['no'];
cmd1[pn]=['"%wpipath%\\Programs\\Firefox\\Firefox.cmd"'];
cmd2[pn]=['"%wpipath%\\Programs\\Flashplayer\\FlashPlayer.cmd"'];
pn++;

prog[pn]=['Google Deskbar'];
ordr[pn]=[71];
uid[pn]=['GOOGLEDESKBARNONUA'];
dflt[pn]=['no'];
cat[pn]=['Manual Installation'];
forc[pn]=['no'];
cmd1[pn]=['"%wpipath%\\Programs\\GoogleDeskbar\\Googledeskbar.cmd"'];
pn++;

prog[pn]=['Google Toolbar'];
ordr[pn]=[72];
uid[pn]=['GOOGLETOOLBAR'];
dflt[pn]=['no'];
cat[pn]=['Applications'];
forc[pn]=['no'];
cmd1[pn]=['"%wpipath%\\Programs\\GoogleToolbar\\GoogleToolbar.cmd"'];
pn++;

prog[pn]=['Install Media Center theme'];
ordr[pn]=[281];
uid[pn]=['INSTALLMEDIACENTERTHEME'];
dflt[pn]=['yes'];
cat[pn]=['Registry Tweaks'];
forc[pn]=['no'];
cmd1[pn]=['regedit.exe /s "%wpipath%\\Programs\\Regtweaks\\royal.reg"'];
pn++;

prog[pn]=['Java'];
ordr[pn]=[101];
uid[pn]=['JAVA'];
dflt[pn]=['yes'];
cat[pn]=['MultiMedia'];
forc[pn]=['no'];
cmd1[pn]=['"%wpipath%\\Programs\\Java\\JAVA.cmd"'];
pn++;

prog[pn]=['Klite Codec Pack'];
ordr[pn]=[111];
uid[pn]=['KLITECODECPACK'];
dflt[pn]=['yes'];
cat[pn]=['MultiMedia'];
forc[pn]=['no'];
cmd1[pn]=['"%wpipath%\\Programs\\KLite\\K-LiteCodec.cmd"'];
pn++;

prog[pn]=['Nero Burning Rom'];
ordr[pn]=[141];
uid[pn]=['NEROBURNINGROM'];
dflt[pn]=['yes'];
cat[pn]=['CD/DVD Editing Software'];
forc[pn]=['no'];
cmd1[pn]=['"%wpipath%\\Programs\\NeroUltra\\Nero.cmd"'];
pn++;

prog[pn]=['Nero InCD'];
ordr[pn]=[147];
uid[pn]=['NEROINCD'];
dflt[pn]=['no'];
cat[pn]=['CD/DVD Editing Software'];
forc[pn]=['no'];
deps[pn]=['NEROBURNINGROM'];
cmd1[pn]=['"%wpipath%\\Programs\\NeroInCD\\Nero.cmd"'];
pn++;

prog[pn]=['Nero Lightscribe'];
ordr[pn]=[146];
uid[pn]=['NEROLIGHTSCRIBE'];
dflt[pn]=['no'];
cat[pn]=['CD/DVD Editing Software'];
forc[pn]=['no'];
deps[pn]=['NEROBURNINGROM'];
cmd1[pn]=['"%wpipath%\\Programs\\LIGHTSCRIBE\\LIGHTSCRIBE.cmd"'];
pn++;

prog[pn]=['Nero Vision'];
ordr[pn]=[145];
uid[pn]=['NEROVISION'];
dflt[pn]=['no'];
cat[pn]=['CD/DVD Editing Software'];
forc[pn]=['no'];
deps[pn]=['NEROBURNINGROM'];
cmd1[pn]=['"%wpipath%\\Programs\\NeroVision\\Nero.cmd"'];
pn++;

prog[pn]=['NET 1.0'];
ordr[pn]=[148];
uid[pn]=['NETV1'];
dflt[pn]=['no'];
cat[pn]=['NET Framework'];
forc[pn]=['no'];
cmd1[pn]=['"%wpipath%\\Programs\\NET1.1\\NETFramework1.cmd"'];
pn++;

prog[pn]=['NET 2.0'];
ordr[pn]=[149];
uid[pn]=['NETV2.0'];
dflt[pn]=['no'];
cat[pn]=['NET Framework'];
forc[pn]=['no'];
cmd1[pn]=['"%wpipath%\\Programs\\NET2.0\\NETFramework2.cmd"'];
pn++;

prog[pn]=['NET 3.0'];
ordr[pn]=[150];
uid[pn]=['NETV3'];
dflt[pn]=['no'];
cat[pn]=['NET Framework'];
forc[pn]=['no'];
cmd1[pn]=['"%wpipath%\\Programs\\NET3.0\\NETFramework3.cmd"'];
pn++;

prog[pn]=['NET All In One'];
ordr[pn]=[140];
uid[pn]=['NETV1-2'];
dflt[pn]=['yes'];
cat[pn]=['NET Framework'];
forc[pn]=['no'];
cmd1[pn]=['"%wpipath%\\Programs\\NETAIO\\NETFrameworkaio.cmd"'];
pn++;

prog[pn]=['Office 2003'];
ordr[pn]=[151];
uid[pn]=['OFFICE2003'];
dflt[pn]=['yes'];
cat[pn]=['Office'];
forc[pn]=['no'];
excl[pn]=['OFFICEXP'];
cmd1[pn]=['"%wpipath%\\Programs\\Office2003\\Office2003.cmd"'];
pn++;

prog[pn]=['PowerDVD'];
ordr[pn]=[146];
uid[pn]=['POWERDVD'];
dflt[pn]=['yes'];
cat[pn]=['CD/DVD Editing Software'];
forc[pn]=['no'];
cmd1[pn]=['"%wpipath%\\Programs\\PowerDVD\\PowerDVD.cmd"'];
pn++;

prog[pn]=['Publisher XP'];
ordr[pn]=[155];
uid[pn]=['PUBLISHERXP'];
dflt[pn]=['no'];
cat[pn]=['Office'];
forc[pn]=['no'];
excl[pn]=['OFFICE2003'];
cmd1[pn]=['"%wpipath%\\Programs\\PublisherXP\\Publisher.cmd"'];
pn++;

prog[pn]=['Spybot Search and Destroy'];
ordr[pn]=[191];
uid[pn]=['SPYBOTSEARCHANDDESTROY'];
dflt[pn]=['yes'];
cat[pn]=['Utilities'];
forc[pn]=['no'];
cmd1[pn]=['"%wpipath%\\Programs\\SpyBot\\SpyBot.cmd"'];
pn++;

prog[pn]=['Thunderbird Email'];
ordr[pn]=[201];
uid[pn]=['THUNDERBIRDEMAIL'];
dflt[pn]=['no'];
cat[pn]=['Mozilla'];
forc[pn]=['no'];
cmd1[pn]=['"%wpipath%\\Programs\\Thunderbird\\Thunderbird.cmd"'];
pn++;

prog[pn]=['uTorrent'];
ordr[pn]=[221];
uid[pn]=['UTORRENT'];
dflt[pn]=['yes'];
cat[pn]=['Torrent Apps'];
forc[pn]=['no'];
cmd1[pn]=['"%wpipath%\\Programs\\(uTorrent)\\uTorrent.cmd"'];
pn++;

prog[pn]=['Windows Defender'];
ordr[pn]=[82];
uid[pn]=['WINDOWSDEFENDER'];
dflt[pn]=['no'];
cat[pn]=['Manual Installation'];
forc[pn]=['no'];
cmd1[pn]=['"%wpipath%\\PROGRAMS\\DEFENDER\\Defender.msi"'];
pn++;

prog[pn]=['Windows Media Player 11'];
ordr[pn]=[83];
uid[pn]=['WINDOWSMEDIAPLAYER11'];
dflt[pn]=['no'];
cat[pn]=['Applications'];
forc[pn]=['no'];
cmd1[pn]=['"%wpipath%\\PROGRAMS\\MEDIAPLAYER\\wmp11.CMD"'];
pn++;

//---------------------------------------------------------------------------------------------
// End of program definitions ...
//---------------------------------------------------------------------------------------------

Link to comment
Share on other sites

Ummmm wow I aint even going to step in there :P

As for integrating -- YES it does seem to be the best way! http://web.clicknet.ro/boooggy/

You might want to consider simplifying all of that and having WPI run all of the commands for the apps directly but you really do seem to know what you are doing, doing it like that.

I must admit it is the first time I have seen a nearly all cmd called WPI though do you like the flashy flashy windows or are you hiding them?

Edited by Kelsenellenelvian
Link to comment
Share on other sites

Yeah, I have updated WPI many times, but never have gone back and cleaned up my methods :unsure: I have a feeling I just need to spend some time going through it. I honestly cant remember WHY I went the .cmd route. It was a long time ago!

Thanks again for your time :thumbup

Edited by gospeed
Link to comment
Share on other sites

  • 1 month later...

I was getting the same error on reboot, thought it might be my archaic reboot. cmd scripts but after I changed to your built in command it still did it. Then I had to try and remember all the changes I'd made in the last couple day's and I'm sure I have an answer for at least my problem.

I had created a script to that would create an admin account named user with no password and then set the auto login reg entries to that account. Then the script continued on to rename the machine and set the workgroup. At this point is where I had the "shutdown -r -t 0" command in the batch file.

Any way to long story short: if you use WPI to set the auto login info in the reg and reboot in the middle of the WPI install for any reason. Then it won't be able to read the registry entries it made as the previously logged on user that originally executed the script.

[HKEY_CURRENT_USER\Software\WPI]

"Theme"="Glossy"

"Language"="en"

"PlayAudioInInstaller"="0"

"ResumeInstall"=dword:00000001

"LogPath"="%systemdrive%\\WPI_Log.txt"

"numCommands"=dword:00000005

"CurrentInstall"=dword:00000000

"LastTopLine"=dword:00000000

"LastExec"=dword:00000001

"curCommand"=dword:00000001

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...