Comment 18 for bug 656938

Revision history for this message
Abe Yo (abe-geel) wrote : Re: WMF Export fails on Windows 7 (python.exe crashes)

UniConverter 1.1.5 comes with a patch to update inkscape's plugin.
It's a vbs script located in "C:\Program Files (x86)\sK1 Project\UniConvertor-1.1.5\inkscape-patches"

However, the script needs administrator privileges which it doesn't request per se. (and you can't run vbs scripts as administrator by right clicking etc.) So it doesn't work correctly in newer windows versions.

Add the following lines to the beginning of the script to make it request the necessary permissions:

-- code start --
If Not WScript.Arguments.Named.Exists("elevate") Then
  CreateObject("Shell.Application").ShellExecute WScript.FullName _
    , """" & WScript.ScriptFullName & """ /elevate", "", "runas", 1
  WScript.Quit
End If
-- code end--

The script also may lose focus, so switch to it using the taskbar.