Complete Reinstall Steps

Discussion in 'Technical' started by rick_janson, Aug 18, 2011.

  1. rick_janson

    rick_janson Well-Known Member Pro Users

    Messages:
    1,167
    Likes Received:
    87
    Trophy Points:
    48
    There have been times when a complete reinstall has been necessary and with the new dynamic content system, it's a bit more difficult for laymen to manage -- not impossible, but more involved.

    For this reason, I wrote a quick and easy one-click complete uninstall. It checks for the dynamic content directory, executes the native uninstall, then completely removes the dynamic content. This is often helpful when some content won't update or repair fails.

    This is essentially the content of the code:

    Code:
    $prompt = MsgBox(4+48,"Remove Entropia Universe?","Do you really wish to completely remove Entropia Universe?")
    If ($prompt == 6) Then
      $remFolder = RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\MindArk\Entropia Universe","PublicUsersDataParentFolder")
      $uninstall = RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Entropia Universe","UninstallString")
      RunWait($uninstall)
      DirRemove($remFolder,1)
        MsgBox(0+64,"Success","Entropia Universe has been removed successfully!",30)
    EndIf
    It should go ahead and work on Windows XP... Though I haven't explicitly tried it in XP as yet... Both do, however, work in Windows 7 (so I'd guess Vista, too).

    It's now smaller and should work better. I've also consolidated it into a single executable that works in both 32- and 64-bit Windows.
     
    • Like Like x 1
  2. Admin

    Admin Forum Administrator Staff Member PAF Administrator

    Messages:
    1,295
    Likes Received:
    71
    Trophy Points:
    48
    Thanks mate. I think this is a good idea :)

    *moved to Technical Forum*
     
  3. rick_janson

    rick_janson Well-Known Member Pro Users

    Messages:
    1,167
    Likes Received:
    87
    Trophy Points:
    48
    Ah okay.. was having a hard time deciding where it should go.

    And thx. :)
     
  4. rick_janson

    rick_janson Well-Known Member Pro Users

    Messages:
    1,167
    Likes Received:
    87
    Trophy Points:
    48
    I've actually reworked it... A little friendlier and now has the option of removing dynamic content (checked by default).. This time I wrote it in a real compiled language instead of AutoIt's interpreted language (that's what made it so big before). So it's a lot smaller size now.

    I've updated the OP to reflect the changes.
     
  5. Cyborg Bill

    Cyborg Bill Well-Known Member Pro Users

    Messages:
    1,215
    Likes Received:
    141
    Trophy Points:
    63
    Could you give a break down of where all the files are hidden now and what folders. I have a good working set up now and want to make a back up of it all so IF the time comes I need to wipe the system again I can have it all on disk so only newest patches would be needed.
     
  6. rick_janson

    rick_janson Well-Known Member Pro Users

    Messages:
    1,167
    Likes Received:
    87
    Trophy Points:
    48
    Default Installation Directory:

    • 32-bit Systems: C:\Program Files\Entropia Universe
    • 64-bit Systems: C:\Program Files (x86)\Entropia Universe


    Default Content Directory:

    • Vista/7: C:\Users\Public\Entropia Universe
    • XP: Installation Directory

    Note: Since these can be different depending on the user's installation options, the uninstaller simply reads the information from the user's registry. You can also change the content directory in the client loader>Tools>Folders
     
  7. rick_janson

    rick_janson Well-Known Member Pro Users

    Messages:
    1,167
    Likes Received:
    87
    Trophy Points:
    48
    Just one more note: I've combined this with one other tool. I'll leave this as a standalone version, but won't be updating it any time soon unless MindArk drastically changes something it relies on to work.

    So for better and further updates, refer to this thread.