Eric Hela
2008-03-17 06:42:52 UTC
Gurus,
I copied the following script into my computer based group policy and got
the error below. Can anyone explain why and how to fix it? I am trying to
use computer based GP to uninstall all Autocad software on all computers at
computer start. This script works well at command prompt but does gives
this error when I put it into the GP and test it. I am a newbie with
scripting side of thngs and don't understand whats going on.
Here is the script.
-----------
Const msiUILevelNone = 2
Const myProductCode = "{91E05F90-168E-43C0-BB48-39CD0F3F2678}"
Const msiInstallStateAbsent = 2
Set objInstaller = CreateObject("WindowsInstaller.Installer")
With objInstaller
.UILevel = msiUILevelNone
.ConfigureProduct myProductCode , 0 , msiInstallStateAbsent
End With
Set objInstaller = Nothing
Following is the Error from the above script:
-----------------------------
Line: 7
Char: 3
Error: ConfigureProduct,Product,InstallLevel,InstallState
Code: 80004005
Source:MSI API error
---------------------------
Thanks heaps for your help
Eric
I copied the following script into my computer based group policy and got
the error below. Can anyone explain why and how to fix it? I am trying to
use computer based GP to uninstall all Autocad software on all computers at
computer start. This script works well at command prompt but does gives
this error when I put it into the GP and test it. I am a newbie with
scripting side of thngs and don't understand whats going on.
Here is the script.
-----------
Const msiUILevelNone = 2
Const myProductCode = "{91E05F90-168E-43C0-BB48-39CD0F3F2678}"
Const msiInstallStateAbsent = 2
Set objInstaller = CreateObject("WindowsInstaller.Installer")
With objInstaller
.UILevel = msiUILevelNone
.ConfigureProduct myProductCode , 0 , msiInstallStateAbsent
End With
Set objInstaller = Nothing
Following is the Error from the above script:
-----------------------------
Line: 7
Char: 3
Error: ConfigureProduct,Product,InstallLevel,InstallState
Code: 80004005
Source:MSI API error
---------------------------
Thanks heaps for your help
Eric