|
16 | 16 | Execute="deferred" |
17 | 17 | Return="check" /> |
18 | 18 |
|
19 | | - <CustomAction Id="PowerShellScriptsUninstall" |
20 | | - BinaryKey="CA_DLL" |
21 | | - DllEntry="PowerShellScriptsUninstall" |
22 | | - Execute="immediate" |
23 | | - Return="check" /> |
24 | | - |
25 | | - <CustomAction Id="PowerShellScriptsUninstallDeferred" |
26 | | - BinaryKey="CA_DLL" |
27 | | - DllEntry="PowerShellScriptsUninstallDeferred" |
28 | | - Impersonate="yes" |
29 | | - Execute="deferred" |
30 | | - Return="check" /> |
| 19 | + <CustomAction Id="PowerShellScriptsUninstall" |
| 20 | + BinaryKey="CA_DLL" |
| 21 | + DllEntry="PowerShellScriptsUninstall" |
| 22 | + Execute="immediate" |
| 23 | + Return="check" /> |
| 24 | + |
| 25 | + <CustomAction Id="PowerShellScriptsUninstallDeferred" |
| 26 | + BinaryKey="CA_DLL" |
| 27 | + DllEntry="PowerShellScriptsUninstallDeferred" |
| 28 | + Impersonate="yes" |
| 29 | + Execute="deferred" |
| 30 | + Return="check" /> |
31 | 31 |
|
32 | 32 | <CustomAction Id="PowerShellScriptsElevatedImmediate" |
33 | 33 | BinaryKey="CA_DLL" |
|
42 | 42 | Execute="deferred" |
43 | 43 | Return="check" /> |
44 | 44 |
|
45 | | - <CustomAction Id="PowerShellScriptsElevatedUninstall" |
46 | | - BinaryKey="CA_DLL" |
47 | | - DllEntry="PowerShellScriptsElevatedUninstall" |
48 | | - Execute="immediate" |
49 | | - Return="check" /> |
50 | | - |
51 | | - <CustomAction Id="PowerShellScriptsElevatedUninstallDeferred" |
52 | | - BinaryKey="CA_DLL" |
53 | | - DllEntry="PowerShellScriptsElevatedUninstallDeferred" |
54 | | - Impersonate="no" |
55 | | - Execute="deferred" |
56 | | - Return="check" /> |
| 45 | + <CustomAction Id="PowerShellScriptsElevatedUninstall" |
| 46 | + BinaryKey="CA_DLL" |
| 47 | + DllEntry="PowerShellScriptsElevatedUninstall" |
| 48 | + Execute="immediate" |
| 49 | + Return="check" /> |
| 50 | + |
| 51 | + <CustomAction Id="PowerShellScriptsElevatedUninstallDeferred" |
| 52 | + BinaryKey="CA_DLL" |
| 53 | + DllEntry="PowerShellScriptsElevatedUninstallDeferred" |
| 54 | + Impersonate="no" |
| 55 | + Execute="deferred" |
| 56 | + Return="check" /> |
57 | 57 |
|
58 | 58 | <CustomAction Id="PowerShellFilesImmediate" |
59 | 59 | BinaryKey="CA_DLL" |
|
68 | 68 | Execute="deferred" |
69 | 69 | Return="check" /> |
70 | 70 |
|
71 | | - <CustomAction Id="PowerShellFilesUninstall" |
72 | | - BinaryKey="CA_DLL" |
73 | | - DllEntry="PowerShellFilesUninstall" |
74 | | - Execute="immediate" |
75 | | - Return="check" /> |
| 71 | + <CustomAction Id="PowerShellFilesUninstall" |
| 72 | + BinaryKey="CA_DLL" |
| 73 | + DllEntry="PowerShellFilesUninstall" |
| 74 | + Execute="immediate" |
| 75 | + Return="check" /> |
76 | 76 |
|
77 | | - <CustomAction Id="PowerShellFilesUninstallDeferred" |
78 | | - BinaryKey="CA_DLL" |
79 | | - DllEntry="PowerShellFilesUninstallDeferred" |
80 | | - Impersonate="yes" |
81 | | - Execute="deferred" |
82 | | - Return="check" /> |
| 77 | + <CustomAction Id="PowerShellFilesUninstallDeferred" |
| 78 | + BinaryKey="CA_DLL" |
| 79 | + DllEntry="PowerShellFilesUninstallDeferred" |
| 80 | + Impersonate="yes" |
| 81 | + Execute="deferred" |
| 82 | + Return="check" /> |
83 | 83 |
|
84 | 84 | <CustomAction Id="PowerShellFilesElevatedImmediate" |
85 | 85 | BinaryKey="CA_DLL" |
|
94 | 94 | Execute="deferred" |
95 | 95 | Return="check" /> |
96 | 96 |
|
97 | | - <CustomAction Id="PowerShellFilesElevatedUninstall" |
98 | | - BinaryKey="CA_DLL" |
99 | | - DllEntry="PowerShellFilesElevatedUninstall" |
100 | | - Execute="immediate" |
101 | | - Return="check" /> |
| 97 | + <CustomAction Id="PowerShellFilesElevatedUninstall" |
| 98 | + BinaryKey="CA_DLL" |
| 99 | + DllEntry="PowerShellFilesElevatedUninstall" |
| 100 | + Execute="immediate" |
| 101 | + Return="check" /> |
102 | 102 |
|
103 | | - <CustomAction Id="PowerShellFilesElevatedUninstallDeferred" |
104 | | - BinaryKey="CA_DLL" |
105 | | - DllEntry="PowerShellFilesElevatedUninstallDeferred" |
106 | | - Impersonate="no" |
107 | | - Execute="deferred" |
108 | | - Return="check" /> |
| 103 | + <CustomAction Id="PowerShellFilesElevatedUninstallDeferred" |
| 104 | + BinaryKey="CA_DLL" |
| 105 | + DllEntry="PowerShellFilesElevatedUninstallDeferred" |
| 106 | + Impersonate="no" |
| 107 | + Execute="deferred" |
| 108 | + Return="check" /> |
109 | 109 |
|
110 | | - <InstallExecuteSequence> |
| 110 | + <InstallExecuteSequence> |
111 | 111 | <!-- These are the 'immediate' actions that prep the data for the 'deferred' actions--> |
112 | 112 | <Custom Action="PowerShellScriptsImmediate" Before="PowerShellScriptsDeferred" Overridable="yes">NOT Installed</Custom> |
113 | 113 |
|
|
127 | 127 | <Custom Action="PowerShellFilesElevatedDeferred" After="InstallFiles" Overridable="yes">NOT Installed</Custom> |
128 | 128 |
|
129 | 129 | <!-- 'Uninstall immediate' actions --> |
130 | | - <Custom Action="PowerShellScriptsUninstall" Before="PowerShellScriptsUninstallDeferred" Overridable="yes">REMOVE="ALL"</Custom> |
| 130 | + <Custom Action="PowerShellScriptsUninstall" Before="PowerShellScriptsUninstallDeferred" Overridable="yes">REMOVE="ALL"</Custom> |
131 | 131 |
|
132 | | - <Custom Action="PowerShellScriptsElevatedUninstall" Before="PowerShellScriptsElevatedUninstallDeferred" Overridable="yes">REMOVE="ALL"</Custom> |
| 132 | + <Custom Action="PowerShellScriptsElevatedUninstall" Before="PowerShellScriptsElevatedUninstallDeferred" Overridable="yes">REMOVE="ALL"</Custom> |
133 | 133 |
|
134 | | - <Custom Action="PowerShellFilesUninstall" Before="PowerShellFilesUninstallDeferred" Overridable="yes">REMOVE="ALL"</Custom> |
| 134 | + <Custom Action="PowerShellFilesUninstall" Before="PowerShellFilesUninstallDeferred" Overridable="yes">REMOVE="ALL"</Custom> |
135 | 135 |
|
136 | | - <Custom Action="PowerShellFilesElevatedUninstall" Before="PowerShellFilesElevatedUninstallDeferred" Overridable="yes">REMOVE="ALL"</Custom> |
| 136 | + <Custom Action="PowerShellFilesElevatedUninstall" Before="PowerShellFilesElevatedUninstallDeferred" Overridable="yes">REMOVE="ALL"</Custom> |
137 | 137 |
|
138 | | - <!-- 'Uninstall deferred' actions --> |
139 | | - <Custom Action="PowerShellScriptsUninstallDeferred" After="RemoveFiles" Overridable="yes">REMOVE="ALL"</Custom> |
| 138 | + <!-- 'Uninstall deferred' actions --> |
| 139 | + <Custom Action="PowerShellScriptsUninstallDeferred" After="RemoveFiles" Overridable="yes">REMOVE="ALL"</Custom> |
140 | 140 |
|
141 | | - <Custom Action="PowerShellScriptsElevatedUninstallDeferred" After="RemoveFiles" Overridable="yes">REMOVE="ALL"</Custom> |
| 141 | + <Custom Action="PowerShellScriptsElevatedUninstallDeferred" After="RemoveFiles" Overridable="yes">REMOVE="ALL"</Custom> |
142 | 142 |
|
143 | | - <Custom Action="PowerShellFilesUninstallDeferred" After="RemoveFiles" Overridable="yes">REMOVE="ALL"</Custom> |
| 143 | + <Custom Action="PowerShellFilesUninstallDeferred" After="RemoveFiles" Overridable="yes">REMOVE="ALL"</Custom> |
144 | 144 |
|
145 | | - <Custom Action="PowerShellFilesElevatedUninstallDeferred" After="RemoveFiles" Overridable="yes">REMOVE="ALL"</Custom> |
146 | | - </InstallExecuteSequence> |
| 145 | + <Custom Action="PowerShellFilesElevatedUninstallDeferred" After="RemoveFiles" Overridable="yes">REMOVE="ALL"</Custom> |
| 146 | + </InstallExecuteSequence> |
147 | 147 |
|
148 | 148 | <UI> |
149 | 149 | <ProgressText Action="PowerShellFilesDeferred">PowerShell Files</ProgressText> |
|
0 commit comments