This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.
Closed 10 years ago.
I was just wondering what would be the easiest way to get WIX to append some lines to a configuration file (it is a matlab file) of other application, basically what I need is:
Find where a third party application is installed (that I can handle)
Append some lines to a configuration file of this third party application
I figure I would need to use a custom action right? But what would be the easiest way?
Thanks a lot!
It depends on what format the configuration file is but generally speaking, it's easiest to avoid custom actions altogether if possible.
For INI files, you can use the IniFile Element
For XML files, you can use the XmlConfig Element located in the WiX Util Extension
I ended up using a custom action.
Related
This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.
Closed 10 years ago.
I am working on my minor project. I have to create an image editor in C. For that I want to handle mouse. As I know there are two approaches to handle mouse viz REQUEST MODE and EVENT MODE.
Over the past few days I have learnt Request mode but I'm having difficulty in performing a couple of things with request mode, so I decided to learn second approach i e Event mode. But unfortunately I can't find proper resources. It would be very nice of you if you can get me some examples and explanation of event mode approach.
look at this site
http://www3.telus.net/alexander_russell/course/introduction.htm
its a dos game programming site
there is a mouse section at chapter 4
This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.
Closed 11 years ago.
I have two pieces of source code for two dll files. They both work individually, but i need them to be put into one dll file.
The first source is here: http://pastebin.com/vqtNLca8
The second source is here: http://pastebin.com/yvFPEMkf
How can i make this one dll file?
Pass them both to LINK.EXE when you build the DLL.
You'll also want to disable one of the DllMain definitions, to avoid a symbol multiply defined error.
This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.
Closed 11 years ago.
I'm trying to create a program using Xcode. The program is very simple, it uses threads.
I have done everything right. Or so I thought. This error comes up and I have do ideia what it means!
Command /Developer/usr/bin/gcc-4.2 failed with exit code 1
along with:
ld: duplicate symbol _thr_inc_low in (... a bunch of crap that is the directory of this file) main.o
Can you please help me?
It means you have multiple .o files or libraries that include the symbol _thr_inc_low.
One of the common reasons for this is defining an object in a header file (rather than just declaring it, say with an extern or a prototype) that is included in multiple source files.
Can't tell more without seeing the relevant parts of your source code.
This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.
Closed 11 years ago.
I created a NuGet package of my own that has a dependency on another 3rd party NuGet package. This 3rd party package requires that you accept the license. My NuGet package is used internally at work and will only be published to our internal feed. We have prebuild steps in our projects to automatically install/update references to my package when a new one exists. However, nuget [install|update] fails because it is "Unable to resolve dependency" to the 3rd party license. Is there a way to have the license automatically accepted either thru the command line or as an attribute in the nuspec ?
The problem ended up being with the way we were calling install and update. We passed in the source param which only contained our internal server.
This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.
Closed 12 years ago.
I am looking for fastest free key-value pair database available. Database doesn't have to be server-based, it can be linked into the application. I am aware of Tokyo Cabinet. Any other suggestions?
i vote for BerkeleyDB!
I don't know about fastest, but you can look at this question: Document databases/Key-value stores for use with .Net projects.
The reality, is that you will probably need to clearly establish a performance baseline and profile different databases for yourself to determine which will have acceptable performance for your specific application.
An in-memory sql lite database