NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Forum Issues & Documentation NPVR Documentation v
« Previous 1 2 3 4 5 Next »
NextPVR and Analog cards

 
  • 0 Vote(s) - 0 Average
NextPVR and Analog cards
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,766
Threads: 954
Joined: May 2006
#11
2011-03-21, 11:27 PM
Revisiting this script, I think the destination folder should be in "%PROGRAMFILES%\Hauppauge\SoftPVR" and not "%PROGRAMFILES\%\NPVR\SoftPVR" This will survive a clean install of NPVR much better, and it is also the actual destination should WinTV be fully installed.

Martin
steeb
Offline

Posting Freak

Posts: 2,667
Threads: 183
Joined: Nov 2006
#12
2011-03-22, 01:58 AM
thanks both

@martin123 anything that works with a wildcard is going to be better than having to edit the .bat's each time a new v of WinTV7 comes out, messy or not! Much obliged Big Grin

@mvallevand. Martin yes I see this is a very good point and changing the directory would survive a clean install of NextPVR . I have Hauppauge cards so have WinTV7 installed in full anyway but to check the path? I don't have the same as you have given. I have:

:\Program Files\WinTV\WinTV7\SoftPVR

of course should a user uninstall WinTV then I guess this would be gone too.....

cheers

steeb
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,766
Threads: 954
Joined: May 2006
#13
2011-03-22, 02:41 AM
Sorry steeb I was lazy and theorizing and should have checked, you are correct it is WinTV\WinT7\SoftPVR on my machine too.

Martin
steeb
Offline

Posting Freak

Posts: 2,667
Threads: 183
Joined: Nov 2006
#14
2011-03-22, 12:11 PM
Right we are, thanks for input so far.

Have edited McBainUK's original much brilliant original .bat (sorry McBainUK, hope you don't mind Wink ) to reflect changes discussed previously. Please bear in mind I have no background software experience and quite frankly haven't got a clue what I'm doing Big Grin

I also entered an auto delete of downloaded WinTV .exe rather than the user deleting it manually (don't know why it needs to be kept?)

Instructions for wiki:

For those that don't want to install the full Hauppauge WinTV suite or have lost their original CD, NextPVR users have reported that it is possible to download and install only the required files using the commands below.

1.Create a folder for WinTV7 and SoftPVR in the Windows Program Files Directory (eg "C:\Program Files\WinTV\WinTV7\SoftPVR").
2.Download the latest version of WinTV7 from the Hauppauge support website and copy it to this new folder.
3.Download and run the bat file suitable for your system. If you are using Windows 7 the commands will need to be run with elevated privileges (right-click and select 'Run as Admin').
4. Prompts to show that the required components have been registered correctly will appear, click OK on these. The software has been successfully installed. If not prompted with successful registering of the components check the directory path created in step 1. and make sure the download of WinTV7 has been copied successfully into the SoftPVR folder.
5. If your analog device does not appear in the devices list of the NextPVR settings screen you will need to take an additional step to configure your device. See here.

(where step 5 refers to filtercheck and manually entering device details)

contents of edited 32bit bat.

Code:
ECHO OFF

ECHO *************************************************
ECHO SoftPVR installer for Analog devices. (32 bit OS)
ECHO *************************************************
ECHO Creating Temp folders
MD "%PROGRAMFILES%\WinTV\WinTV7\SoftPVR\temp1\"
MD "%PROGRAMFILES%\WinTV\WinTV7\SoftPVR\temp2\"
MD "%PROGRAMFILES%\WinTV\WinTV7\SoftPVR\temp3\"
ECHO Copying and renaming WinTV7 exe
CD "%PROGRAMFILES%\WinTV\WinTV7\SoftPVR\"
COPY /b /y WinTV7_cd_2*.exe "%PROGRAMFILES%\WinTV\WinTV7\SoftPVR\temp1\TempWinTV.exe"
ECHO
ECHO Extracting WinTV installer
"%PROGRAMFILES%\WinTV\WinTV7\SoftPVR\temp1\TempWinTV.exe" /x %PROGRAMFILES%\WinTV\WinTV7\SoftPVR\temp2
"%PROGRAMFILES%\WinTV\WinTV7\SoftPVR\temp2\WinTV7Setup.exe" /x %PROGRAMFILES%\WinTV\WinTV7\SoftPVR\temp3
ECHO
ECHO Copying required files
COPY "%PROGRAMFILES%\WinTV\WinTV7\SoftPVR\temp3\hcw_mcl2ae.ax" "%PROGRAMFILES%\WinTV\WinTV7\SoftPVR\"
COPY "%PROGRAMFILES%\WinTV\WinTV7\SoftPVR\temp3\hcw_mcm2ve.ax" "%PROGRAMFILES%\WinTV\WinTV7\SoftPVR\"
COPY "%PROGRAMFILES%\WinTV\WinTV7\SoftPVR\temp3\hcw_mcmpeg2mux.ax" "%PROGRAMFILES%\WinTV\WinTV7\SoftPVR\"
COPY "%PROGRAMFILES%\WinTV\WinTV7\SoftPVR\temp3\hcw_mcmpgaout.dll" "%PROGRAMFILES%\WinTV\WinTV7\SoftPVR\"
COPY "%PROGRAMFILES%\WinTV\WinTV7\SoftPVR\temp3\hcw_mcmpgvout.004" "%PROGRAMFILES%\WinTV\WinTV7\SoftPVR\"
COPY "%PROGRAMFILES%\WinTV\WinTV7\SoftPVR\temp3\hcw_mcmpgvout.dll" "%PROGRAMFILES%\WinTV\WinTV7\SoftPVR\"
ECHO
ECHO Registering files
Regsvr32.exe "%PROGRAMFILES%\WinTV\WinTV7\SoftPVR\hcw_mcl2ae.ax"
Regsvr32.exe "%PROGRAMFILES%\WinTV\WinTV7\SoftPVR\hcw_mcm2ve.ax"
Regsvr32.exe "%PROGRAMFILES%\WinTV\WinTV7\SoftPVR\hcw_mcmpeg2mux.ax"
ECHO
ECHO Deleting Temp Folders
RD "%PROGRAMFILES%\WinTV\WinTV7\SoftPVR\temp1\" /s /q
RD "%PROGRAMFILES%\WinTV\WinTV7\SoftPVR\temp2\" /s /q
RD "%PROGRAMFILES%\WinTV\WinTV7\SoftPVR\temp3\" /s /q
ECHO
ECHO Deleting WinTV
DEL "%PROGRAMFILES%\WinTV\WinTV7\SoftPVR\WinTV7_cd_2*.exe"
ECHO DONE

seems to work OK for me but any comments (good or bad :p ) welcome!

cheers

steeb
McBainUK
Offline

Posting Freak

Posts: 4,711
Threads: 429
Joined: Sep 2005
#15
2011-03-22, 12:14 PM
steeb Wrote:I also entered an auto delete of downloaded WinTV .exe rather than the user deleting it manually (don't know why it needs to be kept?)
If the auto configuration went wrong I'd be annoyed if it deleted the quite large file I just downloaded.
Wiki profile
My Projects
Programs Plugin [SIZE=2](retired)
| Volume OSD Plugin (retired) | Documentation Wiki (retired)
[/SIZE]
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,766
Threads: 954
Joined: May 2006
#16
2011-03-22, 12:22 PM
steeb you would need to create all the folders in Program Files, not just temp if they don't exist.

Martin
steeb
Offline

Posting Freak

Posts: 2,667
Threads: 183
Joined: Nov 2006
#17
2011-03-22, 12:35 PM
McBainUK Wrote:If the auto configuration went wrong I'd be annoyed if it deleted the quite large file I just downloaded.

Ah indeed Sir, a very good point Wink

Of course what could go wrong with the auto configuration? Big Grin

Seriously though yup, manual delete better.

cheers

steeb
steeb
Offline

Posting Freak

Posts: 2,667
Threads: 183
Joined: Nov 2006
#18
2011-03-22, 12:41 PM
mvallevand Wrote:steeb you would need to create all the folders in Program Files, not just temp if they don't exist.

Martin

Hi Martin, user is prompted in step 1 to create these manually. I did consider creating the WinTV directory in the batch as well? I guess this would be more foolproof? Guess batch could create the initial folders then pause for user to copy WinTV exe into SoftPVR directory? I also considered trying to automate the process even more and just get user to download WGET then run a batch to use WGET to download WinTV and install all automatically. Perhaps that is a way to go?

cheers

steeb
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#19
2011-03-22, 04:12 PM
steeb Wrote:I also considered trying to automate the process even more and just get user to download WGET then run a batch to use WGET to download WinTV and install all automatically. Perhaps that is a way to go?
No - dont do that. I'm already somewhat uncomfortable with how easy the community is making it to steal the Hauppauge components, and I feel this is probably taking things too far.

My original intention was that Analog support would only be available to Hauppauge users who also had WinTV7 installed.
steeb
Offline

Posting Freak

Posts: 2,667
Threads: 183
Joined: Nov 2006
#20
2011-03-22, 04:37 PM
sub Wrote:No - dont do that. I'm already somewhat uncomfortable with how easy the community is making it to steal the Hauppauge components, and I feel this is probably taking things too far.

My original intention was that Analog support would only be available to Hauppauge users who also had WinTV7 installed.

No worries. I did wonder how far to go with this! In the future would there be an alternative to those with non-hauppauge analog cards or will the status quo always be the same?

steeb
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): « Previous 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to create Kodi and NextPVR guides with colour mvallevand 24 9,952 2020-12-01, 07:05 PM
Last Post: Bernard0105
  NextPVR Recurring Scheduling georgewbateman 1 7,261 2012-11-26, 11:03 PM
Last Post: steeb
  New Using NextPVR Search Section georgewbateman 5 4,752 2012-11-14, 12:03 AM
Last Post: steeb
  NextPVR Presence on xbmc wiki steeb 36 19,096 2012-10-27, 03:45 PM
Last Post: Karyudo
  XBMC and NextPVR - A user guide steeb 47 31,923 2012-10-25, 04:19 AM
Last Post: mvallevand
  archiving defunct NextPVR Plugins etc steeb 10 7,606 2012-06-06, 10:21 PM
Last Post: steeb
  Help with Analog device setup wiki page McBainUK 14 6,905 2012-01-18, 02:04 PM
Last Post: ShiningDragon
  NextPVR wiki - remote control topics McBainUK 2 3,649 2012-01-14, 11:50 PM
Last Post: steeb
  NextPVR Webpages steeb 21 9,470 2011-08-01, 09:57 AM
Last Post: pz1
  NextPVR Logo Pack steeb 19 12,307 2011-07-16, 10:04 AM
Last Post: martint123

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode