Click here to Skip to main content
15,887,267 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,

I want to create a software program that can create MSI setup file just like Installshield or advance installer. I want to create this program in Visual C++ but I do not have any idea that how to create the MSI file programmaticaly in Visual C++.

I will be thankful to any kind of help or suggestion.

Bye.

What I have tried:

I am reading microsoft documentation but I can not get all the details.
Posted
Updated 19-Apr-19 9:12am
Comments
#realJSOP 19-Apr-19 14:54pm    
This would be a HUGE project. Why don't you just use what's already available?
KarstenK 22-Apr-19 13:44pm    
Setups can get really nasty - see them as a own project. Use some tool and dont try tricks to save your time and avoid headaches.

1 solution

With great difficulty and effort and a lot of blood; that is why there are less than a handful installer software around.

MSI are "simply" database tables representing components, features and file lists (and lots of other tables)

To make all of this, you need to download the SDK and look at the different tools and example it comes with.


Good luck.

Windows SDK Components for Windows Installer Developers - Windows applications | Microsoft Docs[^]

Windows Installer Examples - Windows applications | Microsoft Docs[^]


Windows Installer - Windows applications | Microsoft Docs[^]
 
Share this answer
 
Comments
irfankhan200 20-Apr-19 2:33am    
thanks for reply

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