Please test, comment
downloaded the exe from the release, started it up and i see an hourglass. there is some indication of a dialog not responding. will terminate and try again.
!
hum did you accept the windows user access control ?
sometimes it remains in the background
didn't even see that -- but unblocking via properties is yielding saner behavior
i'm afraid i don't quite understand the problem
how was it blocked ?
and what properties?
from windows explorer
the default on this machine for downloaded things appears to be to "mark" things blocked
ohhh ok
i didn't know that even was a thing !
lol
from windows powershell, i can see output for clj -h
but not from powershell core
hum
try [Environment]::GetEnvironmentVariable("PSModulePath")
from cmd.exe it works
pardon me as i do this slowly as this is via a vm 🙂
i'm very glad that you test it at all =)
actually, it's via rdp 🙂
wew
there is a bug in ClojureTools (the powershell stuff made by cognitect and which i use there)
if you start powershell, it will first look at the path instead of inside powershell for the clj and clojrue commands
this is what i saw: C:\Users\user\Documents\PowerShell\Modules;C:\Program Files\PowerShell\Modules;c:\program files\powershell\6\Modules;C:\windows\system32\WindowsPowerShell\v1.0\Modules
ok the install was not successfull
ah, why does it work for windows powershell, i wonder? old things remaining?
the program shoudl at least be in c:\program files\clojure
yes, something prevented the powershell install scripts to run, that's very fiddly
i see a c:\program files\clojure here with some files and such
should i try running the installer again?
i don't think this would change anything, but you may try =)
ha ha ha
the installer runs powershell scripts, to do this it has to first edit the registry for the users that disallow it, that's 2 points of failure
though i tested it with maximum security here
what version of windows are you running ?
windows 10 pro
same as mine
for completeness, here's the output of power shell core:
Invoke-Clojure : The term 'Invoke-Clojure' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
again.
At line:1 char:1
+ Invoke-Clojure -h
+ ~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Invoke-Clojure:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
ah so your clj command is from the unofficial tool
it is? i thought i uninstalled it -- i'll check
for reference this is 1903 of windows 10
check your path environment variable to find it
or where.exe clj
how do you run two powershells on the same machine ?
that's another point of failure
where clj yields no output
i have the default windows powershell and powershell core
ok so you have it installed in windows powershell and not on powershell core
the output of [Environment]::GetEnvironmentVariable("PSModulePath")
was on which one ?
that was for powershell core
ah, i had your wrapper installed too -- got rid of that just now
may i ask that you try the same command on regular powershell ?
ofc, just a sec
[Environment]::GetEnvironmentVariable("PSModulePath")
windows power shell
C:\Users\user\Documents\WindowsPowerShell\Modules;C:\Program Files (x86)\WindowsPowerShell\Modules;C:\Program Files\WindowsPowerShell\Modules;C:\windows\system32\WindowsPowerShell\v1.0\Modules;C:\Program Files\Clojure\Modules
powershell core
C:\Users\user\Documents\PowerShell\Modules;C:\Program Files\PowerShell\Modules;c:\program files\powershell\6\Modules;C:\windows\system32\WindowsPowerShell\v1.0\Modules
aha ! there it is !
so the install succeeded on regular powershell
and now the final test, try running clojure or clj from a regular cmd prompt
ah, that worked -- but will try it again for fun
yes, worked again
ok so it works indeed, just not on powershell core, I must admit i have no clue at all about that beast =)
i presume you meant via cmd.exe
yes
i guess they're not using the same registry entries etc
i don't know what will happen ofc, but my sense is that ms wants to move to powershell core
they even advertise it when you start windows powershell 🙂
i'm not sure, that's a step in the unix world, but they do not provide the same security guaranties with powershell core
hum not on my machine, but my version is nowhere close to the latest
ah, btw, it's been a really long time since i've used inno setup, but was it possible to show the details of installation during the installation (like a text windows that can have its content copied)?
i think my windows powershell is 5.2.1
nope that's nullsoft install that allows that i think
ah, ok
i don't remember nsis being particularly easy to think in 🙂
5.1 here
yes that language is like a strange breed of forth
your installer page mentioned one other choice i hadn't heard of
Wix is both feet in microsoft land
with all the craziness that goes along with it
ah, i see
their help page is describing properties like this : this will give you access to feature 51 or 54
!!
i guess i can do some research at: https://alternativeto.net/software/nsis/
I think it's the more versatile one
but you have to do more work for the same result
if you're real bent on obtaining a log file from this install,i think there is a /log option you can start it with
i don't personally have difficulty with inno setup as a former user, but i can imagine other folks not being too keen
ah, thanks for the tip on the log option
you mean because of the license ?
the lack of source, i was thinking
true enough
the hard part about doing this installer was more the dance with powershell security, it wouldn't be that hard to change to nullsoft
ah, it's good to hear you seem to have gotten the hard part working 🙂
not that hard though =)
the idea is to maybe dump it on cognitect so i want it to be easy to maintain, they already have quite a burden to bear with clojure
my mistake, apparently inno setup source is available: http://jrsoftware.org/isdl.php#cvsgit
oh so they're open source but not free software, though free as in beer