Lets move forward in small steps. A ZIP download/extract is simple, and consistent with other platforms.
cheers -ben
P.S. I was going to suggest also renaming Pharo.exe to PharoLauncher.exe
but with an empty Documents\Pharo\vms
I get... "Error: Cannot detect Pharo executable in C:\Temp\MyPharoLauncher\PharoLauncher"
in PhLVirtualMachine>>initializeOn: "File @ C:\Temp\MyPharoLauncher\PharoLauncher"
since "executables := aFolder allChildrenMatching: self class executableName."
is empty since "self class executableName" ==> "Pharo.exe"
It would be nice for that to not be hard coded. I tried digging further but ran out of time.
I am curious it mattered since using "Pharo.exe" the Launcher went on to download a VM anyway.
P.S.2.
I believe the best path forward for system-wide PharoLauncher installed under "C:\Program Files"
would be to install there only...
* the VM
* PharoLauncher.ZIP
* a tiny non-Pharo wrapper program as the shortcut linked from AllUsers > Start Menu > PharoLauncher
that extracts PharoLauncher.ZIP to the user's data area and then starts that user specific PharoLauncher.
Then regardless whether:
* they individually download/extract PharoLauncher.ZIP
* the system-wide-wrapper extracts PharoLauncher.ZIP
its a similar experience for users which should aid reliability by reducing the number of "different " use cases.