Can someone help me ?
Yesterday I have install Windows 8 Professional 6.2 (Built 9200). I use a script that register a dll for PDF creation (copy in this forum). In Windows XP/7 this script works very well,but in Windows 8 I cant register this dll.
This is the registration dll script:
...
Local $sMPDFDLL = @TempDir & "\MPDF.dll"
If Not FileExists($sMPDFDLL) Then
Local $hMPDFDLL = FileOpen($sMPDFDLL,18)
FileWrite($hMPDFDLL, $sData)
FileClose($hMPDFDLL)
ShellExecuteWait("regsvr32.exe","/s " & $sMPDFDLL,"","",@SW_HIDE)
EndIf
If I make the same command "regsvr32.exe /s ..." in a elevated Prompt this works very vell. Is there a way to register a dll in the script ??? What I'm wrong ??