Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id:
83290
Status:
resolved
Priority:
Low/Low

People
Owner:
Nobody in particular
Requestors:
adrian [...] nixnotes.co.uk
Cc:
AdminCc:

BugTracker
Severity:
Unimportant
Broken in:
(no value)
Fixed in:
(no value)



Subject: Installing 5.16.2.1 with a custom path fails
Changing the installation directory to C:\StrawberryPerl resulted in the installation failing. The following is an extract from running with the /lv flag: MSI (s) (74:A8) [11:14:03:025]: Hello, I'm your 32bit Impersonated custom action server. RelocateMSM CustomActionData=MSM;C:\StrawberryPerl\;C:\StrawberryPerl\perl1.reloc.txt Relocate_Worker dir=C:\StrawberryPerl\ file=C:\StrawberryPerl\perl1.reloc.txt Relocate_Worker sDirectoryFrom=C:\strawberry\ ERROR: open.2 'wt' failed for C:\StrawberryPerl\perl1.reloc.txt.new RelocateMSM end CustomAction CA_Relocate_msm.53268040_6C02_1014_AA47_7BB98049ACF7 returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox) Action ended 11:14:03: InstallFinalize. Return value 3. MSI (s) (74:A8) [11:14:03:031]: User policy value 'DisableRollback' is 0 MSI (s) (74:A8) [11:14:03:031]: Machine policy value 'DisableRollback' is 0 This is on Windows 7 64-bit running the installer: http://strawberry-perl.googlecode.com/files/strawberry-perl-5.16.2.1-64bit.msi Reverting the installation path to C:\strawberry resulted in a successful installation. With regards
Subject: Re: [rt.cpan.org #83290] Installing 5.16.2.1 with a custom path fails
Date: Fri, 15 Feb 2013 22:52:09 +0100
To: bug-Perl-Dist-Strawberry@rt.cpan.org
From: kmx <kmx@volny.cz>
Hi, unfortunately I am not able to reproduce the failure. Reported error: ERROR: open.2 'wt' failed for C:\StrawberryPerl\perl1.reloc.txt.new means that installer's custom action was not able to open the mentioned file for writing. It might happen in case the directory c:\strawberryperl already existed with some unusual ACL before the installation. Could you please make sure there is no C:\StrawberryPerl directory and try to run the MSI installer again? -- kmx
From: Wolfgang-Baron.myopenid.com
Hi, Am Fr 15. Feb 2013, 16:52:23, kmx@volny.cz schrieb:
Show quoted text
> unfortunately I am not able to reproduce the failure. > > Reported error: > ERROR: open.2 'wt' failed for C:\StrawberryPerl\perl1.reloc.txt.new
Well, my perl is not going to be installed on C:\. I was trying to install strawberry-perl-5.18.1.1-64bit.msi to D:\Programs\strawberry and the setup wizard ended prematurely: RelocateMSM CustomActionData=MSM;D:\Programs\strawberry\;D:\Programs\strawberry\perl1.reloc.txt Relocate_Worker dir=D:\Programs\strawberry\ file=D:\Programs\strawberry\perl1.reloc.txt Relocate_Worker sDirectoryFrom=C:\strawberry\ ERROR: open.2 'wt' failed for D:\Programs\strawberry\perl1.reloc.txt.new RelocateMSM end CustomAction CA_Relocate_msm.61719D10_6C9C_1014_8F19_DDB236F7176A returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox) Action ended 00:29:46: InstallFinalize. Return value 3. Please make the installation wizard more flexible to allow other directories aswell. I do accpet a limitation on paths without spaces, but it has to be on another drive. Thank you for your efforts!
Subject: Re: [rt.cpan.org #83290] Installing 5.16.2.1 with a custom path fails
Date: Tue, 12 Nov 2013 10:44:45 +0100
To: bug-Perl-Dist-Strawberry@rt.cpan.org
From: kmx <kmx@volny.cz>
It should be possible to install strawberry perl do another drive than C: (e.g.  D:\Programs\strawberry) if it fails it is a bug.

Anyway on my box the latest strawberry perl installs fine on drive D: However I have experienced an error during uninstall (so there is something strange happening)

--
kmx
Subject: Re: [rt.cpan.org #83290] Installing 5.16.2.1 with a custom path fails
Date: Fri, 22 Nov 2013 11:33:47 +0100
To: cpan-bug+Perl-Dist-Strawberry@hipster.bestpractical.com
From: Joël Pothier <pothier.joel@gmail.com>
Hi,

I had also this issue after installing the v.5.18 64 bits MSI version to "C:\perl", un-installing and trying to install new to "C:\". Installing to another custom path different than "C:\" (e.g. "D:\") was however running fine.
After several different attempts, I could fix this problem by:
- un-installing the MSI version
- installing the portable version and run the two .bat files (relocation.pl.bat and update_env.pl.bat)
- un-installing the portable version
- installing  the MSI version with custom path
I hope it could help other people in the same situation.
Yours sincerely

Joël

--
__________________________________________________________________
Mr. Joël POTHIER
pothier.joel@gmail.com 
__________________________________________________________________
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 runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

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