Jump to content

Winbom.ini and WinPE


pauledavey

Recommended Posts

OK, one further question on PE.

I want to have setres.exe run with the following syntax:

x:\tools\setres\setres.exe h800 w600 b24

Then I want the following command run:

X:\HTA_Page\Index.hta

I put them in the winbom.ini section but it doesn't work. Can any of you guys show me how you have run apps etc on startup. I do not want to have to copy the files somewhere just have them run as shown above.

Many thanks in advance

Paul

:D

Link to comment
Share on other sites


Depending on what you are building Windows PE from, you may hit an error with that command - a security bug. Try running MSHTA.exe with the full path to the HTA file (meaning you aren't asking Windows to discern who owns the HTA file extension) and it should work.

Link to comment
Share on other sites

If I put them in there it doesnt work - If I add them to the oc2.bat file they do... strange  :wacko:

Are you getting the startnet.cmd file that you want?

Make sure that your edited startnet.cmd file is actually making it to the ISO image. I have seen some forget to copy the new startnet file to the WINPE directory before compiliing the CD.

Chris

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...