trustcrypto / OnlyKey-App

The OnlyKey App is used for the initial setup and configuration of OnlyKey. Supported on Windows, macOS, Linux, and Chromebook (with Chrome App).
https://docs.crp.to/app.html
Other
105 stars 24 forks source link

Onlykey No Admin No Administrator #200

Closed freeload101 closed 2 years ago

freeload101 commented 2 years ago

Because you can't install Onlykey without local admin ... not even set __COMPAT_LAYER=RUNASINVOKER works ...

https://github.com/freeload101/SCRIPTS/blob/master/Windows_Batch/OnlyKey_Installer.bat

onlykey commented 2 years ago

@freeload101 Thanks! I know we have had users needing to use the app without admin privileges. I will test this out and see if we can add to our documentation.

freeload101 commented 2 years ago

@freeload101 Thanks! I know we have had users needing to use the app without admin privileges. I will test this out and see if we can add to our documentation.

Yah my Support form user "RMcCurdyDOTcom" has a reply to se issue but of course my account got "temporarily placed on hold as a precautionary measure." ...

feel free to take the script and use it or just make your binary package use MSI or NSIS something that has a extract flag...no need to "install" anything

freeload101 commented 2 years ago

BUMP ? I am having issues with my DUO #2 softkey not working at all anymore :( I can't see to find where to get warranty or support...and I can't ask on the onlykey.discourse.group because BOTH my accounts I created to help you guys are locked ...

onlykey commented 2 years ago

@freeload101 Sorry about that, I found your username on the forum that you posted above and reenabled your account. I am not sure why it was blocked.

freeload101 commented 2 years ago

Thank you! I tried to find a way to extract LZMA or whatever without 7z dll but as far as I can tell no way to extract the files ..I may check %TEMP% on install will see

onlykey commented 2 years ago

@freeload101 Thanks, I was going to see if there was another option when creating the package that doesn't use LZMA so standard ZIP utility could decompress.

freeload101 commented 2 years ago

Thank you!

You can just use powershell there is Expand-Archive way and a much faster way with calling System.IO.Compression.ZipFile. I had to use it to make Bloodhound extract much faster (lots of tiny files)

https://github.com/freeload101/Bloodhound-Portable/blob/128f174015091db2a9e99ce4a8b3d74e2855dc88/BloodHound_Portable.bat#L103

onlykey commented 2 years ago

@freeload101 We can package the app using zlib instead of lzma. But the Expand-Archive method fails, are you able to unzip this one without needing 7zip?

https://drive.google.com/file/d/18caYYI_QbhhnQaFGAt5Q2G1hGNYSrUw8/view?usp=sharing

freeload101 commented 2 years ago

W00T! Thanks! Not sure it's kosher for Choco installer but I seen them use autohotkey so ill submit it and see what happens lol

https://github.com/freeload101/SCRIPTS/blob/master/Windows_Powershell_ps/OnlyKey_Installer.ps1