Tired of uninstalling old and installing new version by hand

Discussion in 'Tips and Tricks' started by no_idea, March 6, 2005.

  1. no_idea

    no_idea Portal Member

    Joined:
    September 19, 2004
    Messages:
    15
    Likes Received:
    0
    Occupation:
    Consultant Software Deployment
    Location:
    Germany
    Ratings:
    +0 / 0
    You just have to build to batch files and drop them into folder containing new setup files.

    Cut and paste the following line for

    installation in mp_inst.bat:
    msiexec /i setup.msi ALLUSERS=1 TARGETDIR="%programfiles%\mediaportal" /qb- /l*v mp_inst.log

    deinstallation in mp_uninst.bat:
    msiexec /x {E95FD367-B0A7-420B-A95A-E8888D3C0C99} /qb- /l*v mp_uninst.log

    /i for installation, /x for deinstallation, ALLUSERS=1 is set for an all users installation, /qb- does a quiet installation without user interaction and "/l*v logfilename"writes a logfile. "MainEngineThread is returning 0" in the logfile says setup was successfully completed.

    The msi packagecode {...} may vary in future versions.



    no_idea.
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. LastMar

    LastMar Portal Pro

    Joined:
    November 17, 2004
    Messages:
    74
    Likes Received:
    0
    Ratings:
    +0 / 0
    Ack. No thanks.

    If you're gonna go through all this trouble, just do it manually....
     
  4. no_idea

    no_idea Portal Member

    Joined:
    September 19, 2004
    Messages:
    15
    Likes Received:
    0
    Occupation:
    Consultant Software Deployment
    Location:
    Germany
    Ratings:
    +0 / 0
    What´s the problem? You need the two files and if mp does fine you don´t even have to look into the logfile.

    Takes only seconds for a new installation and I never had to change the batches before.

    no_idea.
     
  5. graemef

    graemef Portal Pro

    Joined:
    November 28, 2004
    Messages:
    128
    Likes Received:
    4
    Location:
    Perth
    Ratings:
    +4 / 2
    Home Country:
    Excellent, used to annoy me having to uninstall/install.
    Thanks
     
  6. Phrak

    Phrak Portal Member

    Joined:
    January 13, 2005
    Messages:
    36
    Likes Received:
    0
    Location:
    Sydney, Australia
    Ratings:
    +1 / 0
    Great thinking no_idea. Takes at least some of the pain away from an upgrade.

    Thanks :)
    Tim.
     
  7. merci1983

    merci1983 Portal Pro

    Joined:
    November 13, 2004
    Messages:
    128
    Likes Received:
    6
    Location:
    Near Bremen
    Ratings:
    +6 / 0
    Home Country:
    Germany Germany
    no_idea

    Thanks a lot for this - makes testing a little bit easier for me.

    I saw that you install in "%programfiles%\mediaportal" but the original setup is installed in "%programfiles%\Team MediaPortal\mediaportal".
    Wouldn´t it be better to use the standard-path?

    cu
    merci
     
  8. no_idea

    no_idea Portal Member

    Joined:
    September 19, 2004
    Messages:
    15
    Likes Received:
    0
    Occupation:
    Consultant Software Deployment
    Location:
    Germany
    Ratings:
    +0 / 0
    merci1983

    TARGETDIR is just a hint how to set a different path. You could write

    TARGETDIR="E:\HTPC Test\MP"

    or just leave the parameter for default. The funny thing was, standard msi parameter INSTALLDIR was ignored. Had to check the log to find it.

    Another tip (originally from FlipGer):
    Export your radio stations and tv channels from databases to csv with sqlbrowserlite and reimport them to the new ones, after deleting the table. Worked for me in .8-.10. Only had to create a new tv group and resort.

    But you may be warned: Tables format might be changed. The team is now working on an export function.

    no_idea
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!