You are here

Dia - A program for drawing structured diagrams.

10 posts / 0 new
Last post
Anonymous (not verified)
Dia - A program for drawing structured diagrams.

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

Ryan McCue
Ryan McCue's picture
Offline
Last seen: 14 years 6 months ago
Joined: 2006-01-06 21:27
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."

zero0w
Offline
Last seen: 12 years 2 months ago
Joined: 2005-12-10 00:40
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.

PollieXmas
Offline
Last seen: 12 years 11 months ago
Joined: 2006-05-10 16:03
Original request

https://portableapps.com/node/875

Just a link to the original request...

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

Regards
Paul

pvzweden
Offline
Last seen: 17 years 5 months ago
Joined: 2006-10-24 07:26
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

paradox_fields
Offline
Last seen: 16 years 1 month ago
Joined: 2006-12-20 05:59
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 .

m2
Offline
Last seen: 13 years 1 month ago
Joined: 2006-12-12 12:00
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 :lol: )
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

learn2laugh
Offline
Last seen: 1 month 4 weeks ago
Joined: 2007-01-30 20:26
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

m2
Offline
Last seen: 13 years 1 month ago
Joined: 2006-12-12 12:00
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

learn2laugh
Offline
Last seen: 1 month 4 weeks ago
Joined: 2007-01-30 20:26
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

Topic locked