How to execute an Exe-File ?

"Freddie" <[email protected]> Fri, 20 Jan 2006 14:20:40 +0100
Newsgroups gmane.comp.mozilla.devel.xpinstall
Message-ID <[email protected]>
Hi !

I want wo execute an exe-File on my windows-system, which were copied from 
xpi-paket to specific folder by XPI-installer.
Now, I want to execute this file at this new folder, but I find no way.

Whether "execute" nor "File.execute" work fine for me.
The "File.Execute" call is:

iErrCode = File.execute( strInstallFolder+strInstallFile_REGISTER,"", 
false );


strInstallFolder = "c:\programme\test\"
strInstallFile = "Register.exe"   so is
strInstallFolder+strInstallFile_REGISTER = "c:\programme\test\Register.exe"

I get -208, Bad Parameters.
Where is the problem ?

Greetings, Freddie