Wanted Key-Cert-Branding Project

Discussion in 'Windows 7' started by Suicide Solution, Oct 20, 2009.

  1. nononsence

    nononsence MDL Addicted

    Aug 18, 2009
    806
    826
    30
    #81 nononsence, Oct 23, 2009
    Last edited by a moderator: Apr 20, 2017
    yeh didnt relize it was true or false
     
  2. PAYMYRENT

    PAYMYRENT MDL Developer

    Jul 28, 2009
    1,460
    420
    60
    no matter how many times i try and edit the code i posted it wont change it :mad:
     
  3. nononsence

    nononsence MDL Addicted

    Aug 18, 2009
    806
    826
    30
    #83 nononsence, Oct 23, 2009
    Last edited by a moderator: Apr 20, 2017
    i added this which helps

    If line.Contains(",") = False Or line = String.Empty Then
    a junkie keys.ini
     
  4. PAYMYRENT

    PAYMYRENT MDL Developer

    Jul 28, 2009
    1,460
    420
    60
    #84 PAYMYRENT, Oct 23, 2009
    Last edited: Oct 23, 2009
    thats kinda how my program decides what format it is using the csv type or the one im using with the "|"
     
  5. nononsence

    nononsence MDL Addicted

    Aug 18, 2009
    806
    826
    30
    #85 nononsence, Oct 23, 2009
    Last edited: Oct 23, 2009
    I added key length check
    and a comma count

     
  6. PAYMYRENT

    PAYMYRENT MDL Developer

    Jul 28, 2009
    1,460
    420
    60
    #86 PAYMYRENT, Oct 23, 2009
    Last edited by a moderator: Apr 20, 2017
    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 :p

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

    nononsence MDL Addicted

    Aug 18, 2009
    806
    826
    30
    #87 nononsence, Oct 23, 2009
    Last edited by a moderator: Apr 20, 2017
    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.
     
  8. PAYMYRENT

    PAYMYRENT MDL Developer

    Jul 28, 2009
    1,460
    420
    60
    #88 PAYMYRENT, Oct 23, 2009
    Last edited by a moderator: Apr 20, 2017
  9. noyod

    noyod MDL Member

    Jul 19, 2009
    239
    3
    10
    @ PAYMYRENT

    What's the score with the development of this application? Not prodding, just asking.
     
  10. noyod

    noyod MDL Member

    Jul 19, 2009
    239
    3
    10
    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.
     
  11. PAYMYRENT

    PAYMYRENT MDL Developer

    Jul 28, 2009
    1,460
    420
    60
    that sounds good to me im changing a couple things right now so ill pm you when im done
     
  12. noyod

    noyod MDL Member

    Jul 19, 2009
    239
    3
    10
    OK, i got the zipped file. Thanks.
     
  13. PAYMYRENT

    PAYMYRENT MDL Developer

    Jul 28, 2009
    1,460
    420
    60
    #94 PAYMYRENT, Oct 25, 2009
    Last edited: Oct 25, 2009
    when im able to ill give you +1 rep but it says i cant for the next 24 hours

    Edit:

    it worked that time
     
  14. HeresJohnny

    HeresJohnny MDL Novice

    Aug 6, 2009
    17
    0
    0
    PayMyRent, how are things going on this? It looks like something that would be of use to me.
     
  15. Hazar

    Hazar MDL Guru

    Jul 29, 2009
    2,507
    456
    90
    I'm currently rewriting 911medic's script to autodetect the cert key and OS, will post it when its done
     
  16. nononsence

    nononsence MDL Addicted

    Aug 18, 2009
    806
    826
    30
    #97 nononsence, Oct 28, 2009
    Last edited by a moderator: May 23, 2017
  17. Brainsuck

    Brainsuck MDL Addicted

    Oct 9, 2009
    676
    157
    30
    #98 Brainsuck, Oct 28, 2009
    Last edited by a moderator: May 23, 2017
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. Suicide Solution

    Suicide Solution MDL Addicted

    Apr 29, 2008
    534
    2,004
    30
    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.
     
  19. spkleader

    spkleader MDL Senior Member

    Oct 13, 2009
    287
    86
    10
    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.

    :rolleyes: