This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Silent Installation - Basic MSI project
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 25, 2009
05:20 AM
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.
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.
(24) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 02, 2009
05:20 AM
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???
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???
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 02, 2009
05:56 AM
Add a component. A valid MSI package contains at least one Feature and one Component.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 02, 2009
06:07 AM
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.
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.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 03, 2009
01:09 AM
Any one knows how to solve above problem(i.e prob specified in prev post)???