Trilogy 4.2

Discussion in 'MDL Projects and Applications' started by timesurfer, Feb 11, 2011.

Thread Status:
Not open for further replies.
  1. Alphawaves

    Alphawaves Super Moderator/Developer
    Staff Member

    Aug 11, 2008
    6,251
    22,366
    210
    .. :shisha: ..
     
  2. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
  3. Alphawaves

    Alphawaves Super Moderator/Developer
    Staff Member

    Aug 11, 2008
    6,251
    22,366
    210
    TS what you looking for in this test ? :)
     
  4. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    What is difference in function. Cause my IR4 was hardcoded little but then Calistoga said maybe that is problem but I don't think so just want to clarify they both work. I used both and they both worked on my Ultimate 32 bit with C local drive
     
  5. Alphawaves

    Alphawaves Super Moderator/Developer
    Staff Member

    Aug 11, 2008
    6,251
    22,366
    210
    #25 Alphawaves, Feb 15, 2011
    Last edited by a moderator: Feb 15, 2011
    I may be well out here but are talking of C:\ %systemroot%
     
  6. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    I'm saying that where C:\ was I put %SystemDrive% but it might have screwed it up cause no matter what C:IR5 always worked even if local drive was D or E

    So basically for IR5 3.2 only I made change cause calistoga.
     
  7. Alphawaves

    Alphawaves Super Moderator/Developer
    Staff Member

    Aug 11, 2008
    6,251
    22,366
    210
    #27 Alphawaves, Feb 15, 2011
    Last edited by a moderator: Feb 15, 2011
    How about %windir% ?
     
  8. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    I'm not looking for another envirnmental variable I could use testers for both .cmd files. Both work for me ;) and MD would have changed it if it was problem but both .ahk and .bat IR4 work with semi-hardcoded
     
  9. Alphawaves

    Alphawaves Super Moderator/Developer
    Staff Member

    Aug 11, 2008
    6,251
    22,366
    210
    TS i wish i was an advanced coder and could help you, but im not..:eek:
     
  10. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    #30 timesurfer, Feb 15, 2011
    Last edited: Feb 15, 2011
    (OP)
    lol...I don't need advanced person just tester person :p...lol

    Try the hard-coded first confirm then uninstall and try non-hard-coded confirm then uninstall and return to previous life scenarios :shisha:
     
  11. Alphawaves

    Alphawaves Super Moderator/Developer
    Staff Member

    Aug 11, 2008
    6,251
    22,366
    210
  12. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    Remember to use Status option of which you'll see task and full rearm reset to 4 rearms 30 days unless you got SP1 then you'll get 5 rearms 30 days

    So really I'm only looking for full reset of rearms. That is the only thing that ever failed rarely and I want to see what non-hardcoding did to IR5 even though hardcoding always works with GUI IR4 3.1

    And please state what OS and architecture you got

    Thanks
     
  13. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
  14. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    #34 timesurfer, Feb 15, 2011
    Last edited by a moderator: Apr 20, 2017
    (OP)
  15. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    #35 timesurfer, Feb 15, 2011
    Last edited by a moderator: Apr 20, 2017
    (OP)
    How bout this...lol

    Code:
    :RearmIR5
    CLS
    schtasks /create /tn "IR5" /tr "'%SystemDrive%\Windows\system32\cmd.exe' /c cscript.exe /b %SystemDrive%\Windows\System32\slmgr.vbs /rearm && net stop sppsvc && net start sppsvc" /sc daily /mo 30 /ru "" /f  >NUL
    cscript.exe /b %windir%\system32\slmgr.vbs /rearm
    if errorlevel==1 goto Next
    net stop sppsvc >NUL
    net start sppsvc >NUL
    echo Rearm completed successfully...
    ping -n 5 127.0.0.1 >nul
    GOTO Start
    :Next
    echo No rearms detected... You must reinstall IR5...
    ping -n 5 127.0.0.1 >nul
    GOTO Start
     
  16. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    #36 timesurfer, Feb 16, 2011
    Last edited by a moderator: Apr 20, 2017
    (OP)
  17. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    #37 timesurfer, Feb 16, 2011
    Last edited by a moderator: Apr 20, 2017
    (OP)
  18. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    Anyone know how to check if entry exists in hosts file and can do error check regarding entry there or not?

    Thanks :shisha:
     
  19. SupremoPhantom

    SupremoPhantom MDL Novice

    Sep 4, 2010
    34
    61
    0
    awesome work there. :)
     
  20. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    Thanks :shisha: