From: vhartline on 23 Feb 2010 13:03 Simple script error with 80004005 API InstallProduct,PropertyValue when the script is run with a package that contains an error. The script executes flawlessly when no .msi error is encountered. This is run on Windows XP sp3 installer version is 3.1 v2. On Error Resume Next Set oInstaller = CreateObject("WindowsInstaller.Installer") err.Clear oInstaller.UILevel = 2 oInstaller.InstallProduct "C:\Documents and Settings\Administrator\Desktop\test.msi","" WScript.Echo err.Number & vbcrlf & err.Description
From: mayayana on 23 Feb 2010 13:55 It wasn't clear to me that there was a question there. If there is you'd be better off to ask it in the MSI group: microsoft.public.platformsdk.msi > Simple script error with 80004005 API InstallProduct,PropertyValue when the > script is run with a package that contains an error. The script executes > flawlessly when no .msi error is encountered. This is run on Windows XP sp3 > installer version is 3.1 v2. > > On Error Resume Next > Set oInstaller = CreateObject("WindowsInstaller.Installer") > err.Clear > oInstaller.UILevel = 2 > oInstaller.InstallProduct "C:\Documents and > Settings\Administrator\Desktop\test.msi","" > WScript.Echo err.Number & vbcrlf & err.Description >
From: vhartline on 23 Feb 2010 14:38 The question is why am I getting the 80004005 error ONLY when there is an error within the Windows Installer package? If there is no error then the script executes just fine. "mayayana" wrote: > It wasn't clear to me that there was a question there. > If there is you'd be better off to ask it in the MSI group: > > microsoft.public.platformsdk.msi > > > Simple script error with 80004005 API InstallProduct,PropertyValue when > the > > script is run with a package that contains an error. The script executes > > flawlessly when no .msi error is encountered. This is run on Windows XP > sp3 > > installer version is 3.1 v2. > > > > On Error Resume Next > > Set oInstaller = CreateObject("WindowsInstaller.Installer") > > err.Clear > > oInstaller.UILevel = 2 > > oInstaller.InstallProduct "C:\Documents and > > Settings\Administrator\Desktop\test.msi","" > > WScript.Echo err.Number & vbcrlf & err.Description > > > > > . >
|
Pages: 1 Prev: call JavaScript function from asp Next: VBS 5.8 reference |