Can unregioster some DLL

//Can unregioster some DLL
Can unregioster some DLL 2017-02-22T13:38:54+00:00

The Toolkit Forums General Can unregioster some DLL

  • Author
  • Francois
    Post count: 103
    #1961 |


    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.

  • Justin
    Post count: 13

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

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

You must be logged in to reply to this topic.