pauledavey Posted December 22, 2004 Share Posted December 22, 2004 OK, one further question on PE.I want to have setres.exe run with the following syntax:x:\tools\setres\setres.exe h800 w600 b24Then I want the following command run:X:\HTA_Page\Index.htaI 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 advancePaul Link to comment Share on other sites More sharing options...
mbouchard Posted December 22, 2004 Share Posted December 22, 2004 I put any files I run into the StartNet.cmd file and have not had any problems with running anything. Link to comment Share on other sites More sharing options...
pauledavey Posted December 22, 2004 Author Share Posted December 22, 2004 If I put them in there it doesnt work - If I add them to the oc2.bat file they do... strange Link to comment Share on other sites More sharing options...
getwired Posted December 22, 2004 Share Posted December 22, 2004 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 More sharing options...
pauledavey Posted December 23, 2004 Author Share Posted December 23, 2004 I can try that, but even so setres.exe doesnt try to run either! Link to comment Share on other sites More sharing options...
ChrisBaksa Posted December 28, 2004 Share Posted December 28, 2004 If I put them in there it doesnt work - If I add them to the oc2.bat file they do... strange 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now