Jump to content











Photo
- - - - -

Is it possible to run an application in unmodified 'boot.wim' environment using Autounattend.xml ?

autounattend.xml boot.wim application

  • Please log in to reply
7 replies to this topic

#1 devdevadev

devdevadev

    Silver Member

  • Advanced user
  • 540 posts
  •  
    India

Posted 01 April 2017 - 01:32 AM

I want to run 'InstallWhim.exe' in the WinPE Startup. But I don't want to edit 'Winpeshl.ini' or 'startnet.cmd' to run an application. is it possible to run 'InstallWhim.exe' (which is located in the root of USB Drive) at the starting of 'boot.wim' environment using 'Autounattend.xmll' or 'unattend.xml' ?


  • genetix likes this

#2 steve6375

steve6375

    Platinum Member

  • Developer
  • 7566 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films
  •  
    United Kingdom

Posted 01 April 2017 - 08:25 AM

Yes - but only if the USB drive is a removable drive and the WinPE that you are booting to runs WPEInit.exe (which vanilla MS boot.wims do).



#3 devdevadev

devdevadev

    Silver Member

  • Advanced user
  • 540 posts
  •  
    India

Posted 01 April 2017 - 09:31 AM

Any sample 'Autounattend.xml' to run 'USB:\support\InstallWhim.exe' in 'boot.wim' environment ?

 

Is it must to use 'Winpeshl.ini' method if I want to run an application (located in USB) in 'boot.wim' environment ?



#4 steve6375

steve6375

    Platinum Member

  • Developer
  • 7566 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films
  •  
    United Kingdom

Posted 01 April 2017 - 09:36 AM

If you run Easy2Boot and a Windows 8/10 Install ISO - boot it to Setup and then look at the \AutoUnattend.xml file on the E2B USB drive, you will see an example of how to run a .cmd file from an unmodified ISO/boot.wim.



#5 genetix

genetix

    Frequent Member

  • Advanced user
  • 132 posts
  •  
    Finland

Posted 01 April 2017 - 07:12 PM

This sounds curious. You actually can run executable thru setup.exe or thru autounattended.xml?



#6 steve6375

steve6375

    Platinum Member

  • Developer
  • 7566 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films
  •  
    United Kingdom

Posted 01 April 2017 - 07:15 PM

WinPE runs WPEInit.exe which looks for a XML file on Removable media.

If you have the XML file on a Removable USB flash drive and it has the correct Run section, then you can make boot.wim run anything.

See http://www.easy2boot.../how-e2b-works/ and the Vista/7/8/10 section.



#7 devdevadev

devdevadev

    Silver Member

  • Advanced user
  • 540 posts
  •  
    India

Posted 01 April 2017 - 07:18 PM

WinPE runs WPEInit.exe which looks for a XML file on Removable media.

 

Does it only look for XML file with 'Autounattend.xml' name ?



#8 genetix

genetix

    Frequent Member

  • Advanced user
  • 132 posts
  •  
    Finland

Posted 01 April 2017 - 07:21 PM

Does it only look for XML file with 'Autounattend.xml' name ?

 

Well, according to microsoft it looks for "Unattended.xml" and "Autounattended..xml" (there's a media version xml also at windows 10 and some WDS xml from "source\"-path).







Also tagged with one or more of these keywords: autounattend.xml, boot.wim, application

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users