KevinParticipantMay 31, 2017 at 6:18 pmPost count: 7
I need to create a sccm application that installs X-lite on a bunch of computers. The current installer can be found here: http://www.counterpath.com/x-lite-download/
The challenge can be summarized like this:
– No logged on user has any admin rights.
– The exe installs to %localappdata%
– The office environment is free seating. So this needs to be installed in every users %localappdata% on all computers.
– The exe prompts for admin rights.
– The exe has no known parameters.
– X-lite has to be the newest version. At launch, it checks for updates and gives the user the choice to update (manually, requires admin) or close. Whatever the solution may be, this has to be low maintenance.
My solution so far:
– PADT script that runs Execute-ProcessAsUser -RunLevel HighestAvailable -Path $PathToExe -Wait
– The Deployment Type is run under the SYSTEM account, and the user is allowed to interact with the installer.
The installer interface shows up, the user needs to accept eula and press next. If the logged on user is admin, everything works fine. If not (which is the case here), the installer will prompt for admin credentials.
I was under the impression that ExecuteProcessAsUser would grant the logged on user admin rights from SYSTEM’s security token through a scheduled task. This seems not to be the case.
- This topic was modified 8 months, 4 weeks ago by Kevin.
FrancoisParticipantJune 2, 2017 at 6:17 pmPost count: 105
First of all you need to understand why your software need admin rights to be install. Maybe the software is uncompressing and one part need admin right and the other one will not.
Did you ask the Publisher Customer support? May be the Customer support have a machine base msi instead a user base one.
KevinParticipantJune 5, 2017 at 9:59 pmPost count: 7
If I recall correctly, the installer creates two firewall entries and creates a shortcut in %public%\Desktop. I tried creating these manually before install, in case the installer would skip these steps, but no luck. The customer support has stated that there are no switches, but earlier versions did. I figure it’s because they want customers to upgrade to the non-free version called Bria.
- This reply was modified 8 months, 3 weeks ago by Kevin.
KevinParticipantJune 6, 2017 at 11:04 amPost count: 7
They probably don’t want to make it easy or possible to deploy the free version:
You must be logged in to reply to this topic.