Hi,
I've been developing an application for the last 2 or 3 months with wxWidgets on wxDevC++. Now I would like to have an installation wizard for my software, does anyone now a step by step procedure to do that using xwDevC++? (or with another tool, that could help me also)
I've been compiling with the static libraries (the .exe is quite big) but I would like to compile with the dynamic libraries for the beta release of my product, any ideas of how can I do that with xwDevC++?
Somehow the executable icon of my application is not the one I want. I do have the desired icon in the taskbar (which I set by calling SetIcon(...) in the constructor of my main frame) but the icon I see with the file explorer on myApplication.exe is not even the first icon on my resource (.rc) file, does anyone knows how to fix this?
Many thanks in advance,
Sergio
installation wizard, static/dynamic libraries and .exe icon Topic is solved
-
- Earned some good credits
- Posts: 146
- Joined: Sun Nov 26, 2006 7:37 am
- Location: Tennessee, USA
- Contact:
There are a couple of good installation wizard programs. You definitely don't need to create one when there are plenty available.
Inno Setup
NSIS
Those are the two that I have worked with. Both are extremely excellent and easy to use.
NSIS is open source, and Inno isn't, if that is a deciding factor for you. There are however several third party applications that make Inno Setup a lot easier to use than just writing out a script.
I have prefered Inno Setup in the past, I haven't checked them against each other recently. I would recommend that you do that. Find which one will fill your needs best.
I dont know that either of these allow you to "install" on anything other than Windows. I assume that is what you are after since you spoke of an exe.
Also if you are wanting to really do it yourself, I am still assuming you are wanting this for windows, I would use a scripting language. AutoIt is a very powerful scripting language. It has GUI, INI, Registry, File Manipulation, and many many other features. It is very easy to learn, and you can rapidly develop an Installation Wizard with it.
As far as the Icon of your application goes, I havent delved that deep into my own projects to even play with icons and resources yet. Though I do believe if you posted some snippets of code, and maybe some screen shots you will more than likely receive ample support.
Edit: Added in AutoIt link.
I hope that helps,
JS
Inno Setup
NSIS
Those are the two that I have worked with. Both are extremely excellent and easy to use.
NSIS is open source, and Inno isn't, if that is a deciding factor for you. There are however several third party applications that make Inno Setup a lot easier to use than just writing out a script.
I have prefered Inno Setup in the past, I haven't checked them against each other recently. I would recommend that you do that. Find which one will fill your needs best.
I dont know that either of these allow you to "install" on anything other than Windows. I assume that is what you are after since you spoke of an exe.
Also if you are wanting to really do it yourself, I am still assuming you are wanting this for windows, I would use a scripting language. AutoIt is a very powerful scripting language. It has GUI, INI, Registry, File Manipulation, and many many other features. It is very easy to learn, and you can rapidly develop an Installation Wizard with it.
As far as the Icon of your application goes, I havent delved that deep into my own projects to even play with icons and resources yet. Though I do believe if you posted some snippets of code, and maybe some screen shots you will more than likely receive ample support.
Edit: Added in AutoIt link.
I hope that helps,
JS
-
- wxWorld Domination!
- Posts: 1471
- Joined: Tue Nov 14, 2006 7:58 am
- Location: Saint-Petersburg, Russia
Hi,
In this case try to give name for your custom icon less (in alphabetical sense) then standard wxAPP icon (wxICON_AAA).
Look at file .../include/wx/msw/wx.rc:
Are you using resource file for your app?Somehow the executable icon of my application is not the one I want. I do have the desired icon in the taskbar (which I set by calling SetIcon(...) in the constructor of my main frame) but the icon I see with the file explorer on myApplication.exe is not even the first icon on my resource (.rc) file, does anyone knows how to fix this?
In this case try to give name for your custom icon less (in alphabetical sense) then standard wxAPP icon (wxICON_AAA).
Look at file .../include/wx/msw/wx.rc:
Code: Select all
//////////////////////////////////////////////////////////////////////////////
//
// Default Icons
//
// First wx icon in alphabetical order, so it will be used by Explorer if the
// application doesn't have any icons of its own
wxICON_AAA ICON "wx/msw/std.ico"
OS: Windows XP Pro
Compiler: MSVC++ 7.1
wxWidgets: 2.8.10
Compiler: MSVC++ 7.1
wxWidgets: 2.8.10