Hi, first, sorry if my inglish is not very well (i speak spanish), i'm from Paraguay. :D
I'm a student of IT and use Pelles C for my proyects. I think Pelles C is one of the best IDE's for C/WIN32. I use DevCpp before and Pelles C is much better than DevCpp!.
Ok, what i want to do is:
- Put Pelles C in my PenDrive in labs computer of my school, because i can't install Pelles there because of my user restrinctions.
So, i want to ask to Pelle if not problem with that.
What i want to do is, create a installer that only write in windows registry all necesary keys for Pelles C before open it, so wen i run from PenDrive, all my configurations from local instalation being loaded in any computer.
That's all, i know that is very easy, but for me is very useful.
Pelles C ready to use without install!!
Maybe in the future, i can publish Portable Pelles C for everybody who want to use. :D (of couse with Pelle autorization)...
Please, aswer me Pelle.
And again, thank you very much Pelle! and continue with the good work!
good look! :D
Hello,
I have never tried a PenDrive, so I can't say for sure it will work. I think someone was about to try that a while ago, but I can't remember hearing about the result...
There are not many Registry settings that are *required*:
1) The Setup program can/will install some tools under the "Tools" menu, but they are completely optional (and some of them are for Pocket PC only). You can ignore them.
2) The Setup program can/will also install some "File Explorer" associations, but you don't really need them. You can open all files from the IDE.
3) The Setup program can/will install some path information - THIS IS IMPORTANT:
Registry key:
HKEY_CURRENT_USER\Software\Pelle Orinius\PellesC\Directories
Values:
IncludeDirs = $INSTDIR\Include;$INSTDIR\Include\Win;$INSTDIR\Include\Win\gl
LibraryDirs = $INSTDIR\Lib;$INSTDIR\Lib\Win
PathDirs = $INSTDIR\Bin
where $INSTDIR is the Pelles C install directory (for example "C:\Program").
(You can check this with RegEdit...)
Hope this helped...
Pelle
Hi, thanks for the reply Pelle! your comments are useful!
i was looking already in:
HKEY_CURRENT_USER\Software\Pelle Orinius\PellesC
What i do in my firts tests is write a installer using NSIS, he's ask for the unit of the penDrive where Pelles is copied, (for example H:\PortableApps\PortablePellesC\) then write in "HKEY_CURRENT_USER\Software\Pelle Orinius\PellesC\Directories" all the paths of course with the unit that user write.
And i find important to me to white this registry keys in the machine that run Pelles C from the penDrive:
- HKEY_CURRENT_USER\Software\Pelle Orinius\PellesC\Application
- HKEY_CURRENT_USER\Software\Pelle Orinius\PellesC\Colors
- HKEY_CURRENT_USER\Software\Pelle Orinius\PellesC\Custom Keys
- HKEY_CURRENT_USER\Software\Pelle Orinius\PellesC\Debugger
- HKEY_CURRENT_USER\Software\Pelle Orinius\PellesC\Dialog Editor
- HKEY_CURRENT_USER\Software\Pelle Orinius\PellesC\Directories
- HKEY_CURRENT_USER\Software\Pelle Orinius\PellesC\Graphics Editor
That way, i maintain the configurations exactly like i want, (other way Pelles write the defaults in the registry).
Of course this work for me, because is like i want Pelles C, with my colors, types, my keyboard shortcuts, etc..
At the moment, all this work for me
:D and i can run Pelles C from my pendrive!
But i want to do more test in more machines.
Again, thanks Pelle! Pelles C is the best!