From f595655353d04ea4902857f3a8caf7b9c28b71e6 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Mon, 13 Jul 2009 16:22:31 +0200 Subject: [PATCH] Register as a printing provider as well, for the benefit of Vista users. --- perl/Sesse/pr0n/Registry.pm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/perl/Sesse/pr0n/Registry.pm b/perl/Sesse/pr0n/Registry.pm index 14b5b14..4ebd4f7 100644 --- a/perl/Sesse/pr0n/Registry.pm +++ b/perl/Sesse/pr0n/Registry.pm @@ -22,6 +22,12 @@ sub handler { $r->print("\"DisplayName\"=\"$vhost\"\r\n"); $r->print("\"Description\"=\"$desc\"\r\n"); $r->print("\"HREF\"=\"http://$vhost/wizard\"\r\n"); + $r->print(""); + $r->print("[HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\Currentversion\\Explorer\\PublishingWizard\\InternetPhotoPrinting\\Providers\\$vhost]\r\n"); + $r->print("\"Icon\"=\"http://$vhost/pr0n.ico\"\r\n"); + $r->print("\"DisplayName\"=\"$vhost\"\r\n"); + $r->print("\"Description\"=\"$desc\"\r\n"); + $r->print("\"HREF\"=\"http://$vhost/wizard\"\r\n"); return Apache2::Const::OK; } -- 2.39.2