Last active 1748337338

Revision c748ad0ec1f40d3dc95c4ff742864ac9c5882d86

config.psd1 Raw
1# This is a config.psd1 example for PSADT4+
2
3@{
4 Assets = @{
5 # Specify filename of the logo.
6 Logo = '..\Assets\AppIcon.png'
7
8 # Specify filename of the banner (Classic-only).
9 Banner = '..\Assets\Banner.Classic.png'
10 }
11
12 MSI = @{
13 # Installation parameters used for non-silent MSI actions.
14 InstallParams = 'REBOOT=ReallySuppress /QB-!'
15
16 # Logging level used for MSI logging.
17 LoggingOptions = '/L*V'
18
19 # Log path used for MSI logging.
20 LogPath = '$envWinDir\Logs\Software'
21
22 # Log path used for MSI logging when RequireAdmin is False.
23 LogPathNoAdminRights = '$envProgramData\Logs\Software'
24
25 # The length of time in seconds to wait for the MSI installer service to become available. Default is 600 seconds (10 minutes).
26 MutexWaitTime = 600
27
28 # Installation parameters used for silent MSI actions.
29 SilentParams = 'REBOOT=ReallySuppress /QN'
30
31 # Installation parameters used for MSI uninstall actions.
32 UninstallParams = 'REBOOT=ReallySuppress /QN'
33 }
34
35 Toolkit = @{
36 # Specify the path for the cache folder.
37 CachePath = '$envProgramData\SoftwareCache'
38
39 # Specify if the log files should be bundled together in a compressed zip file.
40 CompressLogs = $false
41
42 # Choose from either 'Native' for native PowerShell file copy via Copy-ADTItem, or 'Robocopy' to use robocopy.exe.
43 FileCopyMode = 'Native'
44
45 # Specify if an existing log file should be appended to.
46 LogAppend = $true
47
48 # Specify if debug messages such as bound parameters passed to a function should be logged.
49 LogDebugMessage = $false
50
51 # Specify maximum number of previous log files to retain.
52 LogMaxHistory = 10
53
54 # Specify maximum file size limit for log file in megabytes (MB).
55 LogMaxSize = 10
56
57 # Log path used for Toolkit logging.
58 LogPath = '$envProgramData\Microsoft\IntuneManagementExtension\Logs'
59
60 # Same as LogPath but used when RequireAdmin is False.
61 LogPathNoAdminRights = '$envProgramData\Logs\Software'
62
63 # Specify if log file should be a CMTrace compatible log file or a Legacy text log file.
64 LogStyle = 'CMTrace'
65
66 # Specify if log messages should be written to the console.
67 LogWriteToHost = $true
68
69 # Specify if console log messages should bypass PowerShell's subsystems and be sent direct to stdout/stderr.
70 # This only applies if "LogWriteToHost" is true, and the script is being ran in a ConsoleHost (not the ISE, or another host).
71 LogHostOutputToStdStreams = $false
72
73 # Automatically changes DeployMode to Silent during the OOBE.
74 OobeDetection = $true
75
76 # Registry key used to store toolkit information (with PSAppDeployToolkit as child registry key), e.g. deferral history.
77 RegPath = 'HKLM:\SOFTWARE'
78
79 # Same as RegPath but used when RequireAdmin is False. Bear in mind that since this Registry Key should be writable without admin permission, regular users can modify it also.
80 RegPathNoAdminRights = 'HKCU:\SOFTWARE'
81
82 # Specify if Administrator Rights are required. Note: Some functions won't work if this is set to false, such as deferral, block execution, file & registry RW access and potentially logging.
83 RequireAdmin = $true
84
85 # Automatically changes DeployMode for session zero (SYSTEM) operations.
86 SessionDetection = $true
87
88 # Path used to store temporary Toolkit files (with PSAppDeployToolkit as subdirectory), e.g. cache toolkit for cleaning up blocked apps. Normally you don't want this set to a path that is writable by regular users, this might lead to a security vulnerability. The default Temp variable for the LocalSystem account is C:\Windows\Temp.
89 TempPath = '$envTemp'
90
91 # Same as TempPath but used when RequireAdmin is False.
92 TempPathNoAdminRights = '$envTemp'
93 }
94
95 UI = @{
96 # Used to turn automatic balloon notifications on or off.
97 BalloonNotifications = $true
98
99 # The name to show by default for all balloon notifications.
100 BalloonTitle = 'PSAppDeployToolkit'
101
102 # Choose from either 'Fluent' for contemporary dialogs, or 'Classic' for PSAppDeployToolkit 3.x WinForms dialogs.
103 DialogStyle = 'Fluent'
104
105 # Exit code used when a UI prompt times out.
106 DefaultExitCode = 1618
107
108 # Time in seconds after which the prompt should be repositioned centre screen when the -PersistPrompt parameter is used. Default is 60 seconds.
109 DefaultPromptPersistInterval = 60
110
111 # Time in seconds to automatically timeout installation dialogs. Default is 55 minutes so that dialogs timeout before Intune times out.
112 DefaultTimeout = 3300
113
114 # Exit code used when a user opts to defer.
115 DeferExitCode = 60012
116
117 # Specify whether to re-enumerate running processes dynamically while displaying Show-ADTInstallationWelcome.
118 # If the CloseProcesses items were not running when the prompt was displayed, and are subsequently detected to be running, the prompt will be updated with the apps to close.
119 # If the CloseProcesses items were running when the prompt was displayed and are subsequently detected not to be running then the installation will automatically continue if deferral is not available.
120 # If the running applications change (new CloseProcesses launched or running processes closed), the list box will dynamically update to reflect the currently running applications.
121 DynamicProcessEvaluation = $true
122
123 # Time in seconds after which to re-enumerate running processes while displaying the Show-ADTInstallationWelcome prompt. Default is 2 seconds.
124 DynamicProcessEvaluationInterval = 2
125
126 <# Specify a static UI language using the one of the Language Codes listed below to override the language culture detected on the system.
127 Language Code Language | Language Code Language
128 ============= ======== | ============= ========
129 AR Arabic | KO Korean
130 CZ Czech | NL Dutch
131 DA Danish | NB Norwegian (Bokmål)
132 DE German | PL Polish
133 EN English | PT Portuguese (Portugal)
134 EL Greek | PT-BR Portuguese (Brazil)
135 ES Spanish | RU Russian
136 FI Finnish | SK Slovak
137 FR French | SV Swedish
138 HE Hebrew | TR Turkish
139 HU Hungarian | ZH-Hans Chinese (Simplified)
140 IT Italian | ZH-Hant Chinese (Traditional)
141 JA Japanese |
142 #>
143 LanguageOverride = $null
144
145 # Time in seconds after which to re-prompt the user to close applications in case they ignore the prompt or they cancel the application's save prompt.
146 PromptToSaveTimeout = 120
147
148 # Time in seconds after which the restart prompt should be re-displayed/repositioned when the -NoCountdown parameter is specified. Default is 600 seconds.
149 RestartPromptPersistInterval = 600
150 }
151}