Hi Cédrick,

You could give a chance to this version (not official): 
https://ci.inria.fr/pharo-ci-jenkins2/job/PharoLauncher/lastSuccessfulBuild/artifact/pharo-launcher-installer-bleedingEdge-2018.03.23-x86.exe
It does not require anymore admin mode. I think the error below comes from 
missing write permissions on the file system.

Thanks for the feedback,
Christophe


> Le 22 mars 2018 à 22:14, Cédrick Béler <[email protected]> a écrit :
> 
> Hi,
> 
> I just saw students and they still have some problem on windows with the 
> launcher.
> 
> First, the launcher has to be run in admin mode.
> 
> Then, the image download starts but there is an error when uncompressing. 
> Here is the stack.
> 
> Any idea on how to fix that ?
> 
> 
> 
> FileHandle>>streamError
> FileHandle>>writeStream
> FileSystem>>writeStreamOn:
> FileReference>>writeStream
> FileReference(AbstractFileReference)>>writeStreamDo:
> ZipFileMember(ZipArchiveMember)>>extractInDirectory:overwrite:
> [ :entry | 
> | response |
> entry isDirectory
>       ifFalse: [ bar ifNotNil: [ bar label: 'Extracting ' , entry fileName ].
>               response := entry
>                       extractInDirectory: aDirectory
>                       overwrite: overwriteAll.
>               response == #retryWithOverwrite
>                       ifTrue: [ overwriteAll := true.
>                               response := entry
>                                       extractInDirectory: aDirectory
>                                       overwrite: overwriteAll ].
>               response == #abort
>                       ifTrue: [ ^ self ].
>               response == #failed
>                       ifTrue: [ (self confirm: 'Failed to extract ' , entry 
> fileName , '. Proceed?')
>                                       ifFalse: [ ^ self ] ] ] ] in 
> ZipArchive>>extractAllTo:informing:overwrite: in Block: [ :entry | ...
> OrderedCollection>>do:
> ZipArchive>>extractAllTo:informing:overwrite:
> ZipArchive>>extractAllTo:informing:
> [ :bar | self extractAllTo: aDirectory informing: bar ] in 
> ZipArchive>>extractAllTo: in Block: [ :bar | self extractAllTo: aDirectory 
> informing: ...etc...
> [ :bar | aBlock value: bar ] in MorphicUIManager>>informUserDuring: in Block: 
> [ :bar | aBlock value: bar ]
> BlockClosure>>cull:
> [ ^ block cull: self ] in [ self prepareForRunning.
> CurrentJob value: self during: [ ^ block cull: self ] ] in Job>>run in Block: 
> [ ^ block cull: self ]
> [ activeProcess psValueAt: index put: anObject.
> aBlock value ] in CurrentJob(DynamicVariable)>>value:during: in Block: [ 
> activeProcess psValueAt: index put: anObject....
> BlockClosure>>ensure:
> CurrentJob(DynamicVariable)>>value:during:
> CurrentJob class(DynamicVariable class)>>value:during:
> [ self prepareForRunning.
> CurrentJob value: self during: [ ^ block cull: self ] ] in Job>>run in Block: 
> [ self prepareForRunning....
> BlockClosure>>ensure:
> Job>>run
> MorphicUIManager(UIManager)>>displayProgress:from:to:during:
> MorphicUIManager>>informUserDuring:
> ZipArchive>>extractAllTo:
> PhLRemoteTemplate(PhLAbstractTemplate)>>extractZipArchive:to:
> PhLRemoteTemplate(PhLAbstractTemplate)>>extractTo:named:
> PhLDirectoryBasedImageRepository>>extractTemplate:to:
> PhLCreateImageFromTemplateCommand>>execute
> PhLCreateImageFromTemplateCommand(PhLCommand)>>executeIfApplicable
> PhLCommandButton>>performAction
> 
> 
> 
> Thanks 
> 
> Cédrick

Reply via email to