On Fri, May 27, 2011 at 5:37 PM, Mark Dootson <mark.doot...@znix.com> 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:\Program Files\CollabNet\Subversion
>>
>> Client;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin;
>
> If the problem previously described was present, then you would see
>
> Path REG_SZ
>
> not
>
> Path REG_EXPAND_SZ

That's what I thought. Anyway, thanks for the explanation.

In the Strawberry package I used to build the Padre-on-Strawberry
package there are two scripts:
relocation.pl.bat   and update_env.pl.bat

After unzipping the package and placing it in a convenient place the user needs
to run these two scripts in order to fix the hard-coded PATH-es in
some perl files and
to change the PATH environment variable of Windows.

This does not take effect immediately and the user either needs to reboot or -
open the window where you can set the environment variables and press OK.
This latter is a bit cumbersome. Is there a way to tell window to do
that without
use interaction? Is there a perl module that can do that?

I am also adding a new script to the package - now I call it setup_padre.pl.bat
which calls padre to add an icon on the desktop of the user.

I guess if the above manual intervention could be eliminated then I
could create
a single .bat that would call the above 3 and setup everything for the user.

Any ideas?

BTW I'd be happy if any of you how understands Windows could take a
look at those scripts.
The first two are only in the distribution. The last one is here:
http://svn.perlide.org/padre/trunk/tools/setup_padre.pl.bat


regards
   Gabor

Reply via email to