Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18

Thread: Hauppauge SoftPVR Wiki page

  1. #11
    Join Date
    Aug 2005
    Location
    Houston
    Posts
    4,562

    old wiki

    thanks...didn't know about the migration issue, now added to wiki...

    hmm,what's the old wiki address? i need to copy some text off the old one..
    Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie

  2. #12
    Join Date
    Apr 2013
    Location
    MD, USA
    Posts
    40

  3. #13
    Join Date
    Aug 2005
    Location
    Houston
    Posts
    4,562

    softpvr batch

    here's a copy of the adjusted batch file for installation.. for posterity's sake..
    finally tested on 64bit and win7..had to adjust for vista+'s changes to reg.exe..[spaces are delim vs. tabs for xp]

    Code:
    @ECHO OFF
    @rem Modified by: PBS
    @echo.
    @ECHO ********************************************************
    @ECHO SoftPVR installer for Analog devices. (32 OR 64 bit OS)
    @ECHO ********************************************************
    @echo.
    
    @rem 		Check for admin rights and echo msg and exit if none.....
    net session >nul 2>&1
        if %errorLevel% == 0 (
            @echo Success: Administrative permissions confirmed.
        ) else (
            @echo Failure: Current permissions inadequate. This script needs to be run with Admin priviledges..
    pause
    exit
        )
    cd /d "%~dp0"
    @echo.
    
    
    @rem 	This line detects 32bit or 64bit..
    @IF DEFINED ProgramFiles(x86) (
    set sysdir=Syswow64
    set softnode=SOFTWARE\Wow6432Node
    ) else (
    set sysdir=System32
    set softnode=SOFTWARE
    )
    @echo This machine's system dir is 		"%systemroot%\%sysdir%"
    @echo And it's software registry section is 	HKLM\%softnode%\NPVR
    @echo.
    
    @rem	This line detects actual NPVR dir from registry and puts it in variable %npvrdir%, no matter where it's installed..
    @for /f "skip=2 tokens=1,2,* delims=	 " %%A in ('reg query "HKLM\%softnode%\NPVR" /v InstallDirectory') do set npvrdir=%%C
    @echo NPVR directory is 			"%npvrdir%"
    @ECHO.
    
    @ECHO Creating Temp folders
    @MD "%npvrdir%\SoftPVR\temp1"
    @MD "%npvrdir%\SoftPVR\temp2"
    @ECHO.
    
    @ECHO Extracting WinTV installer
    
    @rem 		This line lists dir for files starting with wintv7_cd_ by date and executes only newest one [regardless of filename ending] with params....
    for /f %%f in ('dir /b /o:-d "wintv7_cd_*.exe"') do (
    "%%~f" /x %npvrdir%\SoftPVR\temp1
     goto :next
    )
    
    @rem 			Missing wintv7_*.exe file error message...
    @if errorlevel 1 (@echo.
    @echo NO WINTV7_cd_*.exe file found!!!
    @echo Download file first and place in %npvrdir%\softpvr\ 
    @echo [create dir if needed]
    @echo.
    pause
    exit)
    :next
    
    @rem 		Executing extracted wintv7setup.exe 
    "%npvrdir%\SoftPVR\temp1\WinTV7Setup.exe" /x %npvrdir%\SoftPVR\temp2
    
    @ECHO.
    @ECHO Copying required files 
    COPY "%npvrdir%\SoftPVR\temp2\hcw_mcl2ae.ax" "%npvrdir%\SoftPVR\"
    COPY "%npvrdir%\SoftPVR\temp2\hcw_mcm2ve.ax" "%npvrdir%\SoftPVR\"
    COPY "%npvrdir%\SoftPVR\temp2\hcw_mcmpeg2mux.ax" "%npvrdir%\SoftPVR\"
    COPY "%npvrdir%\SoftPVR\temp2\hcw_mcmpgaout.dll" "%npvrdir%\SoftPVR\"
    COPY "%npvrdir%\SoftPVR\temp2\hcw_mcmpgvout.004" "%npvrdir%\SoftPVR\"
    COPY "%npvrdir%\SoftPVR\temp2\hcw_mcmpgvout.dll" "%npvrdir%\SoftPVR\"
    @ECHO.
    
    @rem These lines register filters, showing and pausing only if error occurs..
    @ECHO Registering files
    
    %SystemRoot%\%sysdir%\Regsvr32.exe /s "%npvrdir%\SoftPVR\hcw_mcl2ae.ax"
    @if errorlevel 1 (@echo **** "%npvrdir%\SoftPVR\hcw_mcl2ae.ax" was NOT REGISTERED correctly!!!!! ********************&& pause)
    
    %SystemRoot%\%sysdir%\Regsvr32.exe /s "%npvrdir%\SoftPVR\hcw_mcm2ve.ax"
    @if errorlevel 1 (@echo **** "%npvrdir%\SoftPVR\hcw_mcm2ve.ax" was NOT REGISTERED correctly!!!!! ********************&& pause)
    
    %SystemRoot%\%sysdir%\Regsvr32.exe /s "%npvrdir%\SoftPVR\hcw_mcmpeg2mux.ax"
    @if errorlevel 1 (@echo **** "%npvrdir%\SoftPVR\hcw_mcmpeg2mux.ax" was NOT REGISTERED correctly!!!!! ********************&& pause)
    @ECHO.
    
    @ECHO Deleting Temp Folders
    RD "%npvrdir%\SoftPVR\temp1\" /s /q
    RD "%npvrdir%\SoftPVR\temp2\" /s /q
    @ECHO.
    @ECHO       Successful!!
    @ECHO.
    
    pause
    Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie

  4. #14
    Join Date
    Nov 2006
    Location
    Sunninghill, UK
    Posts
    2,584
    Thank you pBS,

    this looks really quite brilliant but then I would never have expected less than that from you

    I always had a problem with the SoftPVR page/s. I do hope that this makes it easier for new users.

    Most excellent.

    cheers very much

    steeb
    When you have eliminated the impossible, whatever remains, however improbable, must be the truth.

    NextPVR Documentation (wiki) admin/contributor


  5. #15
    Join Date
    Dec 2012
    Location
    Hicksville USA
    Posts
    581
    Quote Originally Posted by pBS View Post
    has anyone tried my batch on a 64bit machine?
    A recent thread strongly suggests that the batch needs further revision for 64bit systems: http://forums.nextpvr.com/showthread...d-at-this-time

    If the previous download SoftPVR_64bit.zip can be retrieved, it might be helpful for the time being to post it here or there.

  6. #16
    Join Date
    Nov 2006
    Location
    Louisville, KY, USA
    Posts
    7,870
    Quote Originally Posted by Zeb View Post
    A recent thread strongly suggests that the batch needs further revision for 64bit systems: http://forums.nextpvr.com/showthread...d-at-this-time
    The problem with the script on the wiki wasn't due to 64bit, it was due to an issue with UAC I think. On Windows 8, I was not able to get it to work using temp folders in the NPVR program directory. All the temporary extractions had to be performed in c:\temp. Here is the updated script that worked (I used it on Win8.1 x64): http://forums.nextpvr.com/showthread...790#post463790

  7. #17
    Join Date
    Dec 2012
    Location
    Hicksville USA
    Posts
    581
    I'm sure you are correct whurlston. However judging by subsequent posts in that thread, your updated script might not work perfectly with Win7SP1.

    [November 3] Here's a new thread showing batch file failure on Windows 8: http://forums.nextpvr.com/showthread...719#post466719
    Last edited by Zeb; 2013-11-03 at 07:48 PM.

  8. #18
    Join Date
    Nov 2006
    Location
    Louisville, KY, USA
    Posts
    7,870
    Thats possibly true. I dont have an analog tuner installed at the moment to test it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •