Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21273

How do I run an xxx.msi file?

$
0
0
I have a need to run a series of msi files in a pended fashion. I have a function that allows me to run exe's that way (runs a.exe and when it ends, run b.exe). My function works fine for exe files but nops when trying to run an msi. My function uses:

Private Declare Function OpenProcess Lib "kernel32" _
(ByVal dwDesiredAccess As Long, ByVal bInheritHandle As Long, _
ByVal dwProcessId As Long) As Long

Any way to get an msi file to run too? Basically I'm building an an installer program which has to run a mix of exe & msi files.

Viewing all articles
Browse latest Browse all 21273

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>