Click here to Skip to main content
15,881,803 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
It sounds like my previous question but it is different :(. I have to implement CreateProcess in MFC but every time some other task is given to me... :doh:

I have to execute 4 msi (setup) file one by one. One way is by using CreateProcess.
But Is there other way to execute setup files specially. Any API that is used to execute a setup file ??
Posted
Updated 2-Feb-11 23:46pm
v2

1 solution

.msi files (microsoft installer files) should be automatically registered to msiexec.

Normally, you could just "ShellExecute" the msi files and it will launch the installer.

Or you can use CreateProcess to call msiexec with the msi file as an argument.

or maybe I misread your question.
 
Share this answer
 
Comments
ShilpiP 4-Feb-11 1:55am    
Yes actually i found the way to execute the msi file with MFC based application and i found one Windows installer api. now i got one MsiInstallProduct to install a msi. I am working on it. Hope it works.
Give me suggestion if i am wrong :)
Thanks for your feedback.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900