Deployment Solution

 View Only
  • 1.  Supress UAC prompt on scripted install

    Posted Jun 09, 2014 11:01 AM

    My department uses jobs with scripts to install our universities software remotely and silently to the various labstations around campus. I am working on a script to install IDEA accounting software (v9.1.1). The documentation that came with the software instructs to use the following:

    Setup.exe /s <license key> ACCEPTEULA=1

    This is to silentely install the software using the license key that came with the software. When I run this script on my own machine, it begins installing silently, but abou half way through the process, a UAC prompt appears asking me for my credentials. When I provide them, the installation continues silently, and installs just fine. However, when I run a job with the exact same script in Altiris, the script just runs on and on, never finishing. I'm assuming this is because the test machine I am deploying the job to is getting stuck at a UAC prompt that it can't deal with. Is there any way to supress these prompts, or any way around this?

     



  • 2.  RE: Supress UAC prompt on scripted install

    Posted Jun 10, 2014 10:35 AM

    When you run it on your own machine, are you running the command from an elevated command prompt? If not, what happens when you do? We keep the UAC on and don't usually run into this issue as long as the service account we're installing the software with is an admin on the machine however there have been a few occasions. Sometimes we're able to find that the setup.exe is actually extracting and running a bunch of different installs and we have to chase down which one might be causing the pause (mostly because of a question and not the UAC).

    Another option, but not tested, would be to run the install from a script which has an embeded runas in it which runs the install as an administrator. Since you're supplying the username and pw in the command, the prompt shouldn't come up.