tags:

views:

99

answers:

2

Is there any option to call msi file from CreateProcess in c language in window OS.

+1  A: 

use msiexec filename. ( pass this as a input to Createprocess)

(Refer msiexec for different options)

aJ
@aJ its give me the error. createprocess failed (193). Can you explain little bit more
Arman
did u check what is the error?
aJ
+3  A: 

The Windows ShellExecute function will open a file of a registered type with the correct application, which I think is what you are asking about.

anon
Thaks Neil for this information.
Arman