thats kinda how my program decides what format it is using the csv type or the one im using with the "|"
alright heres how i did it for my version sorry for code comments im working on repairing the brand and os version parts of the string and thats just the begining of the reconstuction for the key Code: Dim brand As String brand = String.Empty Dim key As String key = String.Empty Dim os As String os = String.Empty Dim s As Integer = 0 s = line.IndexOf("|") Dim l As Integer l = line.LastIndexOf("|") brand = line.Substring(0, s) key = line.Substring(l + 1) If key.Length < 29 Then Dim r As Integer r = line.IndexOf("|", s + 1) key = line.Substring(r + 1) MsgBox(key) ' And key.Contains("|") = True And key.Contains(",") = True Then ' key = key.Replace("|", "") ' key = key.Replace(",", "") ' ElseIf key.Length > 29 And key.Contains(",") = True And key.Contains("|") = False Then ' key = key.Replace(",", "") ' ElseIf key.Length > 29 And key.Contains("|") And key.Contains(",") = False Then ' key = key.Replace("|", "") End If
Im just ignoring bad lines, if the user screwed up that bad the key probably wont work anyway I used the same split and count on the key, that i did on the whole line.
Thanks for the info. Yeah, definitely i would be interested to have a hands-on of the current iteration to see how it looks and feel. Maybe, i could test also all the working routines as of now. So please pm me the dl link. Thanks.
when im able to ill give you +1 rep but it says i cant for the next 24 hours Edit: it worked that time
I'm currently rewriting 911medic's script to autodetect the cert key and OS, will post it when its done
Thanks guys..when everyone has them completed they all will be given a chance to be used so no worries about one being picked over another ,etc they all will be available.
Howdy everyone! I still have to understand how medic's OEMBIOS works. I guess the same method can be used to auto-brand/cert. W7... If only he could setup a envoirement variable, then the own .cmd from windows installer would retrieve it and apply the necessary changes. No need for external programs other than OEMBIOS.EXE Again, like I said before... I still have to understand how OEMBIOS works.