Skip Menu |
 

This queue is for tickets about the Perl-Dist-Strawberry CPAN distribution.

Report information
The Basics
Id: 88984
Status: resolved
Priority: 0/
Queue: Perl-Dist-Strawberry

People
Owner: Nobody in particular
Requestors: michael.strout [...] clearstructure.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: strawberry perl for windows installer using user profile for some items rather than global profile
Date: Thu, 26 Sep 2013 09:43:44 -0400
To: bug-Perl-Dist-Strawberry [...] rt.cpan.org
From: Michael Strout <michael.strout [...] clearstructure.com>
Download (untitled) / with headers
text/plain 2.4k
Hi all, I discovered an issue with the strawberry perl for windows installer recently when I tried to run a script via the windows task manager. I had installed perl when logged in as myself and had configured the scheduled task to run as the job user for the server. After a bit of troubleshooting, even when the job user had the same credentials, group membership, and user rights assignments, the job would fail with 0x2 return code from the task scheduler when running under the job user, but would work fine when run under my user (whether I was logged in or not). At the suggestion of Mr. Kindle in response to my post in the Spiceworks community here: http://community.spiceworks.com/topic/384705-perl-script-in-scheduled-task-on-win2k8r2-runs-under-my-user-but-not-jobuser?page=1#entry-2569665 I logged in as the job user and used the repair option in the perl installer. This was what was ultimately necessary for the script to be run in this fashion under that user. This suggests that the installer is putting some of its items/registry entries/whatever in the logged in user's profile when it should be putting them in the global profile that all users can access. Operating system = Microsoft Windows server 2008 R2 SP1 64 bit Network environment = workgroup/isolated Perl installer = strawberry-perl-5.18.1.1-64bit.msi modules required for the script run that were not included in the installer included Email::MIME and Net::SSLGlue modules which were installed via cpan Scheduled task in windows pointed directly at the script and was configured to run whether the user was logged in or not and with highest privileges. Sincerely, - *Michael Everett Strout* -- - CONFIDENTIALITY NOTICE - This e-mail message from ClearStructure Financial Technology, LLC is intended only for the individual or entity to which it is addressed. This e-mail may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you received this e-mail by accident, please notify the sender immediately and destroy this e-mail and all copies of it. We take steps to protect against viruses but advise you to carry out your own checks and precautions as we accept no liability for any which remain. We may monitor emails sent to and from our server(s) to ensure regulatory compliance to protect our clients and business.
Subject: Re: [rt.cpan.org #88984] strawberry perl for windows installer using user profile for some items rather than global profile
Date: Thu, 26 Sep 2013 20:33:37 +0200
To: bug-Perl-Dist-Strawberry [...] rt.cpan.org
From: kmx <kmx [...] volny.cz>
Download (untitled) / with headers
text/plain 339b
Strawberry's installer was intended to install all things system wide (AKA "for all users") therefore there was no intent to install anything to user profile. Could you please try to run the installation via this command: c:\anydir> msiexec /l*vx install.log /i strawberry-perl-5.18.1.1-32bit.msi and send me back install.log -- kmx
Subject: Re: [rt.cpan.org #88984] strawberry perl for windows installer using user profile for some items rather than global profile
Date: Mon, 30 Sep 2013 10:19:50 -0400
To: bug-Perl-Dist-Strawberry [...] rt.cpan.org
From: Michael Strout <michael.strout [...] clearstructure.com>
I tried doing this on a different server running the same OS and wasn't able to reproduce it with a simple hello world script that writes the words to a file. I'm going to test the hello world script on the production server. I tried to set up the environment on the test server for the script is failing due to an error when trying to install Net::SSLGlue from cpan, getting a "The program can't start because LIBEAY32__.dll is missing from your computer. Try reinstalling the program to fix this problem" error. I've attached the install.log file from the test machine. The item the script is for isn't live yet so I'll see if I can uninstall, then re-install on the production machine to get an install.log and re-produce properly there. Sincerely, - *Michael Everett Strout* On Thu, Sep 26, 2013 at 2:33 PM, kmx via RT < bug-Perl-Dist-Strawberry@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=88984 > > > Strawberry's installer was intended to install all things system wide (AKA > "for all users") therefore there was no intent to install anything to user > profile. > > Could you please try to run the installation via this command: > > c:\anydir> msiexec /l*vx install.log /i strawberry-perl-5.18.1.1-32bit.msi > > and send me back install.log > > -- > kmx > >
-- - CONFIDENTIALITY NOTICE - This e-mail message from ClearStructure Financial Technology, LLC is intended only for the individual or entity to which it is addressed. This e-mail may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you received this e-mail by accident, please notify the sender immediately and destroy this e-mail and all copies of it. We take steps to protect against viruses but advise you to carry out your own checks and precautions as we accept no liability for any which remain. We may monitor emails sent to and from our server(s) to ensure regulatory compliance to protect our clients and business.
Download install.zip
application/zip 1.2m

Message body not shown because it is not plain text.

MSI installer was redesigned in 5.20.x series. Please try latest strawberry perl 5.20.1.1. If no new response appears here I will close this ticked 2 weeks from now.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.