setup

Setting up PHPUnit on OSX

Though I'm sure others have eventually managed to figure this out, I've been following the various documentation out there and have been having a heck of a rough time of it. http://www.phpunit.de/manual/current/en/installation.html Makes it sound pretty easy. However depending on your setup, you might be going down a rabbit hole. PEA...

Merging two git repositories together with Django web server, one developer.

Hi experts! I started my Django project locally and have been using git just fine. I got ahead of myself and copied the code to the server which instantly became out of sync with my local version. I hadn't done a branch or anything. The two part question is what's the best structure for me to work locally, push/pull to test server ...

WiX doesn't remove registrykey on uninstall

I've created an Component with an Condition DISABLEMSIUPGRADE, which get's set when I install the MSI using our ExternalUI. However, MSI doesn't remove the entry on UnInstall. I think the problem is caused by the Condition, but I can't fix it. <Component Id="compMSI" Guid="5f18af6a-b839-4b4d-9d4f-79cf7826f749"> <Condition>DISABLEMSIUP...

How to include database file in windows set up project

How to include database file in windows set up project ...

How to setup Jetty with Eclipse without plugin?

I would like to start with Java web development. First I would like to setup a good development environment using an Jetty server in Eclipse, which would allow for short development cycles. But I am struggling to set it up. There are other questions about it, but they are either old or incomplete for me. I have seen suggestions for usi...

Keep thread waiting on windows form response?

I have a windows forms application that runs two threads simultaneously, with the UI thread running in the task bar. The UI thread actually performs completely separate functionality from the other process, but in the case that a new user logs into the application, I need to pop up a setup window from the non-UI thread. Here is the cod...

How can I make the SourcePath property of a file in a Visual Studio Setup and Deployment project (Windows Installer) relative rather than absolute?

I've got a relatively simple project that is under source control (svn), and I wanted to create an installer. I know that I could (should) use WiX, but as I'm new to creating installers I thought it'd be easier to just use the built-in Visual Studio (2010) Setup and Deployment Wizard. Unfortunately, it seems that files including externa...

Printer settings change at runtime not taken into account in my application...

Hello, I have followed instructions on the msdn to change at runtime a printer paper size configuration in my application. I have replaced the dmOrientation option by the dmPaperSize to meet my need. All seems to execute fine (no error), but my new paper size is not taken into account until I manually validate the paper size from the p...

Magento adding install object

I'm creating a module that let's you define some extra options for categorys in Magento, following this tuturial to get started: http://www.magentocommerce.com/wiki/5_-_modules_and_development/0_-_module_development_in_magento/installing_custom_attributes_with_your_module I built on a skeleton module created with ModuleCreator. I have ...

problems setting up Django - ValueError: Empty Module name

Hello, I've decided to play around a bit with Django (since I've heard so much about it). I'm walking through the tutorial here: http://docs.djangoproject.com/en/1.2/intro/tutorial01/#intro-tutorial01 about halfway through the tutorial, i'm asked to run this from my command line: python manage.py syncdb However, I'm getting this e...

Settingup Xcode project to add new file in custom directory

How can i setup my Xcode project so that it creates new class files (.h/.m) in Classes directory and new interface files (.xib/.nib) in Interfaces directory? By default Xcode adds new files in the root project directory, and i have to manually put these into Classes and Interfaces directories. Edit: I'm referring to the Xcode File >...

Django installation problem on Windows

Hi, I am trying to install Django on Windows XP. Here is what I did: (1) Downloaded and installed Python 2.7 from http://python.org/ftp/python/2.7/python-2.7.msi in C:\Python27 (2) Downloaded Django 1.2.1 from http://www.djangoproject.com/download/1.2.1/tarball/ (3). After unzipping the file I placed Django's folder ...

How to update the InnoSetup Wizard GUI status text from PascalScript code during uninstall

Hi During installation, it's possible to update the InnoSetup wizard status text from inside the PascalScript event handler "CurStepChanged(ssPostInstall)" with the following code (http://stackoverflow.com/questions/2514107): WizardForm.StatusLabel.Caption := 'status update'; This does not work for uninstall. Accessing this property ...

Installing phpMyAdmin on Cent OS 5.5

Sorry guys, I posted it on here by mistake... I have created it over at server fault: http://serverfault.com/questions/167302/installing-phpmyadmin-on-cent-os-5-5 ...

Hibernate single file databases: setup for thin client

I'm debeloping a Java Swing application, which persists the information through Hibernate, currently using PostgreSQL. Now, I would like to simplify the database setup on the client and I'm thinking about single file databases. The database I'm using is rather small and simple, so there are no special requirements. I'm only asking for on...

Installing different version of assembly based on platform?

I'm creating a setup program in VS2008 for a C# application that uses SQLite, which requires different versions of the assembly for x86 and x64 environments. What is the best way to have the setup program automatically install the correct assembly based on the environment? ...

How to deal with database initialization?

As also described here, I'm trying to determine the best way to initialize and update my application's database. I use EclipseLink-JPA2. I distribute a NetBeans platform application. Considered options: use create-tables ddl-generation: The problem with this is that everytime the application runs it will throw exceptions, failing to c...

openFrameworks Visual Studio Setup Tutorial?

I've been trying to get oF examples to compile with Visual Studio, but I'm either missing a link or something.. Is there a tutorial on how to setup oF with Visual Studio 2010 (or 2008 - or any version)? If not, can someone provide step-by-step directions on setting up oF with Visual Studio? (Unfortunately, the oF website doesn't provid...

How to choose processor architecture to install an MSI with Delphi

Good news: A major release is in the bag! Bad news: I just found out (2 weeks too late) that some people don't have MSXML 6 on their machines and the new installer we're rolling out requires it. Good news: We can distribute an MSI file to install MSXML Bad news: There are three MSI files to choose from, one 'normal' one, one endin...

How to create setup project that support multiple instances (multiple installing)

Hay all. im using vs 2010 , and i have created a project which im trying to install using the setup from vs 2010. i need it to be able to be installed multiple times. and i didnt find the answer on the web. i have read some documents about orca and transform but not an understandable example. thanks in advance. ...