Re: Perl Script on x64 Windows

2006-01-26 Thread anthony . okusanya
Anthony Okusanya wrote: > Hi all >       I have a utility I wrote using ActivePerl. It is used to install applications and hotfixes on Windows servers. I am trying to modify this to work with the 64bit version of Windows 2003. The problem is that due to the registry re-direction that 64it uses to

Re: Perl Script on x64 Windows

2006-01-05 Thread anthony . okusanya
Bill Luebkert wrote: This seems to work on 32: use strict; use warnings; use Win32::OLE; use Win32::OLE::Variant; use constant HKEY_CURRENT_USER => 0x8001; use constant HKEY_LOCAL_MACHINE => 0x8002; my $strComputer = Win32::NodeName || '.'; my $oReg = Win32::OLE->GetObject(  'winm

Re: Perl Script on x64 Windows

2006-01-04 Thread $Bill Luebkert
[EMAIL PROTECTED] wrote: > I would like to thank everyone for their input on this issue. I > appologize for my late response as I have been trying to > implement most of the suggestions that were sent out on this. > > Jan's code sample below produced the same result on the x64bit machine > as it

Re: Perl Script on x64 Windows

2006-01-04 Thread anthony . okusanya
Bill Luebkert Wrote "$Bill Luebkert" <[EMAIL PROTECTED]> 12/21/2005 04:25 PM To "'Anthony Okusanya'" <[EMAIL PROTECTED]> cc activeperl@listserv.ActiveState.com Subject Re: Perl Script on x64 Windows Jan Dubois wrote: > On Wed,

Re: Perl Script on x64 Windows

2005-12-21 Thread Dr.Ruud
Eric Amick schreef: > [Windows Registry query] > What you're looking for is a key, so you need a trailing slash: > [...] > I'm frankly surprised it ever worked. http://search.cpan.org/~jdb/libwin32-0.26/TieRegistry/TieRegistry.pm "If you are reading from the hash [fetching], then we first use th

Re: Perl Script on x64 Windows

2005-12-21 Thread $Bill Luebkert
Jan Dubois wrote: > On Wed, 21 Dec 2005, Anthony Okusanya wrote: > >>Hi all I have a utility I wrote using ActivePerl. It is used to >>install applications and hotfixes on Windows servers. I am trying to >>modify this to work with the 64bit version of Windows 2003. The >>problem is that due to th

Re: Perl Script on x64 Windows

2005-12-21 Thread Dr.Ruud
Anthony Okusanya schreef: > I have a utility I wrote using ActivePerl. It is used to > install applications and hotfixes on Windows servers. I am trying to > modify this to work with the 64bit version of Windows 2003. The > problem is that due to the registry re-direction that 64it uses to >

Re: Perl Script on x64 Windows

2005-12-21 Thread Dr.Ruud
Anthony Okusanya: > if($hotfix =$Registry->{"LMachine/.../$_[0]"}) { Try a simple test.pl that contains only something like this: #!/usr/bin/perl use strict; use warnings; use Win32::TieRegistry(Delimiter => '/'); my $regkey = 'LMachine/SOFTWARE/Microsoft/Windows NT/' . 'C

Re: Perl Script on x64 Windows

2005-12-21 Thread Eric Amick
> Hi all > I have a utility I wrote using ActivePerl. It is used to install > applications and hotfixes on Windows servers. I am trying to modify this to > work > with the 64bit version of Windows 2003. The problem is that due to the > registry > re-direction that 64it uses to maintain 3

Re: Perl Script on x64 Windows

2005-12-21 Thread $Bill Luebkert
Jan Dubois wrote: > On Wed, 21 Dec 2005, $Bill Luebkert wrote: > >>If you read the keys around that area, which ones work and which don't? >>Like can you access the HotFix key above $_[0] ? If you can see it >>in regedit, you would think you could see if from Perl. > > > Nope, 32 bit applicatio

RE: Perl Script on x64 Windows

2005-12-21 Thread Jan Dubois
On Wed, 21 Dec 2005, $Bill Luebkert wrote: > If you read the keys around that area, which ones work and which don't? > Like can you access the HotFix key above $_[0] ? If you can see it > in regedit, you would think you could see if from Perl. Nope, 32 bit application on Win64 run in an environmen

RE: Perl Script on x64 Windows

2005-12-21 Thread Jan Dubois
On Wed, 21 Dec 2005, Anthony Okusanya wrote: > Hi all I have a utility I wrote using ActivePerl. It is used to > install applications and hotfixes on Windows servers. I am trying to > modify this to work with the 64bit version of Windows 2003. The > problem is that due to the registry re-direction

Re: Perl Script on x64 Windows

2005-12-21 Thread $Bill Luebkert
Anthony Okusanya wrote: > Hi all > I have a utility I wrote using ActivePerl. It is used to install > applications and hotfixes on Windows servers. I am trying to modify this to > work with the 64bit version of Windows 2003. The problem is that due to the > registry re-direction that 64it