thetop Posted July 5, 2005 Share Posted July 5, 2005 jdgordon: I just tried it again (bin file dated 7/5/05 10am) and it only ask me to creates the winnt.sif file and the .xml file is not updated. Link to comment Share on other sites More sharing options...
jdgordon Posted July 6, 2005 Author Share Posted July 6, 2005 oh.. oops, i misunderstood you... you want to save the new defaults to the xml file??? way to hard to do, sorry...OT.. why the heck doesnt forum subscriptions work??? Link to comment Share on other sites More sharing options...
jdgordon Posted July 6, 2005 Author Share Posted July 6, 2005 ok, time to tease you all with another small update you can now add dependancies to any item (BUT it can only depend on another item that is of the onoff/yesno/onezero type) AND you can have up to 16 dependancies for any item (might make that more if needed)add this sort of line to the xml under the <item> u want it in (works in list items aswell)<dependancy>section,item,1/0</dependancy>where section is the seciton in the sif file (eg. GuiUnattended)item is the sif item (e.g OemSkipWelcome)and 1/0 is either a 1 (yes/on/1) or 0 (no/off/0) [its the value it must be for the dependancy to work...]atm it askes you if you want to allow the change (if its needed) for each item that does need to be changed, but ive decided a new window will be better listing everything and letting you choose if you want to accept all changes or cacel it. (saying no to any of the changes no will no write the item to the sif at all (atm))the os choice is gonna a fairly big PITA to add in, but it can be done using this.. (items in the sif that arnt recognised are ignore by the setup.. right??)example of the YUCKY way to do OS dependant items....the cd key...<item> <title>Product Key (2000)</title> <summary>Type your Windows Product Key Below</summary> <section>UserData</section> <answername>ProductKey</answername> <type>text</type> <default>xxxxx-xxxxx-xxxxx-xxxxx-xxxxx</default> <dependancy>IGNORE,win2k,1</dependancy> <dependancy>IGNORE,winxp,0</dependancy> <dependancy>IGNORE,win2k3,0</dependancy></item><item> <title>Product Key (XP)</title> <summary>Type your Windows Product Key Below</summary> <section>UserData</section> <answername>ProductKey</answername> <type>text</type> <default>xxxxx-xxxxx-xxxxx-xxxxx-xxxxx</default> <dependancy>IGNORE,win2k,0</dependancy> <dependancy>IGNORE,winxp,1</dependancy> <dependancy>IGNORE,win2k3,0</dependancy></item><item> <title>Product Key (2003)</title> <summary>Type your Windows Product Key Below</summary> <section>UserData</section> <answername>ProductKey</answername> <type>text</type> <default>xxxxx-xxxxx-xxxxx-xxxxx-xxxxx</default> <dependancy>IGNORE,win2k,0</dependancy> <dependancy>IGNORE,winxp,0</dependancy> <dependancy>IGNORE,win2k3,1</dependancy></item><item> <title>OS chooser</title> <summary>pick your OS (ONE only)</summary> <type>list</type> <list> <item> <title>Win2000</title> <section>IGNORE</section> <answername>win2k</answername> <type>yesno</type> <default>no</default> </item> <item> <title>WinXP</title> <section>IGNORE</section> <answername>winxp</answername> <type>yesno</type> <default>yes</default> </item> <item> <title>Win2003</title> <section>IGNORE</section> <answername>win2k3</answername> <type>yesno</type> <default>no</default> </item> </list></item>of course.. thats not very nice coz you will be asked twice to fix dependancies.... but it should work... (just tested.. it does work)i think thats enough xml reading stuff.. now im gonna finish the rest of the program (so it can actually get the install going) Link to comment Share on other sites More sharing options...
hazard_abio Posted July 6, 2005 Share Posted July 6, 2005 sweet program and good job on the xml part as well. Link to comment Share on other sites More sharing options...
jdgordon Posted July 8, 2005 Author Share Posted July 8, 2005 hey all..small update (shoulda done this post yesterday but forgot )dont bother playing with this anymore... ive started recoding it pretty much from scratch to make it much easier to use and better, so its going to use a different xml format and it wont be able to read the old type...some quick reasons for the restart- can have items writen to the sif file that arnt on the tree- "live" dependancies (well.. if u try adding something that needs something else it will tell you then not when its writing the sif)- much easier to play withso hopefully ill have a new version up early next week you can play with (i cant wait to finish this so i can get my pe cd going again ) Link to comment Share on other sites More sharing options...
Martin Zugec Posted July 8, 2005 Share Posted July 8, 2005 Great, looking forward I must say I really like this idea and I can imagine that it could include every possible setting available for UA. Something like nLite for professional use Link to comment Share on other sites More sharing options...
Railman5 Posted July 8, 2005 Share Posted July 8, 2005 (edited) Hey jdgordon Well downloaded you little program.Yea very impressed.Worked like I thought.Ran thru the answers and thought I'd cracked the product key auto complete - but no still not working rightattached my unattended file. seems OK to me but..... [userData]FullName="xx xx"ComputerName="Desk_Slip"ProductKey="xxxxx-6xxxP-Vxxx-Rxxxx-xxxx3"OrgName=" xx xxxxx"[GuiUnattended]AdminPassword="*"EncryptedAdminPassword=noOEMSkipRegional=yesOEMSkipWelcome=yesTimeZone=085[Data]AutoPartition=1MsDosInitiated=1UnattendedInstall=yes[unattended]OemPreinstall=yesOemSkipEula=yesAutoActivate=noUnattendSwitch=yesWaitForReboot=noRepartition=yesTargetPath="\WINDOWS"UnattendMode="FullUnattended"DriverSigningPolicy="Ignore"KeyboardLayout="United Kingdom"Any thoughts? Edited July 8, 2005 by Railman5 Link to comment Share on other sites More sharing options...
maxXPsoft Posted July 9, 2005 Share Posted July 9, 2005 (edited) Can anyone say b0r3d Winnt.sif creator?Last version I have of that is 9/22/2003Still works though although may need to change hmmm 1 key ProductId Edited July 9, 2005 by maxXPsoft Link to comment Share on other sites More sharing options...
jdgordon Posted July 9, 2005 Author Share Posted July 9, 2005 Railman5: i dunno.... please dont ask for sif answers in this thread (keep it clean..) maxXPsoft: yes actually i can say b0r3d winnt.sif creator.. cant you??that needs .NET to run (doesnt it?) which isnt easy to get going on a pe cd.. Link to comment Share on other sites More sharing options...
Railman5 Posted July 9, 2005 Share Posted July 9, 2005 Well I put the query in yor thread 'cos It was your little file creator wot done it!Sorry if I bored you. some of us are still new to this. Link to comment Share on other sites More sharing options...
Martin Zugec Posted July 9, 2005 Share Posted July 9, 2005 2Railman: You are not boring, I think I can undestand JDGordon - this thread is only for developing questions... About debugging, please create new thread (JDGordon problems...) Link to comment Share on other sites More sharing options...
jdgordon Posted July 9, 2005 Author Share Posted July 9, 2005 RailMan: its not that your boring.. what Martin said, this thread is for problems with the program... if its making non working sif files then ok, but other than that, sif questinos need to go elsewhere...ok good news... with a bit of fiddling the new format is coming along nicely.. being antisocial tonight so i rekon ill get a demo going later... Link to comment Share on other sites More sharing options...
maxXPsoft Posted July 9, 2005 Share Posted July 9, 2005 You're right about the .Net and a tool do need updating.I allways Install the Net very first thing since we'll be seeing more app's needing them. Sort of like reading/writing to xml, gonna need that more and more also with Longhorn coming whenever. Link to comment Share on other sites More sharing options...
jdgordon Posted July 10, 2005 Author Share Posted July 10, 2005 this program isnt meant to be run from windows... its for winPE so .net doesnt help us..anyway.. follow the yellow brick road http://www.msfn.org/board/index.php?showtopic=50385 <--- can an admin lock this thread please? 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