Trilogy 4.2

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

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

    timesurfer MDL Developer

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

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    #282 timesurfer, Mar 1, 2011
    Last edited: Mar 1, 2011
    (OP)
    Oops that one sucks just junk it other coming soon...lol

    Done...

    See first post :shisha:
     
  3. yoona2010

    yoona2010 MDL Novice

    Feb 27, 2011
    4
    0
    0
    I uninstalled IR5 and then re-installed it. First time around I didn't explicitly tell it to run as admin - because I was running from admin account with no UAC. So this time around I specifically told it to by rightclicking in total commander - it gave me the error message to run it in admin xD
    Anyways - not giving up, I made a shortcut to desktop and tried to mark "run as admin" in the shortcut properties - but to no avail, because the option is greyed out with admin login + no uac. Anyways I proceeded again with normal execution of the install file and magically it passed by and automatically rebooted, then went into RE where I executed the IR5 batch file and it rebooted once more into win7 where I got a script notice about windows activation.

    I did a short little checkup, and it says I now have 30 days again, with 5 re-arms. So everything looks like it's working properly after a few tries.

    Just to be sure, there's no steps I accidently missed? I was under the impression that there was certain instructions to follow after running the batch file in RE - but after the command prompt - I just ran the batch file from C:\ root and it restarted - normal yeah?

    Cheers and thanks for your time~
     
  4. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    #284 timesurfer, Mar 1, 2011
    Last edited: Mar 2, 2011
    (OP)
    Looks like you installed it correctly
     
  5. Ipmark

    Ipmark MDL Expert

    Jul 29, 2009
    1,595
    422
    60
    #285 Ipmark, Mar 2, 2011
    Last edited: Mar 2, 2011
    Using the tool in an italian system, there is a little bug in IR5 Status section
    must be changed in
    otherwise, the commands do not work.
    I think it happen in all languages except english one ....


    ;)
     
  6. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    Are you sure. Then it won't work in english...lol I thought all words in the language that windows was written was in english. I dunno but to change to every language sounds not like the answer

    Did you run as administrator?
     
  7. Ipmark

    Ipmark MDL Expert

    Jul 29, 2009
    1,595
    422
    60
  8. Ipmark

    Ipmark MDL Expert

    Jul 29, 2009
    1,595
    422
    60
    #289 Ipmark, Mar 2, 2011
    Last edited: Mar 2, 2011
    I do not want this :) , You have already done enough
    I just wanted to let you know
    Maybe there is another way (I don't know) to call those functions in a generic way, the same in all languages ....

    ;)
     
  9. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    Thanks I just don't know what to do. Is there a variable for languages that could be put into Trilogy as to those status stuff and other stuff gets the right language?

    I'm glad that it's open source so guys like you can have working Trilogy that you can understand in your language

    Take care
     
  10. tosbsas

    tosbsas MDL Junior Member

    Jan 6, 2011
    69
    10
    0
    those screens are all gone

    Which line do we need to translate?
     
  11. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    #292 timesurfer, Mar 2, 2011
    Last edited by a moderator: Apr 20, 2017
    (OP)
    I don't think we're going to do anything to Trilogy. People can just use
    Code:
    slmgr /dlv
    to see stuff. The install/uninstall choices will also tell you if task is installed :worthy:
     
  12. tosbsas

    tosbsas MDL Junior Member

    Jan 6, 2011
    69
    10
    0
    ok, again - I trust your word on this, as I am on a german enterprise
     
  13. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    Does status work for you?

    Screenshot
     
  14. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
  15. Win7_User

    Win7_User MDL Novice

    Nov 22, 2010
    29
    7
    0
    #297 Win7_User, Mar 3, 2011
    Last edited by a moderator: Apr 20, 2017
    Internationalizing Trilogy!

    @timesurfer: Ipmark is right, many commands are language-sensitive, so you can mention somewhere in the first post that this batch file is for English language Windows only, and other language users will need to edit it accordingly. No-one's expecting you to create a multi-language version obviously. But maybe you can allow others to upload and link to user-edited language-specific versions of Trilogy? That way people won't have to keep repeating the same edits every time.

    @Ipmark: There's no way a batch file can automatically use the local system language. You'll have to edit it and add your own strings. If you want to make it really generic, you can use this code:

    Code:
    @echo off
    cls
    set LangKey="HKEY_CURRENT_USER\Control Panel\International"
    for /f "tokens=3" %%l in ('reg query %LangKey%  ^| find /i "sLang"') do set Language=%%l
    if %Language:~0,2%==EN echo System language is English (%Language%)! & goto :EOF
    echo System language (%Language%) is not English!
    pause
    
    But obviously, with such a complex file and so many supported Windows languages, it'll be silly to add all the strings to the file. Better to just edit as per your language and use it.

    P.S. @timesurfer: Besides mentioning in the first post that this batch file is for English language Windows only, why not use the above code at the beginning to automatically make Trilogy exit with an "unsupported, please edit strings to localize" note if the system language is not English?

    P.P.S. @Ipmark: Can you try the above code (save as Lang.bat or something in Notepad and run it) and let us know if it works, and what the output is? I just want to check if the registry key is same, 'cos if so, timesurfer can use it in Trilogy as I mentioned above.
     
  16. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    #298 timesurfer, Mar 3, 2011
    Last edited by a moderator: Apr 20, 2017
    (OP)
    Well first we gotta know all the places my code doesn't coincide with other languages? IR5 status may not be the only place. Second I have no problem posting other language versions but with only one complaint and he actually fixed it for myself I'm tempted to leave it alone

    Truth is it still shows task time. And if comp is on task will run. And if you miss task and your in notifications windows will give you watermark then just click rearm

    I think it's fine

    Any other comments?
     
  17. Win7_User

    Win7_User MDL Novice

    Nov 22, 2010
    29
    7
    0
    The point I was trying to make is, it's not important to know where the file fails due to change in language. The thing is, it does fail, so it won't run completely as expected without editing/localization. So I was just suggesting that to prevent possible issues due to part of the batch file running and part failing, why not detect the system language at the beginning itself and exit if the language is not English? Just some error checking, that's all. What do you think? (I've just added it to my copy anyway. :))
     
  18. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    I think exiting just cause status is partially incomplete is extreme. I'm going to let user use is as installing is what it important. Again if your in notifications you'll get watermark and I have that instruction in instructions. I guess one by one we could just add languages in first post as they come. It's not so much a failure but just incomplete

    Would be easier if we found all Trilogy language conflicts then do variables that place correct language in status

    But for now I just want to finish english version

    Is the IORRT status also incomplete in italian