Hi!
It's my first message in these forums, so If I write it in a wrong place, please put this message where necessary.
I have a problem, I'll explain you:
I use Adagide to create my programs in Ada Language. Adagide is free software for programming (I study computer engineering).
The thing is that I need it to be portable, so I have used "Portable Apps Creation Master 1.0".
Everything works. But.. here my problem: Adagide needs "GNAT Ada compiler" to be installed in my computer. I have tried to make it portable but I cannot. GNAT compiler has not executable, it's not a common program but a lot of files. Adagide uses these files to compile the program you're creating.
These is what I have done:
I have uninstalled both Adagide and GNAT compiler. I have followed the guide --> I have installed both and exported the keys from the register. I have copied the folders, created the script and after that I have converted it into an executable, and reorganized the files, so that they are this way:
- MY FOLDER:
Start.exe
2 .reg files
APP folder with adagide and GNAT inside it
I have practised with other programs and everything works very well.
When I do it with Adagide, I don't get any error, but when I execute it I'm told this:
GNAT NOT INSTALLED
If gnat is installed it works. If it isnt (I mean, it's ONLY in APP folder), it should search it in APP folder and work. But it doesn't. GNAT won't be installed in the PC where I want to run Adagide,because it will be in App folder (it will be portable!)
Do you know why?
Thanks in advance, and I hope you can help me. If you have any doubt, please ask me, my english is not quite good right now.
It's Adagide's fault that it doesn't check it's directory for it.
It's nothing that Portable Apps Creation Master can fix, or any of us can fix without altering the source of Adagide.
----
Ryan McCue
Current Fav. Songs:
"If you're not part of the solution, you're part of the precipitate."
I supose it's not a fault of Portable Apps Creation Master, because it works whith other programs.
The thing is: when I install GNAT compiler, new entries are created in the registry, and I have exported them. I supose (I have no idea about windows registry) one of these keys tell Adagide where the compiler is. And I think I can modify this key to tell it "hey, Adagide, look for the compiler in "yourfolder\GNAT".". Is it posible?
Can you post the contents of the .REG file, preferably on the Portable Apps Pastebin?
----
Ryan McCue
Current Fav. Songs:
"If you're not part of the solution, you're part of the precipitate."
I have tried again and I have had a look carefully:
1. "GNAT NOT INSTALLED" message appears only the first time I run adagide. Nothing happens the following times (no windows appear, no errors...). Adagide appears in the list of Processes, not programs. I can see it if I contrl+alt+del
2. Portable.reg is 26kb. When I abort Adagide it's subtitued by a new portable.reg (only 2kb). Portable2.reg is then empty. :S
3. I have notice that I have actually NOT exported all the keys that have been created. In your tutorial it says that only HKLM keys are important. Anyway, I have tried exporting ALL the keys, and the same result.
4. .reg file is sent where you have told me to send it. Anyway, you can download it from www.loixiyo.com/portable.reg if you want.
I don't know if you need more details. I have tried to tell you exactly what I have noticed, so that you'll be able to guess what's going on. You can ask me if you want.
Thanks again!
Can you either post a link to a download here or send a copy to cubegames[at]gmail.com in either a .7z or a zip renamed to something like .piz because Gmail doesn't like Zip and EXE files.
----
Ryan McCue
Current Fav. Songs:
"If you're not part of the solution, you're part of the precipitate."