jtlittl Posted June 30, 2009 Posted June 30, 2009 I upgraded my installs to run from winPE (loving it tons easier) but I have ran into one issue.I have a batch file that kicks off under winpe and it asks some questions to get the network connection and some diffrent install options (Like computer name and time zones).Before winpe I could use setini.exe to pipe in variables to the unattend.txt file for the timezone and machine name and then kick of the installation using the file.But the setini.exe will not run in winbe anyone know of another tool that will run under winpe that will write lines to a txt file under a section or header in the file so i can add the timezone under the GuiUnattended section and the machine name under the UserData section?Thanks.yeah i could have the bat file create the whole file but why I only need to add these 2 variables to a pre built file.
leen2 Posted June 30, 2009 Posted June 30, 2009 use vbscript to read the file into a variable, then search and replace the text you need within the variable and write out the variable as a text file again.
jaclaz Posted June 30, 2009 Posted June 30, 2009 Wouldn't Fedit do?Check these:http://www.msfn.org/board/index.php?showtopic=51337http://www.msfn.org/board/index.php?showtopic=48200jaclaz
jtlittl Posted June 30, 2009 Author Posted June 30, 2009 Awsome thanks i am deff going to check out Fedit, but before you posted I just ran accross this one works really slick to.http://www.safe-install.com/programs/replace-exe.html
jaclaz Posted July 1, 2009 Posted July 1, 2009 (edited) Well, for a "general search and replace" tool the "reference app" should be gsar http://home.online.no/~tjaberg/(as opposed to "line oriented" tools like Fedit)jaclaz Edited July 1, 2009 by jaclaz
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now