Can unregioster some DLL

Hi,

I am trying to run:

Invoke-RegisterOrUnregisterDLL -filepath "$envwindir\syswow64\vb6fr.dll" -DLLAction Unregister

and then get: can’t extract variable $propertyselection because not define.

<code>Impossible d’extraire la variable « $PropertySelection », car elle n’a pas été définie.
\_Include\AppDeployToolkit\AppDeployToolkitMain.ps1:1155 : 37
+                 [string[]]$SelectedProperties = &amp; $SelectProperty -InputObject $ErrRecord -P ...
+                                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation : (PropertySelection:String) [], RuntimeException
    + FullyQualifiedErrorId : VariableIsUndefined</code>

I have another DLL with no error. I get an error 4.

By running directly the commandline from the command prompt I get no error at all. Very strange.

I guess something goes wrong when Function Resolve-Error is called. See line 1150 of AppDeployToolkitMain.ps1.

If ($LogErrorInvocationMsg) { [array]$LogErrorMessageTmp += $LogErrorInvocationMsg }