Help - Search - Members - Calendar
Full Version: post_$oem$ pompt me to restart and sort of does not work?
MSFN Forums > Member Contributed Projects > Windows Post-Install Wizard (WPI)

   
Google Internet Forums Unattended CD/DVD Guide
ZEUS__
hi,
I use WPI v7.2.0

here is my cmdlines.txt
CODE
[Commands]
"rundll32 advpack.dll,LaunchINFSection nLite.inf,U"
"regedit /s reg_performance.reg"
"regedit /s keys.reg"
"cleanup.cmd"
"rundll32 advpack.dll,LaunchINFSection RunWPI.inf,,1,N"


and I use the "RunWPI.inf"
here;
CODE
;###################################################################
;#### The post install starter for WPI designed by: ricktendo64 ####
;#### Used for Windows 2000, XP and 2003...                     ####
;###################################################################

[Version]
Signature="$CHICAGO$"

[DefaultInstall]
AddReg=Run.AddReg

[Run.AddReg]
HKLM,"%RUN%","%WPI%",,"RunDll32 advpack.dll,LaunchINFSection ""%01%\%INF%"",Execute"


[Execute]
AddReg              = OfficeFix
RunPreSetupCommands = Launch.WPI:1
DelReg              = Run.DelReg

[officefix]
HKCU,"Software\Microsoft\Internet Explorer\Main","Disable Script Debugger",0x0,"no"
HKCU,"Software\Microsoft\Internet Explorer\Main","DisableScriptDebuggerIE",0x0,"no"

[Launch.WPI]
CMD /Q /C CD /D """%01%\..\WPI""" & START /WAIT /B WPI.hta

[Run.DelReg]
HKLM,"%RUN%","%WPI%"

[Strings]
RUN="SOFTWARE\Microsoft\Windows\CurrentVersion\RUN"
WPI="Windows Post Install"
INF="RunWPI.inf"


after desktop loaded, before WPI loading there is a prompt window appear and say "Advanced .inf install is completed, would you like to restart to new setting etc.." how can I be-aware this?


and another issue;

my programs are not sort of number..cause I add some of them after.for example I add a program and I gave it number 15, it should be last install in normally but installing firstly :S
Kelsenellenelvian
mritter got the whole "ie debugger" fix built in now.

(Which would make all of this redundant ohmy.gif )

As for issue #2:

IF and I say IF I am getting you right the ordering only works if you have the proper options set and then the ones with numbers install FIRST and the rest install alphabetically afther that...

Deselect "Install by Category" for install by number to work..
ZEUS__
What a speedy huh.gif

biggrin.gif thanks @Kel..I will waiting for fix..

and for second issue I'm trying your suggest and check my settins again..
Kelsenellenelvian
QUOTE
..I will waiting for fix..


No need to wait it is in 7.2.0!!! GOOD LUCK.
ZEUS__
oh I understand blushing.gif you want to say something mystery as for me but I couldn't understand..I think I may check my setting or what?is it explain on somewhere wacko.gif I like your waggish sides rolleyes.gif but really I don't understand how to fix it.. ph34r.gif

ok I check read me again.but if I couldn't find, will you say? whistling.gif
ZEUS__
I try something..

-I search @mritter's post on forum but couldn't find an explain

-I checked option that load desktop before installation starts and put RunWPI_Zune.exe my $OEM$..but Nlite and WPI load at same time again.and when I hit to install button WPI closed suddenly.

-just post_$oem$ does have prompt issue

what would be the next try?

added:first sentence
gospeed
Zeus, are you saying that you want WPI to run before the desktop loads? I am having an issue with this as the old WPI would run this way and the new version will not (for me). No matter if I check the box or uncheck it, the desktop always loads while WPI starts up. I had to go back to the older version to make it work until a fix is found. If this is happening to you, we need to figure out what is going on, as we are the only ones having this problem.
Kelsenellenelvian
Let me run a coupla tests tonight and see if I can reproduce the issues again...

Edited for bad grammer (I was inna rush tongue.gif )
gospeed
let me know if you need any files or testing- I assume this is a similar problem to what he is having because he mentioned it loaded at the same time, regardless of checking the box or not.
Kelsenellenelvian
OK I just started a fresh "Virgin" XP w\sp3 install and I have RunWPI_Zune as my WPI starter file.

I will select 2 or more office products and post the results here...

Test #1 I can confirm the desktop is loading during the wpi process...

Office and the office install process was FUBAR!!! <-- http://en.wikipedia.org/wiki/FUBAR I got the installer crashing in the middle of the process and then a "Only 1 instance of setup may be run at a time"

ON to test 2 now...
ZEUS__
@gospeed yes I think we have the same issue..

I write all the story for clarify it.sorry cause my english, sometimes I couldn't explain what the really happened..

I used to WPI v6.3 for my old dvd and it's very good on these steps..;

after install xp, with restart, WPI begin to work and there is nothing on desktop..just opens WPI and I select my programs, they installed first and then desktop loads with Nlite's custom tweak that a little window showing left-top on the window..



but on my new dvd, I follow the same steps as same as my first post also used with WPI v6.3..but the resultsand steps here;

after install xp, with restart, WPI begins to work and also desktop begins to load at same time with Nlite's custom tweak(with little window left-top).It came to focus top on WPI..I don't understand how I controll it :S

I curious why this happens that when I follow the same steps..I try it with RunWPI_Zune.exe and RunWPI.exe..
and some try with option that load desktop before installation also, carriied to row RunWPI_Zune.exe top of cmdlines.txt huh.gif but that is not my wish..

I wish the same install with WPI v6.3

edit:added some words for clarify
Kelsenellenelvian
CODE
[Version]
Signature="$CHICAGO$"

[DefaultInstall]
AddReg=Run.AddReg

[Run.AddReg]
HKLM,"%RUN%","%WPI%",,"RunDll32 advpack.dll,LaunchINFSection ""%01%\%INF%"",Execute"
HKCU,"Software\Microsoft\Internet Explorer\Main","Disable Script Debugger",0x0,"no"
HKCU,"Software\Microsoft\Internet Explorer\Main","DisableScriptDebuggerIE",0x0,"no"

[Execute]
RunPreSetupCommands = Launch.WPI:1
DelReg              = Run.DelReg

[Launch.WPI]
CMD /Q /C CD /D """%01%\..\WPI""" & START /WAIT /B WPI.hta

[Run.DelReg]
HKLM,"%RUN%","%WPI%"

[Strings]
RUN="SOFTWARE\Microsoft\Windows\CurrentVersion\RUN"
WPI="Windows Post Install"
INF="RunWPI.inf"



This fixes the office problem (Again) sigh... I just had 2 seccesfull runs with full office, all fixes and sharepoint designer. This was previously giving install errors.

As for the timeing we need to wait for mritter to help on that one.
gospeed
thank you for looking into this and verifying the concern with timing! I was going nuts thinking I was the only one thumbup.gif
mritter
The built-in debugger fix only works if run from desktop/network share. It does NOT work from a fresh Window's install from DVD. You have to use the reg-keys for that. They must be changed before WPI is started.

GoSpeed, you didn't send me your WPI launcher code, I wanted to look at that. It's nothing to do with the WPI code. If you are not using the above Office regkey tweaks then that is why WPI is not waiting before loading desktop.

When run from Desktop/network, WPI starts, checks the 2 keys, changes them if needed, quits, restarts, does it's thing, puts keys back to original state, quits.

When run after a Window's install, WPI starts, checks the 2 keys, changes them if needed, quits, DESKTOP STARTS TO LOAD, wpi restarts, does it's thing WHILE desktop is loading, puts keys back, quits.
gospeed
QUOTE (mritter @ Dec 1 2008, 02:09 PM) *
GoSpeed, you didn't send me your WPI launcher code, I wanted to look at that. It's nothing to do with the WPI code.


I am using this cmdlines:
CODE
[COMMANDS]
RunWPI.exe


and the runwpi.exe to call wpi. I am not using any other launcher. It is version 1.4.0.0
Not sure if that helps, but this same issue was verified by Kelsenellenelvian unless I am misunderstanding his post. The only thing I am changing is just the WPI folder, nothing else.
The way I need it to work is as before, where WPI starts first, allows you to install everything, forces a shutdown, and then once windows restarts, the desktop is allowed to load. I have that functionality in the old version that I am currently using, but it has the .xml error.
mritter
RunWPI.exe does nothing but launch WPI. It doesn't change the reg keys.

Look at midiboy's code, I like this better.

midiboy's code

Maybe ricktendo's code is not working???
gospeed
I guess I am not following. I am only changing the WPI folder, nothing else on the DVD. Where would I find said entries? I have never needed to do anything with them before. Are you saying to get rid of the .exe and go back to the old method of calling wpi? I think I still have it laying around somewhere
mritter
Until 1.5 months ago they weren't needed. If you tried to install Office without those keys altered WPI would freak out. Just change your cmdlines file to the sample I show above.

[COMMANDS]
Reg key change

Run WPI

Reg key change back to original
gospeed
ok, I modified my cmdlines and built a runwpi.inf, I will see if that gets me anywhere. I looked back and the prior method I used a year ago was a.cmd which wasnt the most reliable as I recall.
gospeed
Well, I cant get the .inf to work on my multiboot. I think I will just stick with the old tried and true method, it has not let me down. I can live with a .xml error, I cannot live with the desktop loading first.

Thanks for your time guys. If a new version of the launcher comes out for pre-desktop use i will give it another shot.
Google Internet Forums Unattended CD/DVD Guide
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.