Author Topic: Unofficial Code::Blocks installer for Windows (svn 10408)  (Read 172063 times)

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5905
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: Unofficial Windows installer for Code::Blocks SVN 6920
« Reply #15 on: January 17, 2011, 02:00:24 am »
The installer is updated to svn revision 6920. All plugins were included, and the glitch that impacted the usability of the Spellchecker plugin is fixed in this version. The download link was updated in the first post of the thread. :)
nice package!!

And I suggest:
1, maybe, you can add portable c::b, see :http://forums.codeblocks.org/index.php/topic,10360.msg93976.html#msg93976
2, maybe, you can host the package in Google project host site, or other site, the current site need to wait for at least 30 seconds is not so good as I see.

thanks.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5905
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: Unofficial Windows installer for Code::Blocks SVN 6920
« Reply #16 on: January 17, 2011, 02:16:10 am »
BTW:
I just find in the log:(I install this package under E:\CodeBlocks)
Quote
SpellChecker: Thesaurus files 'E:\CodeBlocks\share\CodeBlocks\SpellChecker\th_en_US.idx' not found!

Also, to let it use portable way, I think the path here:
File:ConfigureSpellChecker.png

can be configured by:
something like:
$(XXXX)\share\CodeBlocks\SpellChecker\th_en_US.idx

note the XXXX can be a C::B's script variable. :D
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline ptDev

  • Almost regular
  • **
  • Posts: 222
Re: Unofficial Windows installer for Code::Blocks SVN 6920
« Reply #17 on: January 17, 2011, 03:57:05 pm »
The installer is updated to svn revision 6920. All plugins were included, and the glitch that impacted the usability of the Spellchecker plugin is fixed in this version. The download link was updated in the first post of the thread. :)
nice package!!

And I suggest:
1, maybe, you can add portable c::b, see :http://forums.codeblocks.org/index.php/topic,10360.msg93976.html#msg93976
2, maybe, you can host the package in Google project host site, or other site, the current site need to wait for at least 30 seconds is not so good as I see.

thanks.

Thank you for the encouragement! :)

I'll open a project page in Google Code, and upload my inno setup script there, along with the setup file. Maybe you could make use of the script for your nightly builds?

I'll look into the possibility of an option for a portable installation too.

I ommited *.idx files to reduce installer size. If you consider them essential to the spellchecker, I can include them, or even more languages, in a future release.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Unofficial Windows installer for Code::Blocks SVN 6920
« Reply #18 on: January 17, 2011, 04:04:50 pm »
I'll open a project page in Google Code, and upload my inno setup script there, along with the setup file. Maybe you could make use of the script for your nightly builds?
We had just switched away from InnoSetup towards NSIS for the ease of creating a flexible installer. I doubt that we will switch back again.

Question of mine: Why didn't you choose NSIS in the first place by adopting the existing installer for the releases?

See: http://svn.berlios.de/wsvn/codeblocks/setup, namely the file setup.nsi.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline ptDev

  • Almost regular
  • **
  • Posts: 222
Re: Unofficial Windows installer for Code::Blocks SVN 6920
« Reply #19 on: January 17, 2011, 04:17:34 pm »
I'll open a project page in Google Code, and upload my inno setup script there, along with the setup file. Maybe you could make use of the script for your nightly builds?
We had just switched away from InnoSetup towards NSIS for the ease of creating a flexible installer. I doubt that we will switch back again.

Question of mine: Why didn't you choose NSIS in the first place by adopting the existing installer for the releases?

See: http://svn.berlios.de/wsvn/codeblocks/setup, namely the file setup.nsi.

I didn't know you had moved to NSIS. I chose Inno Setup from a habit of making simple installers for my backups a while ago, and remember seeing the inno script in the svn a while ago, so I considered it logical to stick with Inno at the time.

I'll need to learn nsis scripting, but if like you say, it is better for setting setup options, then it will be worth the extra effort.
UPDATE: Indeed it is. I can understand NSIS scripting, and am in the process of adapting the official installer. :)

EDIT: Files are now hosted in Google Code. The download link was updated accordingly.
« Last Edit: January 18, 2011, 08:41:34 am by ptDev »

Offline ptDev

  • Almost regular
  • **
  • Posts: 222
Re: Unofficial Windows installer for Code::Blocks SVN 6927
« Reply #20 on: January 20, 2011, 12:19:10 am »
Bumping to warn you:

The unofficial installer has been updated to svn revision 6927. Now using NSIS, based on the script used for the official 10.05 release (plugins are now installed optionally)! The link to the download is in the first post. :)

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Unofficial Windows installer for Code::Blocks SVN 6927
« Reply #21 on: January 20, 2011, 06:08:04 am »
Cool. Do you provide the (NSIS) sources somewhere, too?!
« Last Edit: January 20, 2011, 06:10:18 am by MortenMacFly »
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline ptDev

  • Almost regular
  • **
  • Posts: 222
Re: Unofficial Windows installer for Code::Blocks SVN 6927
« Reply #22 on: January 20, 2011, 09:53:23 am »
Cool. Do you provide the (NSIS) sources somewhere, too?!
Just commited :)

While adapting the script, I made very few changes:

*Updated the NSIS plugin Modern UI to mui2.nsh (more flexible).
*Added a question in the end of the uninstallation, asking the user if he wishes to delete the application data.
*Added Abbreviations plugin, it seemed to be missing from the release installer.
*Updated installed files and available plugins to match nightly builds. Notably, wxscintilla is now compiled statically and wxpropgrid is an sdk dependency.
*Added the extra plugins: cbDiff, ColorCoder, FileManager, PowerShell, SpellChecker, XPMEditor.

Hope you find this useful.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Unofficial Windows installer for Code::Blocks SVN 6927
« Reply #23 on: January 20, 2011, 10:18:57 am »
Hope you find this useful.
Certainly. It'll safe us time with the next release.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

acedward

  • Guest
Re: Unofficial Windows installer for Code::Blocks SVN 6927
« Reply #24 on: January 21, 2011, 01:23:27 pm »
Thanks! awesome installer!

Offline JGM

  • Lives here!
  • ****
  • Posts: 518
  • Got to practice :)
Re: Unofficial Windows installer for Code::Blocks SVN 6927
« Reply #25 on: January 22, 2011, 12:30:35 am »
this thread should be a sticky imho, it could save noobs a lot of time!

thanks for your work ptdev!

Offline ptDev

  • Almost regular
  • **
  • Posts: 222
Re: Unofficial Windows installer for Code::Blocks SVN 6931
« Reply #26 on: January 23, 2011, 12:55:05 am »
I just made a very quick update. There was a mistake with SpellChecker (mea culpa) that's fixed now though.
More importantly, Portable C::B is now included in this installer! Check it out on the first post.

Offline marco_silva85

  • Single posting newcomer
  • *
  • Posts: 7
Re: Unofficial Windows installer for Code::Blocks SVN 6931
« Reply #27 on: January 23, 2011, 02:07:39 am »
Congratulations ptDev, your installers should be featured on main site to promote CodeBlocks. Not everybody checks the forums for the nightlys, and people nowadays care about up to date software, but they prefer installation to binary-only, and these installers keep it simple. Keep up the good work!
hum, I wonder what country are you from... portugal maybe?

Offline ptDev

  • Almost regular
  • **
  • Posts: 222
Re: Unofficial Windows installer for Code::Blocks SVN 6931
« Reply #28 on: January 23, 2011, 03:33:37 pm »
hum, I wonder what country are you from... portugal maybe?

Is it that obvious? [Removed non-English content. This forum is English only, without exceptions - sorry.] :)
« Last Edit: January 23, 2011, 05:00:25 pm by MortenMacFly »

Offline Bonanza

  • Multiple posting newcomer
  • *
  • Posts: 34
  • Engineer
Re: Unofficial Windows installer for Code::Blocks SVN 6931
« Reply #29 on: January 24, 2011, 12:45:47 pm »
Hi ptDev,

I love your work:-)

I beleive you made some changes to some of the plugins to make them compile?

If this is correct then maybe you can figure out why the FileManager crashes when I navigate into a deeper path in the "Files" tab.

Here is the stack dump:
Code
Error occured on Monday, January 24, 2011 at 11:58:40.

C:\Program Files\Codeblocks\codeblocks.exe caused an Access Violation at location 630833db in module C:\Program Files\Codeblocks\share\codeblocks\plugins\FileManager.dll Reading from location 88908848.

Registers:
eax=88908848 ebx=00000000 ecx=00000000 edx=00000001 esi=00000000 edi=03d3d1e0
eip=630833db esp=0023f788 ebp=0023f810 iopl=0         nv up ei ng nz na po nc
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00010286

Call stack:
630833DB  C:\Program Files\Codeblocks\share\codeblocks\plugins\FileManager.dll:630833DB
630836EF  C:\Program Files\Codeblocks\share\codeblocks\plugins\FileManager.dll:630836EF
6308D392  C:\Program Files\Codeblocks\share\codeblocks\plugins\FileManager.dll:6308D392
61C83EA0  C:\Program Files\Codeblocks\wxmsw28u_gcc_451tdm.dll:61C83EA0  _ZN12wxEvtHandler21ProcessEventIfMatchesERK21wxEventTableEntryBasePS_R7wxEvent
61C83FD9  C:\Program Files\Codeblocks\wxmsw28u_gcc_451tdm.dll:61C83FD9  _ZN16wxEventHashTable11HandleEventER7wxEventP12wxEvtHandler
61C843A4  C:\Program Files\Codeblocks\wxmsw28u_gcc_451tdm.dll:61C843A4  _ZN12wxEvtHandler12ProcessEventER7wxEvent
61C83D58  C:\Program Files\Codeblocks\wxmsw28u_gcc_451tdm.dll:61C83D58  _ZN12wxEvtHandler20ProcessPendingEventsEv
61C017AE  C:\Program Files\Codeblocks\wxmsw28u_gcc_451tdm.dll:61C017AE  _ZN12wxAppConsole20ProcessPendingEventsEv
61FFA1DD  C:\Program Files\Codeblocks\wxmsw28u_gcc_451tdm.dll:61FFA1DD  _ZN18wxIconLocationBaseC2ERK8wxString
7E42B372  C:\WINDOWS\system32\USER32.dll:7E42B372  MoveWindow
7E42B317  C:\WINDOWS\system32\USER32.dll:7E42B317  MoveWindow
7E4278D0  C:\WINDOWS\system32\USER32.dll:7E4278D0  GetWindowTextLengthW
7C90E473  C:\WINDOWS\system32\ntdll.dll:7C90E473  KiUserCallbackDispatcher
61CB084E  C:\Program Files\Codeblocks\wxmsw28u_gcc_451tdm.dll:61CB084E  _ZN11wxEventLoop8DispatchEv
61D45218  C:\Program Files\Codeblocks\wxmsw28u_gcc_451tdm.dll:61D45218  _ZN17wxEventLoopManual3RunEv
61D2482D  C:\Program Files\Codeblocks\wxmsw28u_gcc_451tdm.dll:61D2482D  _ZN9wxAppBase8MainLoopEv
004058C4  C:\Program Files\Codeblocks\codeblocks.exe:004058C4
61C31560  C:\Program Files\Codeblocks\wxmsw28u_gcc_451tdm.dll:61C31560  _Z14wxUninitializev
61C8991A  C:\Program Files\Codeblocks\wxmsw28u_gcc_451tdm.dll:61C8991A  _Z7wxEntryP11HINSTANCE__S0_Pci
00401D71  C:\Program Files\Codeblocks\codeblocks.exe:00401D71
0045F7B6  C:\Program Files\Codeblocks\codeblocks.exe:0045F7B6
004010DB  C:\Program Files\Codeblocks\codeblocks.exe:004010DB
00401158  C:\Program Files\Codeblocks\codeblocks.exe:00401158
7C817077  C:\WINDOWS\system32\kernel32.dll:7C817077  RegisterWaitForInputIdle

I am not sure you can help, but at least its a try worth asking you.:-)

Thanks in advance Flemming