/build/static/layout/Breadcrumb_cap_w.png

import with msidb?

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

Answers (4)

Posted by: anonymous_9363 15 years ago
Red Belt
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.
Posted by: kardock 15 years ago
Second Degree Green Belt
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!
Posted by: kardock 15 years ago
Second Degree Green Belt
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!
Posted by: anonymous_9363 15 years ago
Red Belt
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.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ