RE: Alien-wxWidgets-0.52 failure on 5.10.1

2011-05-28 Thread Ovod-Everett, Toby
, 2011 8:14 AM To: Gabor Szabo Cc: wxperl-users@perl.org Subject: Re: Alien-wxWidgets-0.52 failure on 5.10.1 Hi Something has killed your path expansion. You should not see %SystemRoot%. You should see the expanded path. Perhaps something has written your path in the registry as REG_SZ rath

Re: Alien-wxWidgets-0.52 failure on 5.10.1

2011-05-28 Thread Mark Dootson
Hi On 28/05/2011 07:37, Gabor Szabo wrote: Thanks for the code! One small thing. I think the recommended way to use "new" is to always use the direct mode ( Win32::API->new ) and not the indirect (new Win32::API ) as the latter will not always do the right thing. Arguably if all I have is the

Re: Alien-wxWidgets-0.52 failure on 5.10.1

2011-05-27 Thread Gabor Szabo
On Fri, May 27, 2011 at 6:52 PM, Mark Dootson wrote: > Hi, > > The simplest and most effective way to do what you require would be to > prepare an InnoSetup installer. > > Steps required: > > 1.) Get desired install path - don't accept path with spaces > 2.) Install files > 3.) Set path and other

Re: Alien-wxWidgets-0.52 failure on 5.10.1

2011-05-27 Thread Gabor Szabo
On Fri, May 27, 2011 at 7:29 PM, Mark Dootson wrote: > >> in Win32::API. It works OK, (I've done this in the past though can't >> track any code down at present). > > Tracked down now: > > my $SendMessageTimeout = new Win32::API('user32', > 'SendMessageTimeout','NNNPNNP', 'N') >        or die "Get

Re: Alien-wxWidgets-0.52 failure on 5.10.1

2011-05-27 Thread Mark Dootson
in Win32::API. It works OK, (I've done this in the past though can't track any code down at present). Tracked down now: my $SendMessageTimeout = new Win32::API('user32', 'SendMessageTimeout','NNNPNNP', 'N') or die "Get SendMessageTimeout: " . Win32::FormatMessage (Win32::GetLastError ());

Re: Alien-wxWidgets-0.52 failure on 5.10.1

2011-05-27 Thread Mark Dootson
Hi, The simplest and most effective way to do what you require would be to prepare an InnoSetup installer. Steps required: 1.) Get desired install path - don't accept path with spaces 2.) Install files 3.) Set path and other environment variables using InnoSetup scripting / built in registry

Re: Alien-wxWidgets-0.52 failure on 5.10.1

2011-05-27 Thread Gabor Szabo
On Fri, May 27, 2011 at 5:37 PM, Mark Dootson wrote: > Hi, > > On 27/05/2011 15:12, Gabor Szabo wrote: >> >> I am not sure what do I have to look for but in the >> HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session >> Manager\Environment >> I have a row: >> >> Path   REG_EXPAND_SZ   C:\Pr

Re: Alien-wxWidgets-0.52 failure on 5.10.1

2011-05-27 Thread Mark Dootson
Hi, On 27/05/2011 15:12, Gabor Szabo wrote: I am not sure what do I have to look for but in the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment I have a row: Path REG_EXPAND_SZ C:\Program Files\CollabNet\Subversion Client;%SystemRoot%\system32;%SystemRoot%;%S

Re: Alien-wxWidgets-0.52 failure on 5.10.1

2011-05-27 Thread Gabor Szabo
I am not sure what do I have to look for but in the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment I have a row: Path REG_EXPAND_SZ C:\Program Files\CollabNet\Subversion Client;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\strawberry\c\bin;C:

Re: Alien-wxWidgets-0.52 failure on 5.10.1

2011-05-26 Thread Mark Dootson
Hi Something has killed your path expansion. You should not see %SystemRoot%. You should see the expanded path. Perhaps something has written your path in the registry as REG_SZ rather than REG_EXPAND_SZ Run regedit and take a look at HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Ses

Re: Alien-wxWidgets-0.52 failure on 5.10.1

2011-05-26 Thread Gabor Szabo
Start/Run: cmd Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\Documents and Settings\Gabor Szabo>cmd /V 'cmd' is not recognized as an internal or external command, operable program or batch file. C:\Documents and Settings\Gabor Szabo>set PATH Path=C:\Program F

RE: Alien-wxWidgets-0.52 failure on 5.10.1

2011-05-24 Thread Ovod-Everett, Toby
Try checking your PATH environment variable. Also, are you 64-bit or 32-bit? There could be something honked up in WOW64 (the 32-bit environment) if you're on 64-bit. Start/Run uses an API call that includes checking HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths. When yo

Re: Alien-wxWidgets-0.52 failure on 5.10.1

2011-05-24 Thread Mark Dootson
Hi, So if you start cmd from the Start/Run thingy, in the resulting command window what do cmd /V and set PATH give you ? Regards Mark On 24/05/2011 21:16, Gabor Szabo wrote: I already have Alien::wxWidgets 0.4601 installed on this machine with perl 5.10.1 I also have Alien::wxWidgets