Rearm Wizard - The Premier Rearm Solution for Windows 7 and Office 2013

Discussion in 'MDL Projects and Applications' started by timesurfer, Mar 27, 2013.

  1. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    #1141 timesurfer, Mar 21, 2014
    Last edited by a moderator: Apr 20, 2017
    (OP)
  2. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,093
    24,397
    340
    Yay, you got my point :good3:. And no, i like the idea of cutting the theming stuff off, so no intention to put it back :cool2:. Let's challenge the rest to get working.

    Got my stuff handled, so my mind is open now. Will give it a look after some sleep. After all that laughter in some thereads here, i' m a bit exhausted :cool2:.

    Looks promising so far. Still the messages are kind of PITA to get them working mostly disguised.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    #1143 timesurfer, Mar 22, 2014
    Last edited by a moderator: Apr 20, 2017
    (OP)
  4. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,093
    24,397
    340
    Let's talk (better call it tomorrow) later :D. Getting the Check.bat write part at least mostly working was driving me mad (at least it tried).

    We should break a moment to gather the needed/wished features, then laugh a moment about, then check, what could be realized for the widest variety of systems available (the plan Windows Loader seems to follow - still only silent and devoted respect for that ingenious Masterpiece - CHAPEAU!!!!!!).

    Next would be to get the rearm/restore rearm count part working.

    Last: Serve public interests/wishes.

    Otherwise it will stay in a state of latent CHAOS, i fear :cool2:.

    Take my thoughts as a start for a little brain storm .... a little push. Sometimes one gets routine-blinded, when being involved too long and too intense. Needs a moment to step back and look behind, but to the whole thingie :cool2:.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    #1145 timesurfer, Mar 22, 2014
    Last edited by a moderator: Apr 20, 2017
    (OP)
  6. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    #1146 timesurfer, Mar 24, 2014
    Last edited by a moderator: Apr 20, 2017
    (OP)
  7. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    #1147 timesurfer, Mar 24, 2014
    Last edited by a moderator: Apr 20, 2017
    (OP)
  8. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    #1148 timesurfer, Mar 24, 2014
    Last edited by a moderator: Apr 20, 2017
    (OP)
  9. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    #1149 timesurfer, Mar 24, 2014
    Last edited by a moderator: Apr 20, 2017
    (OP)
  10. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    #1150 timesurfer, Mar 25, 2014
    Last edited by a moderator: Apr 20, 2017
    (OP)
  11. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    #1151 timesurfer, Mar 25, 2014
    Last edited by a moderator: Apr 20, 2017
    (OP)
  12. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,093
    24,397
    340
    Although activation via WMI is very sophisticated, i believe there lies the problem here.

    In my tests using the "where version='%ver%'" phrase was not reliable. Tested this while recreating my JATD tool and at least i handle it now like KMS_VL_ALL does, with "where ID='%SKU-ID%'".

    Might be a good idea to use slmgr.vbs instead, like the old ream concept did.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    What boggles my mind is the same exact code on the regular install works perfect every time and the reinstall is the exact same :eek:
     
  14. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    Ok so I switched the install IR7.bat with the reinstall IR7.bat and it works

    Had to compare with notepad++

    Difference is space at end of reinstall IR7.bat lines of code

    Install IR7.bat has no space at end of lines of code

    Solution?
     
  15. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,093
    24,397
    340
    What space and where? In a generated variable?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,093
    24,397
    340
    Similiar problem appeared in the old script, when writing the stuff the second time. A space was added in a variable, which made the process break at this point :g:.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    #1157 timesurfer, Mar 26, 2014
    Last edited by a moderator: Apr 20, 2017
    (OP)
    I removed the space in between nested writes and it works now

    From

    Code:
    echo echo FOR /F "tokens=2 delims==" %%%%%%%%A in ('wmic path SoftwareLicensingService get version /format:list') do set ver=%%%%%%%%A^>^>%%systemdrive%%\IR7.bat >>%SystemDrive%\Trial\IR7\IR7.bat
    To

    Code:
    echo echo FOR /F "tokens=2 delims==" %%%%%%%%A in ('wmic path SoftwareLicensingService get version /format:list') do set ver=%%%%%%%%A^>^>%%systemdrive%%\IR7.bat>>%SystemDrive%\Trial\IR7\IR7.bat
    Works now, some other stuff also might need that removed and I'll get to it tonight otherwise hoping to start testing soon the reinstall/uninstall msgbox's
     
  18. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    #1158 timesurfer, Mar 27, 2014
    Last edited by a moderator: Apr 20, 2017
    (OP)
  19. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    #1159 timesurfer, Mar 27, 2014
    Last edited by a moderator: Apr 20, 2017
    (OP)
  20. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,093
    24,397
    340
    Yep, seems the IR7.bat, written to Trial folder isn't working properly. Testing atm.

    Looks like there is a problem with pathes, as the script is looking for the IR7.vbs, which is in the Trial folder, at %temp% location, and obviously doesn't find it there.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...