hi all,

i want to use msidb.exe to import 2 tables into a msi file.

i cannot find the correct syntax in a command line for a silent run.

can someone please help me running this silently?

thanks!
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
As a command-line tool, I wouldn't imagine that it has any such switch. I think you probably need to look at the msiImportDatabase function/method of the Windows Installer automation object. Don't quote me, though, I'm just guessing.

Alternatively, take a look at the SDK script samples. I'm pretty sure you could turn the scrpt 'WiImport.VBS' to good use.
Answered 10/27/2008 by: VBScab
Red Belt

Please log in to comment
0
thanks for the answer.

i tried WiImport.vbs to the tables are not imported and i can't figure out why.

my knowledge of vbs is not quite as good as this script requires, so i don't know why it's not working.

that's why i tried msidb.exe, i was looking at some other way to import the tables.

the help for msidb.exe shows a few switches to run in a silent mode, but i cannot find the required syntax for it to work. the help doesn't have any examples :(

thanks!

edit: i just saw it says run in command-line mode, not silent mode.

thanks!
Answered 10/27/2008 by: kardock
Second Degree Green Belt

Please log in to comment
0
ok i have more info;

msidb, i believe, has no silent mode, so not good.

WiImport works but scrap the existing database, so not good either.

then, how can i merge a table into an existing msi file from a command line?

thanks guys!
Answered 10/27/2008 by: kardock
Second Degree Green Belt

Please log in to comment
0
Eh? I don't think so, given that the script's purpose is to import tables into an existing MSI. As you say, it sounds like you need get to grips with scripting. Besides anything else, it's a useful skill to have for packaging.
Answered 10/27/2008 by: VBScab
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity