Volleynerd Knowledge Base

Saturday, May 17, 2008

New Home PC - Software Installs


Here goes ... a possibly endless list of crap that I'm installing on the new Vista 64 machine. Info and links on where I got it, how'd it go, etc.

WiRNS
(update 08/14/11 - now using 3.0 after a machine repave. Notes here.)

download here - I'm trying 2.0 preview 04.09.2008

crashes at startup. forum post telling how to get a 64-bit version of SqlLite.
System.Data.SqlLite - here. Specifically 1.0.48 binaries zip download here.
renamed existing \wirns\sqlite.dll (sqllite.dll.original) and using the one from x64 dir

StartWirns.bat, which just runs "wirns.exe -server" Vista asks for permission, then it stops. Looks like reg access denied.
Run as administrator. Still crashes.

Run WirnsMon.exe, then system tray icon, Start/Restart.

During first run, prompts for IP address, etc. Running this as a service, so Vista shows it in another window station - just entered garbage, will have to edit manually.
Configuration, starts browser for garbage IP address I entered in the other window station.

Regedit - HKEY_LOCAL_MACHINE\SOFTWARE\WiRNS\configuration (wirnsip), set IP address hosting the Wirns config. Now I can get to web based config.

WirnsMonitor fails to start at Windows startup.

In Wirns config, there's a setting to "Load WirnsMon at Windows Startup". Normally, this ON is fine, but on Vista, it needs to run with Administrative privs (not sure why). Unchecked this setting, and put WirnsMon in startup folder with an advanced property setting to run as admin. (Still get standard Vista security prompt to allow/cancel)

Wirns machine doesnt have an ISN to download shows to.

http://www.planetreplay.com/phpBB2/viewtopic.php?t=13813&highlight=download+isn

In Wirns configuration, enter a "secondary web port" number to be used by the WIRNS machine for replay functionality (primary port is for web based Wirns functionality). Delete the Wirns machine in the Replays list, and rescan for replays.

To have the WIRNS machine show up in the list of download targets: IVS config, check "Enable IVS Tracker" and "Update RDDNS with local ISN". (Actually it still doesn't show up in the dropdown list, but I just realized you dont have to use that list for downloading - downloads always go to the local WIRNS machine (I wonder what happens when you do that operation from a remote pc?). The dropdown list is built dynamically by SENDing shows to various ISNs, which also works on the local network, to a WIRNS pc)

Working with Schedules Direct

Subscribed ($5 for 2 months to start with) to Schedules Direct for guide data. This allows me to have a guide on the WiRNS pages, and set recordings from there.

Setup:
Configuration, Guide Data - enter user, pwd, zip code, lineup 1 and 2 offsets (0, 1000)
(this next part was not obvious)
Configuration, Replays - for each replay: Edit, choose Lineups for each offset in the dropdowns

Now when I update guide data, then go to the channel guide, it's populated!

Replays cant see Wirns in their replay guide

Configuration >> Wirns. Have to turn the UPNP setting ON. (requires Wirns restart)
(also make sure appropriate path checkboxes are checked in Configuration >> Wirns Paths)


TODO: error at startup: WiRNS is already running. (what's starting a second copy?)


Snoop
Crashes when attaching to a process.

Exception is when loading the injector dll - invalid format. The DLL is a 32-bit DLL and is not liking being loaded in 64-bit process space. TODO: figure out how to build a 64-bit version.

My app doesnt show up in Snoop's list of processes.

Original build target is Any CPU for the snoop.exe process. This makes it a 64-bit process and fails to load the 32-bit injector DLL. Added an x86 build target so that the injector DLL works, but now my (any CPU) app that I'm trying to snoop doesn't show up in the snoop list. Looks like it only shows processes of the same "bit-ness".

Added an x86 build target for my app, so that it's creating a 32-bit version to run, now all is well, I can snoop!

IIS 7

Enable Basic Authentication

Haven't had to use IIS 7 for work yet, and it's a bit different in terms of where to set the settings.

IIS Manager, Drill down through the site, to the application (make it an application if it's not), right side pane, "Authentication". Right click and set: Enable Basic Auth, Disable Anonymous. (have to use a user/pwd that are in the ACL list for the assets directory)

Turned on SSL

Pretty easy in IIS 7. Used ScottGu's blog info here

IIS manager, machine node, SSL certs, create self-signed cert.
Web site, bindings, add https / 443, and point to the cert.
To require SSL for a particular app: Web app, SSL settings, require SSL

ORB
Add channel 77 to guide, to be able to watch ReplayTV on home internal channel

From this post at orb forums, add a file called "channelmap.txt" to C:\ProgramData\OrbNetworks\OrbTV\data\fyi (on Vista 64 at least).

Format of file is:
ChannelName (to show up in the guide)
ChannelNumber

So mine looks like this:
ReplayTV
77

Restarted Orb, and it's all good, shows up on the list of channels, and can watch 77 from remote machine. WOOT !

Xbox 360 Media Extender

Setup extender with Media Center on Vista 64

From info here

Run Media Center on the PC
Start 360, go to media center, get setup key
Back to PC, enter key, install from there.
After setup, go into Settings and add folders where media is located (video, pics)

Offered NBC Olympics on the Go from Linovo. More info here.

Sharing Media from PC to Xbox 360

For some reason, I was thinking this was a feature of Media Center on the PC, but I cant see media from my 360. (I think on my old machine, I was running some lightweight sharing thingy, but oh well - it's much easier / aka "built-in" to Vista)

Control Panel, Network and Sharing Center
Media Sharing - turn it on
In the settings, you can establish what devices can see your media.

Where is the list of folders to monitor?

Built into the Windows Media Player library of course! Ugh.
Tools, Options, Library, Monitor folders...

(Even after the progress bar says it has combed all the folders, it seems to take a while for the media to be available to the 360)

Media available to the 360 under the pics and videos folders, not the Media Center (although you can get to them there if they're setup from within Media Center)

Remote Desktop

Lame, Lame, Lame!! Sounds like Remote Desktop is disabled in Home versions of Vista.

Found this blog post with a way to "turn it back on". Didn't work for me. Ran the SP1 version, but get error when re-starting terminal services (193 not a valid Win32 application).

Damn! Now Media Center Extender wont start back up, cuz Terminal Services is a dependency, and it's hosed.

The batch file was trying to help by saving off the original termsrv.dll to .bak, but since like a dummy I ran it twice, I no longer have that original version.

Heading towards system restore, and use logmein...

Command Prompt From Here

(update: now have a .REG file to do all this for you in Vista and Win7. See ...\Public\RegHacks)

XP Power Toy doesn't work on Vista. Old Command Prompt reg keys dont either

Found this post that pointed me in the right direction. Vista has the feature, but just need to delete or rename that "extended" value (Dont know what %V or %L do, but pushd seems to be the trick)

HKEY_CLASSES_ROOT\directory\shell\cmd
delete "Extended" value

I like the Windows SDK prompt with yellow coloring to show you're set with the vars, so my complete command is:

cmd.exe /E:ON /V:ON /T:0E /K pushd "%V" && "C:\Program Files\Microsoft SDKs\Windows\v6.1\Bin\SetEnv.Cmd"

Set this on both the following keys:

HKEY_CLASSES_ROOT\directory\shell\cmd\command
HKEY_CLASSES_ROOT\Drive\shell\cmd\command

MISC IIS stuff
IIS 7 - disable anonymous auth, enable basic auth, disable windows auth (dont want to allow passthrough)
Change security on disk folder: remove admins, add own acct as admin, add webuser, add IIS_USR group with read access





Comments: Post a Comment

Home