Jump to content

problem in unattended setup with winpe phase


Recommended Posts

Coming straight to the point, I am using following option in winpeshl.ini which was working fine with vista

[LaunchApp]

AppPath=%Systemdrive%\start.exe

[LaunchApps]

wpeinit.exe

What exactly it does is, It starts "start.exe" which is my custom app created with autoit. it loads fine with win7's PE( as well as vista's ).

setupautoit.jpg

Clicking on "Install Windows 7 Ultimate" executes windows7 setup with specified unattended file ( x:\setup.exe /unattend:answer.xml ) and it loads also fine,.

Now here comes the problem! Setup now not detecting any HDDs ( OR is it asking for windows7 setup DVD? ) on machine! :wacko:. Now if I start "setup.exe" without any parameters to see whether it is problem with my answer file, but even starting normal setup.exe also not getting any HDD listed!!

prb.jpg

Now, if I start setup in normal mode ( no unattended, no answer file, no winpeshl.ini, only normal winpe without any scipts ) directly starting setup , then everything works fine!

even, If I do folowing,

Boot DVD > setup> repair computer > recovery tools > command prompt

> Setup.exe /unattend:answerfile.xml"

Then even this time it works!!

So, I think there must be problem in "winpeshl.ini"( why its not detecting cd/dvd OR is normally windows start setup using DVD's "setup.exe" instead "X:\setup.exe"? ) . may be settings changed with winpe3? OR it doesnt load pnp drivers? plz keep in mind, everything which doesnt work on win7 setup, worked on vista very well!

please help me out, otherwise I m planning use winpe2 to setup win7, but then I have to copy many files from winpe3 to winpe2 which are needed to setup win7 ( like unattended setup reference library..etc ).

waiting for some replies :)

EDIT:

Weird! See, what isnt working is

"X:\setup /unattend:answer.xml" < this setup not detecting any drives!!

Now, I tried following ( Below "D" letter is of DVD drive containing windows7 setup DVD )

"D:\setup /unattend:answer.xml" < IT WORKED!

So I thought there must be some files missing in "sources" directory of boot.wim , so I copied all files from DVD's "sources" directory to boot.wim's "Sources" directory, also copied setup.exe from DVD to boot.wim but still same problem!!! However setup.exe from DVD works fine!!

while in vista everything is working fine even if setup.exe called from WINPE!!

p.s. as for now ,I have managed to get it working setting variable for DVD drive, but I still have question! why microsoft did this stupid thing?

Edited by amit_talkin
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...