cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
legolas85
Level 4

Silent Installation - Basic MSI project

Hello Everyone...I am trying to make a silent installation for Basic MSI project . I found out that Silent installation executes custom action present in "Execute sequence" . So I included custom actions related to proj in "Execute sequence" in correct order of execution . To run silent install I ran these commands

setup.exe /s /v"/qn" also tried msiexec /i Product.msi /qn

installation doesnot take place at all....

If anyone knows how to run silent installation for Basic MSI project . Plz let me know.
Labels (1)
0 Kudos
(24) Replies
legolas85
Level 4

Yes it says...Here is a dump of the error message

MSI (s) (58:C8) [15:49:58:389]: Note: 1: 2205 2: 3: PatchPackage
MSI (s) (58:C8) [15:49:58:389]: Note: 1: 2205 2: 3: MsiPatchHeaders
MSI (s) (58:C8) [15:49:58:389]: Note: 1: 2262 2: Component 3: -2147287038
MSI (s) (58:C8) [15:49:58:389]: Note: 1: 2728 2: Component
Action start 15:49:58: CostInitialize.
MSI (s) (58:C8) [15:49:58:389]: Product: UITest -- Error 2728.Table definition error: Component

Error 2728.Table definition error: Component


So its Component table definition error . What should be done to overcome this error???
0 Kudos
Dan_Galender
Level 10

Add a component. A valid MSI package contains at least one Feature and one Component.
0 Kudos
legolas85
Level 4

ok thanks. One more question on XML . I have a script called ReadXML . The code in this script is

Dim objXML,filePath

set objXML = CreateObject("MSXML.DOMDocument")
objXML.async = "false"
filePath = session.property("SOURCEDIR")
file1 = Replace(filePath & "\Appconfig.xml","\\","\")
objXML.load(file1)

objXML.setProperty "SelectionLanguage", "XPath"
strXPath = "/defaultConfig/customer/company"
set valxml = objXML.documentElement.selectSingleNode(strXPath)

session.Property("COMPANYNAME") = valxml.text


When this script is executed in silent mode I get the following error :

There is a problem with this Windows Installer package. A script required for this install to complete could not be run. Contact your support personnel or package vendor. Custom action CompDefault script error -2146827864, Microsoft VBScript runtime error: Object required: 'documentElement' Line 11, Column 1,

Note : This error taken from log file created .

However for "normal" install this code works correctly without any error(i.e it reads the xml file correctly)

What to do to ovecome this error????


Note : I cannot use System Search option for xml file because I am including this xml along with the distribution . Path for XML is found using SOURCEDIR property.
0 Kudos
legolas85
Level 4

Any one knows how to solve above problem(i.e prob specified in prev post)???
0 Kudos