NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Legacy (v4.x and earlier) v
« Previous 1 … 242 243 244 245 246 … 433 Next »
temp1 was unexpected at this time.

temp1 was unexpected at this time.
kamran77
Offline

Junior Member

Posts: 17
Threads: 1
Joined: Sep 2013
#1
2013-09-24, 02:25 PM
Since my analog device doesn't show, I followed the instructions of installing Hauppauge SoftPVR as per http://www.nextpvr.com/nwiki/pmwiki.php?...ugeSoftPVR but I get the following error:

[ATTACHMENT NOT FOUND]

Any help appreciated because I have followed all instructions by the book, including the patches but it just doesn't work Sad
Reddwarf
Offline

Posting Freak

Posts: 6,629
Threads: 230
Joined: Mar 2007
#2
2013-09-24, 03:18 PM
Try running from C:\, it seems the script does not use drive letter and assumes you are on C:

"I'd rather have a bottle in front of me than a frontal lobotomy"
fadiii
Offline

Junior Member

Posts: 2
Threads: 0
Joined: Sep 2013
#3
2013-09-24, 09:55 PM
same error here!!...
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#4
2013-09-24, 11:27 PM
probably need some double-quotes around a path/file name in the script
server: NextPVR 5.0.7/Win10 2004/64-bit/AMD A6-7400k/hvr-2250 & hvr-1250/Winegard Flatwave antenna/Schedules Direct
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV
kamran77
Offline

Junior Member

Posts: 17
Threads: 1
Joined: Sep 2013
#5
2013-09-25, 06:18 AM
Reddwarf Wrote:Try running from C:\, it seems the script does not use drive letter and assumes you are on C:

Tried in C root as well as C:\Program Files (x86)\NPVR\SoftPVR\ but the same exact error. I think the original batch file has some problems. Any help appreciated
kamran77
Offline

Junior Member

Posts: 17
Threads: 1
Joined: Sep 2013
#6
2013-09-25, 06:19 AM
johnsonx42 Wrote:probably need some double-quotes around a path/file name in the script

This is the original batch file:

@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
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#7
2013-09-25, 06:37 AM
I dunno, it used to work. Hauppauge may have changed something in the installer that prevents extraction in this way. They or MainConcept may have gotten wind that people were stealing their encoders this way.
server: NextPVR 5.0.7/Win10 2004/64-bit/AMD A6-7400k/hvr-2250 & hvr-1250/Winegard Flatwave antenna/Schedules Direct
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#8
2013-09-25, 06:47 AM
missing quotes:

Code:
@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 [B][color=#FF0000]"[/color][/B]%npvrdir%\SoftPVR\temp1[B][color=#FF0000]"[/color][/B]
goto :next
)

...

@rem Executing extracted wintv7setup.exe
"%npvrdir%\SoftPVR\temp1\WinTV7Setup.exe" /x [B][color=#FF0000]"[/color][/B]%npvrdir%\SoftPVR\temp2[B][color=#FF0000]"[/color][/B]
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#9
2013-09-25, 06:58 AM
ah, I was right the first time. just didn't see where. %npvrdir% has spaces and parens in it, must have quotes. good catch whurlston.
server: NextPVR 5.0.7/Win10 2004/64-bit/AMD A6-7400k/hvr-2250 & hvr-1250/Winegard Flatwave antenna/Schedules Direct
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV
kamran77
Offline

Junior Member

Posts: 17
Threads: 1
Joined: Sep 2013
#10
2013-09-25, 04:26 PM
whurlston Wrote:missing quotes:

Code:
@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 [B][color=#FF0000]"[/color][/B]%npvrdir%\SoftPVR\temp1[B][color=#FF0000]"[/color][/B]
goto :next
)

...

@rem Executing extracted wintv7setup.exe
"%npvrdir%\SoftPVR\temp1\WinTV7Setup.exe" /x [B][color=#FF0000]"[/color][/B]%npvrdir%\SoftPVR\temp2[B][color=#FF0000]"[/color][/B]

Thanks. It definitely progressed ahead but now gives another error. I do have space in my HD but I think it's something to do with the quotes:

[ATTACHMENT NOT FOUND]
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (5): 1 2 3 4 5 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  EPG Time shifi Brucek2839 14 4,375 2021-03-25, 08:45 PM
Last Post: Graham
  Recording service stopped or not running at scheduled time MattInetroit 3 1,979 2021-01-08, 12:03 AM
Last Post: mvallevand
  Possible to set the EPG source for more than one channel at a time? LeGrandZombie 15 8,456 2020-12-06, 02:15 AM
Last Post: pitbull1969
  Recording service not running at recording time Ricknextpvr 18 6,722 2020-03-26, 03:56 PM
Last Post: sub
  Time Offset for EPG? lagman 9 4,225 2019-04-24, 12:21 PM
Last Post: Rage321
  Problem with Pausing live TV for extended period of time jal# 60 15,882 2019-04-03, 12:39 PM
Last Post: mvallevand
  Recording service not running at recording time johnm 7 2,880 2018-11-26, 02:36 AM
Last Post: johnm
  NextPVR Refuses to record football games that start at the same time guyinco6nito 26 6,831 2018-11-12, 06:17 AM
Last Post: johnsonx42
  Recording and watching same time Jonsnow 2 1,557 2018-11-01, 11:32 AM
Last Post: Graham
  Audio not in time with video Brucek2839 2 1,379 2018-10-29, 01:19 AM
Last Post: mvallevand

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

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

Linear Mode
Threaded Mode