New Platform 12.0.5. Download or Buy on Drive
Over 300 free and legal portable apps including Xonotic (Mar 1, 2015) needs your help: Please donate today

Dia - A program for drawing structured diagrams.

Anonymous - April 5, 2006 - 8:50pm
Share on Facebook

Was originally looking for a MS Visio compatible app but this is quite good. Any chance of it being portable ??



( categories: )

Quite possible

using a shared GTK directory and (possibly) Reg Rapper.
R McCue

"If you're not part of the solution, you're part of the precipitate."

Portable Dia

Yes, Dia is quite handy as a Visio replacement.
The Windows version has an installer hosted at this page:

Dia for Windows

It will be excellent to introduce Dia to new users and friends with a portable, run right-away version such as Portable GIMP.

Original request

Just a link to the original request...

Let's hope a portable version is in the pipeline...


After installing you can copy it arround


Read this thread and though "hmmm... i'm using dia portable"
The thing i've done :
- Install dia on a regular PC
- Copy the install directory to a stick (or in my case portable hd)
- Modify the bat file that starts it.

Below is the bat file i use:

rem Batch file to set the home-variable if it is not set
rem Uncomment next line and change language code if necessary
rem set LANG=de
IF EXIST "%HOME%" goto homevarisset
SET HOME=\Data\Tools\Dia
rem nothing needs to be done
IF %OS%==Windows_NT goto winnt
start "dia.exe" %1 %2 %3 %4 %5 %6 %7 %8 %9 > nul: 2> nul:
goto end
start "dia" /b "dia.exe" %1 %2 %3 %4 %5 %6 %7 %8 %9 > nul: 2> nul:

Anyway that does it for me already, maybe it works for more people?


Dia is now officially portable.

I don't know how long it's been there, so this might be old news. However, this should be useful in case anybody uses the forum search to get here.

It turns out that there is a portable version of Dia up at Framakey:

Of course, Framakey is a French site, so that version of Dia was specifically modified to be in French. However, that's an easy problem to solve. Just go into Dia/locale/ and delete the "fr" folder. The whole thing should be in English the next time you open Dia.


Oh, and the English help manuals are still there. Look in Dia/help/C .

No, thanks

1. It refuses to start without GTK in it's dir Sad
It shows an error message written in french (the only thing I understand is GTK Laughing out loud )
I have my own in %PATH%, so I don't need it.
2. It shows splash screen. I don't like splash screens.
3. As I see it's code, it's nothing that couldn't be easily written with batch, I'll probably use this written above. 96 KB for this! No way.

"Those people who think they know everything are a great annoyance to those of us who do." Asimov

Rusty French...But I think this will work

My French is not as good as it used to be and does not hold up well in computer languages, but from what I read in the 'Lisez Moi' text file, the multilang version should work this way.
First open the portableDIA folder and rearrange the structure to have as follows:


Note:You WILL need to create some folders.
I renamed the PortableDIACode to \Other\ to be consistent with John's structure and moved the PortableDIAKiosk in that folder. I then created a file in \Data\PortableDia\ called PortableDia.ini
the contents were as follows:


Note:This is for GTK in a CommonFiles folder under PortableApps Menu.
According to the French, you should be able to use environmental variables here as well (I think). Anyone want to verify this.


disables Framakey's splash. The


disables Dia's.
Hope this helps.

Jeffrey Wiggs
Loving God and Learning Laughter

Jeffrey Wiggs
Loving God and Learning Laughter

Thanks Jeffrey,

Thanks Jeffrey, but I still won't use it.
As I said before: I don't need NSIS script for something that's faster to do with batch. And I don't want to set GTK directory in ini file - when I'll move either gtk or dia, I'll have to change it. Batch will be smaller, faster and easier to modify. And with it I don't need dia to be in PAF, which I don't like ;>

"Those people who think they know everything are a great annoyance to those of us who do." Asimov


To each their own. I don't know much about batch and nothing about NSIS, so I just translated french instructions and fixed mine the way I wanted it and shared that with you guys! Enjoy or don't, Your choice.

Jeffrey Wiggs
Loving God and Learning Laughter

Jeffrey Wiggs
Loving God and Learning Laughter