I am trying to install azure for a couple users in our environment. I ran it with this script.
wait __Download\StorageExplorer-windows-x64.exe /quiet /norestart
ive noticed it just gets stuck on running thats it. so I tried to test manually. when i click on the install it prompts me. “install for me only” or “install for all users”.
i ran this through powershell
.\StorageExplorer-windows-x64.exe /VERYSILENT /NORESTART /ALLUSERS
and it worked. but i need to silent install it for “me” only. ive tried alot of possible ways but still does not silent install the software
Look into there documentation - Storage Explorer 1.13.0 | No silent install possible /VERYSILENT /NORESTART · Issue #2987 · microsoft/AzureStorageExplorer · GitHub
If you want to Install all for all users on the machine -
/VERYSILENT /NORESTART /ALLUSERS
If you want to install for the current user
/VERYSILENT /NORESTART /CURRENTUSER
BUT remember that the BESClient start as SYSTEM account, so of you want to impersonate to the current logged on user:
override wait
completion=job
hidden=true
runas=currentuser
wait __Download\StorageExplorer-windows-x64.exe /VERYSILENT /NORESTART /CURRENTUSER
And make sure the task is running only when there is logged on user.
Just to understand why you want to install it for specific users and not for all users?
3 Likes
because they the user requested only for themselves