Link to home
Start Free TrialLog in
Avatar of ctme2000
ctme2000

asked on

Need to automatically check license agreement option during SCCM install set to silent

I'm working on an SCCM application to install VPSX print management software on client machines.
The app was put through Admin Studio.  The Install part of the script runs successfully.  
The software is an .exe file.  It prompts for the user to check a box to accept the companies license agreement, before continuing with the install.

I have the install set to silent, and would like it to run in the background without user involvement.  Is there a way to force check this license checkbox, so that the install continues? Currently, the application runs once deployed in SCCM, but when looking at Task Manager the install .exe just sits there.  I'm assuming it's stuck, waiting for the license box to be checked? Is there a way to code or setting I can check, to force this?  Still getting my feet wet with SCCM/Powershell scripting, etc.

Thanks,
install_license_prompt.jpg
Avatar of Shaun Vermaak
Shaun Vermaak
Flag of Australia image

The icon in the left top gives the impression that it runs via an MSI. You should be able to pass parameters to MSI

Something like
msiexec /i setup.msi SOMEPARAMETER=SOMEVALUE

Open in new window

addng to the observation by Shaun, run the exe. Then look in %temp% c:\windows\temp to see if you can see the expanded install directory from which you could grab the MSI. then see if there is an answer  file to which you can add.

run the exe on a command line with /? to see whether they included command line install options.
with the msi look at using the /a option that could help...

All said everything depends on the options the software provider.
Avatar of ctme2000
ctme2000

ASKER

So I was able to run the install silently, using the original powershell script.  This error occurs after the application has been imported through Admin Studio and we are trying to run it using 'Deploy Application.exe'.

Original install script:

Start-Process "$scriptPath\DRVADVINST64.exe" -ArgumentList '/install /quiet /norestart /log log.txt'

Admin Studio install script:

Execute-Process -path "$dirFiles\DRVADVINST64.exe" -ArgumentList '/install /quiet /norestart /log log.txt'

I've attached the error that comes up when trying to run .\deploy-application.exe install

Is there something that needs to be changed with the argumentlist or parameters when going through Admin Studio?

Thanks,
Install_error.jpg
You have to analyze the options availabe to the EXE or if it expands in %TEMP% with an MSI package what options are available there.  Since you are in posession of the install, only others who have the same installer and had configured this way to deploy it will be able to answer.

at times, the EXE is a wrapper of the package.
i.e. when executed extracts datat into %temp%\somedir....
commonly when the install terminates, it cleans up after itself by deleting the extracted data. so as long as the installer is in process, the files should be there within %temp% where you can look at what is there, and see whether you can use the MSI with the answer file or the MSI itself to create the answer file that will confirm the AULA acceptance....
ASKER CERTIFIED SOLUTION
Avatar of ctme2000
ctme2000

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial