Custom Information In .INF File Is Overwritten by BuildCabFile

P

Patrick Jox

Hello,
I have let visual studio .NET 2003 build my buildcab.bat and my
sampleProject.inf using the build cab file function. Good so far. Then I
change some information in the .inf file i.e. provider and installdir and
rebuild the CAB file. When I then use the function build cab file again, my
inf file is overwritten with some default information. So that now provider
is set back to "My Company". Is there a place in Visual Studio, where these
default settings can be stored, so that I must not edit the inf file but
that I can input this information directly?
 
P

Peter Foot [MVP]

Instead of building your cabs again from the Visual Studio menu option, run
the BuildCab.bat batch file in the project\obj\release (or debug) folder as
this will use your inf file and not generate a new one.
There is no way to override the hard-coded MyCompany entry. Therefore it is
always necessary to initially generate a default .inf file using Visual
Studio and then manually edit the .inf file.

Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top