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

    Carlos Detweiller Emperor of Ice-Cream

    Dec 21, 2012
    6,767
    7,704
    210
    o_OThat whole stuff (desktop blackening etc.) is done with a considerable delay, sometimes. Partly because some services are on Delay Start, and the Genuine check tasks may start with some delay, too.

    This whole situation may lead to a race condition, actually.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    #362 timesurfer, Apr 23, 2013
    Last edited by a moderator: Apr 20, 2017
    (OP)
  3. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,093
    24,397
    340
    Why is there two times a part for writing Check.bat? Also the VB-Script generation part isn´t written to Check.bat so far :hmm:.

    It won´t work to use %file% variable for check.bat, as it´s used for writing IR6.bat in VBS section.

    Problem here, as far as i see, is that part of the code will be writteh 3 times. Kind of an INCEPTION-Scenario in a batch script :D. Duality writes to Check.bat which writes to IR6.bat which writes to VBS file :cool2:. Getting dizzy here while reconcidering this :suicide:.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,093
    24,397
    340
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,093
    24,397
    340
    Unfortunately, you´re wrong here, it should be written once, then is started by the two scheduled tasks.

    Also it´s not needed to copy Check.bat from inside Check.bat code, as it´s only deleted by IR6Uninstall and will be created by IR6Install every time again.

    Would also recommend to keep the write part seperately to not mess with Duality as long as it isn´t working as we wish. Problem are still the parts where code is written three times, to get all variables written correctly, when code does it at lest the third time :hmm:.


    EDIT:... thread is: Hot Thread on front page :D.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,093
    24,397
    340
    Yeah...is still my refernce for the reworked version :D. Would be good to test my Check.bat thoroughly.

    Will work further then on trying to get it written ... :tea:. But tomorrow, will watch some TV, to let my brain idle for now.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    Can you lay out test steps and how to test?

    I'll do that with check.bat tonight

    Thanks
     
  8. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,093
    24,397
    340
    Testing myself in Win 7 Pro VMware machine with two snapshots:


    1. in initial grace with 5 Rearms to test the backup and via forwarding time the rearm/restore
    2. in notification with 0 Rearms to test reinstall of IR6

    So in case something gets borked, i can revert to a reference point, to get results without being affected by previous errors. Then simply running Check.bat several times...:cool2:.



    EDIT: After forwarding time open system pane and klick on the hyperlink, which is nagging to activate today and the theme will change and you get black background.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,093
    24,397
    340
    #371 s1ave77, Apr 24, 2013
    Last edited by a moderator: Apr 20, 2017
    Yay...at least solved my challenge on how to escape escape-chars when writing code 3 times in this INCEPTION :D

    In case
    Code:
    ^>^>%%dl%%\installkey.bat
    should be written to a file, correct code would be:
    Code:
    ^^^>^^^>%%%%dl%%%%\installkey.bat
    That way code is looking hieroglyphic :cool2:.

    Will try now to get the writing part done...hopefully without getting mad :D.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. qewlpal

    qewlpal MDL Addicted

    Jun 25, 2010
    575
    2,014
    30
    #372 qewlpal, Apr 24, 2013
    Last edited by a moderator: Apr 20, 2017
    Nice job s1ave77, I must say Well Done with your continuous persistence with finding solutions to crack this inception, I am sure you will come out as an expert at the end of this development tunnel :cheers:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,093
    24,397
    340
    Sometimes the timespan between reading and understanding what you read can be annoyingly long :D. Still trying to shorten it.

    And yep, i definitly learned a lot new stuff over the last weeks :good3:.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. Humphrey

    Humphrey MDL Expert

    Dec 13, 2011
    1,455
    989
    60
    Fun part will be rewriting it to get ride of redundancies, misspellings, etc.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream

    Dec 21, 2012
    6,767
    7,704
    210
    You know you still have my spiritual support. :worthy:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    We're almost at top of Hot threads section :eek:

    How can I test 0 rearms with days left if I don't wait 30 days?

    Kinda busy guys, can someone else test?

    Thanks

    TS

    p.s. What's the situation with the restore

    Can someone reiterate if that is 100% or what bugs are present
     
  15. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    @S77

    Can you post your batch stuff to go directly to function without pressing enter?

    Thanks
     
  16. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,093
    24,397
    340
    What do you mean? Choice in a menu?
     
    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
    Yea, word on the streets is you got some code to skip a step in executing function

    :worthy: S77
     
  18. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    Just figured this whole confusion of the 3 checks in D420

    I was thinking that we deleted check.bat and IR6 folder (but since IR6 folder and check are static) thus an extra one to place in new IR6 folder was necessary which it would have been if IR6 folder with check inside wasn't left

    So we're just going to leave IR6 and check within it when installing from check via msg

    Thanks for tolerating my ideas and way of thinking...

    I was right but your way is better and simpler again :weep:

    Go ahead and do WMIC IORRT rearm check, instead of doing rearm to get error or not to determine if 1 rearm is present for IORRT install :suicide:...lol

    :worthy: