MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Main Features (talk, share your ideas, get support) » Watch / Listen Media » MyTV - Engine 0.2 » Tips and Tricks


Tips and Tricks Post your Tips and Tricks in here.

Reply
 
Thread Tools Display Modes
Old 2005-03-06, 02:28   #1 (permalink)
Portal Member
 
Join Date: Sep 2004
Location: Germany
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts


Default Tired of uninstalling old and installing new version by hand

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.
__________________
My HTPC:
Hardware: P4 3.2GHz, FSC D1627C, Sapphire ATI 9600, 512MB RAM, PVR 350, AirStar2, Sasem USB VFD/IR remote in DIGN HV5.
Software: Windows XP Pro SP 2, DirectX 9.0c, .NET 1.1, MediaPlayer 10, Catalyst 5.2 drivers and IV codecs.
no_idea is offline   Reply With Quote
Old 2005-03-06, 02:58   #2 (permalink)
Portal Member
 
Join Date: Nov 2004
Posts: 74
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Ack. No thanks.

If you're gonna go through all this trouble, just do it manually....
__________________
~mar.

Recording PC:
Abit AN7, Athlon XP 3000+ 400FSB, 512MB PC3200, AIW 9800Pro, dual 21" CRTs, XP Pro SP2, ATI MMC, MediaPortal
For viewing:
Celeron 700, 384MB PC133, GeForce4 MX connected to TV, WinXP, MediaPortal
LastMar is offline   Reply With Quote
Old 2005-03-06, 03:12   #3 (permalink)
Portal Member
 
Join Date: Sep 2004
Location: Germany
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts


Default

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.
__________________
My HTPC:
Hardware: P4 3.2GHz, FSC D1627C, Sapphire ATI 9600, 512MB RAM, PVR 350, AirStar2, Sasem USB VFD/IR remote in DIGN HV5.
Software: Windows XP Pro SP 2, DirectX 9.0c, .NET 1.1, MediaPlayer 10, Catalyst 5.2 drivers and IV codecs.
no_idea is offline   Reply With Quote
Old 2005-03-06, 04:06   #4 (permalink)
Portal Member
 
graemef's Avatar
 
Join Date: Nov 2004
Location: Perth
Age: 39
Posts: 82
Thanks: 1
Thanked 0 Times in 0 Posts

Country:


Default

Excellent, used to annoy me having to uninstall/install.
Thanks
graemef is offline   Reply With Quote
Old 2005-03-06, 07:53   #5 (permalink)
Portal Member
 
Join Date: Jan 2005
Location: Sydney, Australia
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Great thinking no_idea. Takes at least some of the pain away from an upgrade.

Thanks
Tim.
Phrak is offline   Reply With Quote
Old 2005-03-06, 08:23   #6 (permalink)
Portal Member
 
Join Date: Nov 2004
Posts: 85
Thanks: 2
Thanked 0 Times in 0 Posts


Default

@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
merci1983 is offline   Reply With Quote
Old 2005-03-06, 11:19   #7 (permalink)
Portal Member
 
Join Date: Sep 2004
Location: Germany
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts


Default

@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
__________________
My HTPC:
Hardware: P4 3.2GHz, FSC D1627C, Sapphire ATI 9600, 512MB RAM, PVR 350, AirStar2, Sasem USB VFD/IR remote in DIGN HV5.
Software: Windows XP Pro SP 2, DirectX 9.0c, .NET 1.1, MediaPlayer 10, Catalyst 5.2 drivers and IV codecs.
no_idea is offline   Reply With Quote
Reply

Bookmarks

Tags
hand, installing, tired, uninstalling, version

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


All times are GMT +1. The time now is 19:58.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden