Jump to content

Im back, with a new app in the works


Recommended Posts


ok, time to tease you all with another small update :D

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

hey all..

small update (shoulda done this post yesterday but forgot :P )

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 with

so 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 :P )

Link to comment
Share on other sites

Hey jdgordon :hello:

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 right

attached my unattended file. seems OK to me but.....

:whistle:

[userData]FullName="xx xx"

ComputerName="Desk_Slip"

ProductKey="xxxxx-6xxxP-Vxxx-Rxxxx-xxxx3"

OrgName=" xx xxxxx"

[GuiUnattended]

AdminPassword="*"

EncryptedAdminPassword=no

OEMSkipRegional=yes

OEMSkipWelcome=yes

TimeZone=085

[Data]

AutoPartition=1

MsDosInitiated=1

UnattendedInstall=yes

[unattended]

OemPreinstall=yes

OemSkipEula=yes

AutoActivate=no

UnattendSwitch=yes

WaitForReboot=no

Repartition=yes

TargetPath="\WINDOWS"

UnattendMode="FullUnattended"

DriverSigningPolicy="Ignore"

KeyboardLayout="United Kingdom"

Any thoughts?

:yes:

Edited by Railman5
Link to comment
Share on other sites

Can anyone say b0r3d Winnt.sif creator?

Last version I have of that is 9/22/2003

Still works though although may need to change hmmm 1 key ProductId

Edited by maxXPsoft
Link to comment
Share on other sites

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

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

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

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