New PortableApps.com Platform 12.0.5. Better, stronger, faster. Download or Buy on Drive
Instant access to over 300 free and legal portable apps including the new Solfege (Aug 30, 2014)
PortableApps.com needs your help: Please donate today

Dia - A program for drawing structured diagrams.

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

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

http://www.gnome.org/projects/dia/

TIA

EauMan
-----------
1Gb

( 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
http://dia-installer.sourceforge.net/

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

http://portableapps.com/node/875

Just a link to the original request...

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

Regards
Paul

After installing you can copy it arround

Hiya,

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:

---
@ECHO OFF
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
SET LC_MESSAGES=en
IF EXIST "%HOME%" goto homevarisset
SET HOME=\Data\Tools\Dia
:homevarisset
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
:winnt
start "dia" /b "dia.exe" %1 %2 %3 %4 %5 %6 %7 %8 %9 > nul: 2> nul:
:end
---

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

Patrick

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:

http://www.framakey.org/Portables/PortableDIA

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.

Citation:
http://www.arcknowledge.com/gmane.comp.gnome.apps.dia/2006-11/msg00002.html

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

*disclaimer*
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:

-\PortableApps\
  +\PortableDIA\
  +\PortableDIA.exe
    +\Apps\
        +\PortableDIA\
            +\DIA\
    +\Data\
        +\PortableDIA\
            +\Profile\

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:

[PortableDIA]
DIADirectory=Apps\PortableDIA\Dia\bin
GTKDirectory=..\CommonFiles\GTK\2.0\bin
ProfileDirectory=Data\PortableDIA\Profile
AdditionalParameters=--nosplash
WaitForDIA=false
DIAExecutable=Diaw.exe
DisableSplashScreen=true

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.
The

DisableSplashScreen=true

disables Framakey's splash. The

AdditionalParameters=--nosplash

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

Cheers

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