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
    #1301 timesurfer, Apr 11, 2014
    Last edited by a moderator: Apr 20, 2017
    (OP)
  2. Humphrey

    Humphrey MDL Expert

    Dec 13, 2011
    1,455
    989
    60
    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
    In humble reconsideration, I have re-read the entire Duality 420/RW thread and wanted to re invite Carlos into the RCS due to his ongoing support either in destroying his VM's time and time again or cause during my solo development he said thanks when no one else was helping or supporting my efforts

    Yes, I always saw your thanks when no one else was and that goes to show the genuine spirit I always wished to be a part of this project...

    Carlos your an amazing tester/troubleshooter and I appreciate all your work on my most in depth concept the check.bat concept which does automatic rearming and backup/restoration of theme. Without your help such endevours as the The Rearm Concept would have not been possible and s1ave77's brain would not be functioning at all if you weren't there to troubleshoot and give your expert advice

    Your invite to The Rearm Concept Group (RCSG) is in the mail :)

    :worthy: Carlos Detweiller
     
  4. Yen

    Yen Admin
    Staff Member

    May 6, 2007
    13,101
    14,047
    340
    Again..drama, this time from the older past.....:rolleyes:

    We've got complaints, rightly! I don't reply for fun here and this is my last.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream

    Dec 21, 2012
    6,762
    7,694
    210
    Those times were fun. Unfortunately, sometimes there's this pesky thing called real life.

    I don't have as much time as I did have in the past. Time, the most precious resource of all. Regarding your nickname, couldn't you do something about this? :p

    What editions/SKUs do require testing?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    As usual from the "older past" to the "newer future" you can't admit when you are wrong

    Cause if you had actually read my post, you'd see where I stated what really transpired as opposed to your predisposition based, biased, demonizing opinion of me...

    I did everything right dealing with Compo then he started up and moderation didn't intervein to tell him that my requests we're specific and that he should offer what is requested or not help but you support others wanting to take control of developments that aren't even theirs than the actual developer him/herself projects. Like a broken record some things will never change with you :rolleyes:...lol

    Like I was trying to say these past 5 years, your still scapegoating onto the innocent and never dealing with who/whom starts conflicts and your growth as spirit is stuck there...

    For there shouldn't be a need for sacrifices in an infinite universe :)

    @MDL

    The development is now over for good as far as I can see and I don't foresee any installation/reinstallation problems due to the MS RE Local Drive Letter Switching Problem and the Product Key installation failure as we switched reg runonce for task so I think it's pretty fool proof in relation to installation factors

    I removed some extra code not needed in IORRT and cleaned up code regarding function readability

    I think I have, with the help of my "staff", done the best I can with inheriting the The Rearm Concept and accomplishing all it's design and development goals

    Thus troubleshooting should be just about Office 2013 having one rearm available so IORRT can install and W7 not being borked so IR7 can install

    This is an achievement through my perspective

    And this project deserves it's own Sub Forum whether it receives it or not!!

    Take care everyone and above all have fun...

    :shisha:
     
  7. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream

    Dec 21, 2012
    6,762
    7,694
    210
    Is the Theme Restore code still in? Because if it's not then I can test any SKU, doesn't matter which one...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    For HP, Pro, Ulitmate and enterprise it is

    Starter/HB theme support has been dropped

    Check out the code it's pretty simple now regarding my check.bat concept which by the way is IR7.bat now...

    Thanks for your support

    TS
     
  9. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream

    Dec 21, 2012
    6,762
    7,694
    210
    I decided to start with Starter, nonetheless; at least at a basic level (-Themes/Wallpaper) the concept should still work, right?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. timesurfer

    timesurfer MDL Developer

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

    Humphrey MDL Expert

    Dec 13, 2011
    1,455
    989
    60
    #1312 Humphrey, Apr 12, 2014
    Last edited by a moderator: Apr 20, 2017
    Here is a old theme test batch file.

    Code:
    @echo off
    
    REM Unknown to be needed
    setlocal ENABLEEXTENSIONS
    
    REM Unused line
     rem echo. >>%IR6backup%\IR6Bkup.theme
    
    REM Creates System Environment Variable (IE run > ir6backup > enter)
     SETX IR6backup "%SystemDrive%\Rearm\Backup" >nul
    
    REM Caputres the value of the key that states which theme is currently applied.
    set KEY_NAME=HKCU\Software\Microsoft\Windows\CurrentVersion\Themes
    set VALUE_NAME=CurrentTheme
    for /F "usebackq tokens=3" %%A IN (`reg query "%KEY_NAME%" /v "%VALUE_NAME%" 2^>nul ^| find "%VALUE_NAME%"`) do (
      SET themefile=%%A
    )
    
    REM If ir6backup folder isn't found, make it.
     If not exist %IR6backup% mkdir %IR6backup% >nul
    
    Rem simple backup/restore menu made with CHOICE
    :choice
    cls
    Echo A) Back-Up Background/Theme
    Echo.
    Echo B) Restore Background/Theme
    echo.
    echo C) Exit
    Echo.
    choice /C ABC /N /M "Select one of the options above (A-C):"
    if ERRORLEVEL 3 exit
    if ERRORLEVEL 2 goto Restore
    if ERRORLEVEL 1 goto Backup
    
    
    REM Backup procedure. 
    :Backup
    
    CLS
    
    REM Copies theme file from its location to the backup folder
    REM /V Verifies the size of each new file.
    REM  /Y Suppresses prompting to confirm you want to overwrite an existing destination file.
    REM ECHO F is used to surpass the FILE or DIRECTORY prompts.
    echo F | xcopy "%themefile%" "%IR6backup%\IR6Bkup.theme" /Y /V >NUL
    
    GOTO CHOICE
    
    :Restore
    
    CLS
    REM Copies theme file from the backup folder to the correct location.
    REM /V Verifies the size of each new file.
    REM  /Y Suppresses prompting to confirm you want to overwrite an existing destination file.
    REM ECHO F is used to surpass the FILE or DIRECTORY prompts.
    echo F | xcopy "%IR6backup%\IR6Bkup.theme" "C:\Windows\resources\Themes\IR6Bkup.theme" /Y /V >NUL
    
    REM Adds the theme file to the correct registry key.(Unknown to be required)
    reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Themes"  /t  REG_SZ /v CurrentTheme /d "C:\Windows\resources\Themes\IR6Bkup.theme" /f >NUL
    
    REM "Applies" theme to user environment. 
    %IR6backup%\IR6Bkup.theme
    
    
    GOTO CHOICE
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream

    Dec 21, 2012
    6,762
    7,694
    210
    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
    #1315 timesurfer, Apr 13, 2014
    Last edited by a moderator: Apr 20, 2017
    (OP)
  14. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    These people lead secret lives :eek:...lol
     
  15. timesurfer

    timesurfer MDL Developer

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

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    #1318 timesurfer, Apr 13, 2014
    Last edited by a moderator: Apr 20, 2017
    (OP)
    Also needed to alter :backup

    Code:
    echo :Backup>>%SystemDrive%\Trial\IR7\IR7.bat
    echo If %%ver%%==%%I %%J goto exit
    echo if exist "%%systemdrive%%\Trial\IR7\IR7.theme" del /s /q "%%systemdrive%%\Trial\IR7\IR7.theme" ^>nul>>%SystemDrive%\Trial\IR7\IR7.bat
    echo echo F ^| xcopy "%%themefile%%" /s /q "%%systemdrive%%\Trial\IR7" /V /Y ^>nul >>%SystemDrive%\Trial\IR7\IR7.bat
    echo ren "%%systemdrive%%\Trial\IR7\%%theme%%.theme" "IR7.theme">>%SystemDrive%\Trial\IR7\IR7.bat
    echo goto :Exit >>%SystemDrive%\Trial\IR7\IR7.bat
    Pretty sure the %%ver%% stuff is incorrect just showing where it would go :eek:...lol
     
  17. Humphrey

    Humphrey MDL Expert

    Dec 13, 2011
    1,455
    989
    60
    #1319 Humphrey, Apr 14, 2014
    Last edited by a moderator: Apr 20, 2017
    If you was thinking about rewriting this after its been finalized as it is now- I was given some code by BentonMAN (that I have seen somewhere before) that got me thinking of a easier way to have RW written.

    This code
    Code:
    if "%~1"=="" goto usage
    if "%~1"=="/?" goto usage
    if "%~1"=="-?" goto usage
    if "%~1"=="/help" goto usage
    if "%~1"=="-help" goto usage
    
    could be changed around so that the batch files that are created by RW are not needed and thusly neither is having to have this kinda stuff:
    Code:
    echo echo FOR /F "tokens=2 delims==" %%%%%%%%A in ('wmic path SoftwareLicensingService get version /format:list') do set ver=%%%%%%%%A^>^>%%systemdrive%%\Trial\IR7.bat>>%SystemDrive%\Trial\IR7\IR7.bat

    Lets say when its time to call a batch file that is needed for checking, we call for: RearmWizard.bat /CHECK and when coded properly:
    Code:
     if "%~1"=="/CHECK" GOTO :CHECK
    RearmWizard will run, jump to check and run what is need, then close.

    This will allow for the 750 lines of code to be picked through thoroughly, removing lines that aren't need, fixing lines (if any) are broke, and removing the confussion of the multiple echo's and outputting to multiple batch files.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. timesurfer

    timesurfer MDL Developer

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