473,394 Members | 1,841 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,394 software developers and data experts.

VS Setup Project Question?

HI Experts,

I am trying to learn VS Setup Project, the problem I experience now
is, I have written a C++ program to register all my DirectShow filter
by CreateProcess method.

Q1: the reason I have to do this is because with VS regcap, I can't
register my filter for some reason, my DX filter can register with
regsvr32 perfectly? can you give me some hint on what is going on?

I have a Codec DirectShow filter (not implemented by me), but it
register itself by an "inf" file, so what I did is also using the
CreateProcess method to install/execute the inf file.

Q2: Is there easier way to do it in the setup project?

Now since the command that I pass in into the CreateProcess method is
what I normally do in Command Prompt
as shown below:

rundll32 setupapi,InstallHinfSection DefaultInstall 132 ./install.inf

The problem is that I found out that the "./" will be c:\windows
\system or system32, can't remember >.<, not as I was expected that it
will be the directory of my exe.

Therefore it can't find the inf file cause is in the wrong directory.

Q3 is there an alternative way to solve this problem?

Please help me, I am really stuck for this for 2 days already. >.<

Thank you for reading this e-mail.

Best Regards
Ferdinand

Aug 1 '07 #1
0 1105

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: MENTAT | last post by:
Hi, I am trying to create an installer for my web application. So I added a web setup project to my solution (I am using VS.NET 2003). Been playing around with it since then and it basically...
1
by: Michael A. Covington | last post by:
When I build my setup project, I get three files: setup.exe, setup.ini. and myapplication.msi. These go into a folder called (setup project)/bin/Release. If any other files are in that folder,...
3
by: John | last post by:
Hi I have an app to deal with two companies A & B within a group of companies depending on which database is selected. Is it possible for setup to ask the user at install time which company they...
5
by: Bob Hollness | last post by:
OK, sorry for the silly question but..... I have been writing apps for a while now in VB.Net but I have always just run them from the IDE. This time though I have written an app that I want to...
2
by: Sathyaish | last post by:
I've written an Add-in for MS Outlook and in Visual Studio .NET 2003, I also created a setup project to install the add-in. It all works well. When the user double-clicks on the .msi file to...
2
by: Dennis | last post by:
I have created a setup project and it works fine. However, it inlcudes a file "Dotnetfx.exe" which I have read is the installer for the required .net framework. I have read the documentation that...
7
by: HIK | last post by:
Click once can be set up to pole the setup url if there is a newer version or not. I have a project which can only be deployed using a setup project. How can I create the same feature in my setup...
2
by: Norman Diamond | last post by:
My C# code is I18N'ed by appropriately naming and editing .resx files. At execution time, it works. My C++ code is somewhat I18N'ed. When I put UI code in C++ I use .rc files. When I link to a...
0
by: henkya | last post by:
Language Used: C# Project Typed: Setup Project (for .NET Window Service) Hi Bump into this issue and seriously have a hunch that this is a bug in the .NET setup project. These are the scenario:...
1
by: =?Utf-8?B?Qi4gQ2hlcm5pY2s=?= | last post by:
I am reviewing Windows service programming. I'm running VS2005 and programming in VB. I've just found an example in Support: 'How to create a Setup project for a Windows Service in Visual Basic...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.