473,382 Members | 1,329 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

How can we create .msi file by calling Windows Installer APIs from C++

Hi Friends,

I have a requirement for creating a .msi file run time.

For that, I need to use Windows Installer API from C++ code.

I was searching, but I could find the samples only with C#, not C++.

Is C++ not a good idea to create an .msi file?

Thanks a lot for your help.

-Ravi
Dec 9 '14 #1
1 1328
weaknessforcats
9,208 Expert Mod 8TB
The Microsoft Installer is implemented using a series of C functions: http://msdn.microsoft.com/en-us/libr...(v=vs.85).aspx

To use C++ you need to know how to call C functions from C++. Also, you need to know multithreading and how shells work.

Other than that, you should have no problem.
Dec 9 '14 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: | last post by:
A problem has recently started to occur when building the MSI file for a project I am working on. Now, for some reason as soon as the setup proj tries to build the MSI file the Windows Installer...
0
by: Justin Tighe | last post by:
I have installed .net 1.1 on my pc with service pack 2, but my copy of Office XP now runs windows installer to configure Office XP on most actions. For example, I use Access XP with a lot of the...
0
by: Devon | last post by:
Hi, I've created a demo site for Microsoft Content Management Server using Visual C#.net and I now want to create an installer for it. I've created a set up project in VC#.net and have...
0
by: Stephane | last post by:
Hi, I built a application in .net which include a database, a windows service and a web site. I want to make a windows installer which would do: - Copy all files into the user system -...
4
by: db_from_mn | last post by:
Using Visual Studio, 2003: When I create a deployment project and try to install it, I get Installer Error 2705: Invalid Table, Could not be linked as tree. How can I debug this? It seems that I...
0
by: brian | last post by:
Does anyone have a link to a good detailed article on deploying a VB.NET app using the windows installer? Also, I am looking to create a VB.NET dll. When the user opens the program it will...
2
by: Rob R. Ainscough | last post by:
I've setup a Windows Installer Setup Project for my VS 2005 VB.NET app -- it installs find, but my Desktop icon and Programs Menu icon do not run the app ..exe when I click on them -- I can't...
1
by: lyl209 | last post by:
Hi, I am trying to create a web setup project for my asp.net 2.0 website and I had some problems. It worked fine until I want to add some custom actions into it. As some of you already knew,...
2
by: sambo251 | last post by:
After running a few updates I get this very annoying "Windows Installer" error #1706 that will ne go away! It keeps saying that it cannot find the file "instantsharedevices.msi", that it is on...
0
by: =?Utf-8?B?VGltSW5zdGFsbGVy?= | last post by:
I am creating a .msi file by embedding a .cab file in my windows installer ..msi file. Some of the files in the .cab include a path, some do not. When I run my msi file, The files without a...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.