Follow

Advanced Windows Credential Provider configuration

Note: This guide is only applicable to the following installers

Windows Credential Provider Supporting Windows 10 - 32 Bit installer.
Windows Credential Provider supporting Windows 10 - 64 Bit installer

For a full installation guide please see this article

For more information on the aalogon.ini builder please see this article.

 

An MSI installer in not able to be run in elevated mode like an Exe, it does have the ability to be run through either a command prompt of a batch file.

Command line format:

"msiexec /Option <Required Parameter> [Optional Parameter]"

Installation Options:

/i Install normal user interaction. Required when used in conjunction with other options.

/quiet Quiet mode, no user interaction (use this option if you want to run a full silent install)

Examples:

Basic Install - msiexec.exe /i C:\(Directory)\AAWinLogonCP_x64.msi /quiet

/passive

Unattended mode - progress bar only

/q[n|b|r|f]

Sets user interface level (Use these options to dictate how much of the interface you want the end user to see)

n - No UI

b - Basic UI

r - Reduced UI

f - Full UI (default)

Examples:

No UI - msiexec.exe /i C:\(Directory)\AAWinLogonCP_x64.msi /qn

Basic UI - msiexec.exe /i C:\(Directory)\AAWinLogonCP_x64.msi /qb

Reduced UI - msiexec.exe /i C:\(Directory)\AAWinLogonCP_x64.msi /qr

Full UI - msiexec.exe /i C:\(Directory)\AAWinLogonCP_x64.msi /qf

Logging Options

/l[i|w|e|a|r|u|c|m|o|p|v|x|+|!|*] <LogFile>

i - Status messages

w - Nonfatal warnings

e - All error messages

a - Start up of actions

r - Action-specific records

u - User requests

c - Initial UI parameters

m - Out-of-memory or fatal exit information

o - Out-of-disk-space messages

p - Terminal properties

v - Verbose output

x - Extra debugging information

+ - Append to existing log file

! - Flush each line to the log

* - Log all information, except for v and x options

/log <LogFile>

Equivalent of /l* <LogFile>

Example: msiexec.exe /i C:\(Directory)\AAWinLogonCP_x64.msi /l*v InstallLog.txt /qn

/l*v InstallLog.txt - create a log file, log all information, and include Verbose to a file in the same directory named InstallLog.txt

/help Help information

Restart Options

/forcerestart Always restart the computer after installation

Example: " msiexec.exe /i C:\(Directory)\AAWinLogonCP_x64.msi /l*v InstallLog.txt /qn /forcerestart


Using an *.ini file.

The AuthAnvil Windows logon CP agent msi can be installed and used in conjunction with the “logonIniBuilder.exe” with will allow for setting the SAS url, the override password, and other options for the installation and allowing for distribution and execution over a network.

Once the ini is built, you only need to include where it is for the installation to pick it up and use it.

Use With INI file

PTINI="C:\(Directory)\aalogon.ini"

Example: Install with ini - " msiexec.exe /i C:\(Directory)\CP\AAWinLogonCP_x64.msi PTINI="C:\(Directory)\CP\aalogon.ini" /l*v InstallLog.txt /qn "


Setting an uninstallation Password

To set an uninstall password, simply add the following:
msiexec.exe /i C:\(Directory)\AAWinLogonCP_x64.msi UNINSTALLPWD="dog"


Example: Quiet mode, no ui, using an ini file, uninstall password, Logging, and forcing a restart once the install is complete.

msiexec.exe /i C:\(Directory)\AAWinLogonCP_x64.msi PTINI="C:\(Directory)\CP\aalogon.ini" UNINSTALLPWD="dog" /l*v InstallLog.txt /qn /forcerestart

Uninstall options

UnInstall Options -from command line start with "msiexec.exe" then add one of the following:

/x (or) /uninstall - Uninstalls the product

UNINSTALLPWD - identifies the password required to uninstall the credential provider.

Example: Basic uninstall - " msiexec.exe /x C:\(Directory)\AAWinLogonCP_x64.msi "

With install Password - " msiexec.exe /x C:\(Directory)\AAWinLogonCP_x64.msi UNINSTALLPWD="dog" "

Install Password & logging - " msiexec.exe /x C:\(Directory)\AAWinLogonCP_x64.msi UNINSTALLPWD="dog" /l*v UnInstallLog.txt "

 

Batch Files

With the MSI you also have the ability to use batch files to help keep installs consistent across a network.

Below are some batch file examples that can be modified or expanded to include options identified in the previous section, depending on the situation.


Standard Installation with Log

start /wait msiexec.exe /i C:\(Directory)\CP\AAWinLogonCP_x64.msi /l*v InstallLog.txt

Silent Install with Log

start /wait msiexec.exe /i C:\Installers\CP\AAWinLogonCP_x64.msi /l*v InstallLog.txt /qn


Silent Install using the ini file and Log

start /wait msiexec.exe /i C:\Installers\CP\AAWinLogonCP_x64.msi PTINI="C:\Installers\CP\aalogon.ini" /l*v InstallLog.txt /qn


Silent install with uninstall password and Log

start /wait msiexec.exe /i C:\Installers\CP\AAWinLogonCP_x64.msi UNINSTALLPWD="dog" /l*v InstallLog.txt /qn


Uninstall using Password and Uninstall Log
start /wait msiexec.exe /x C:\Installers\CP\AAWinLogonCP_x64.msi UNINSTALLPWD="dog" /l*v UnInstallLog.txt

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk