Re: Problems in win 98 and more



On 9/5/06, Leandro Fanzone <leandro hasar com> wrote:

Regarding the distribution, you should install in your source machine a runtime.
Once you have a directory properly setup with all the gtk/gtkmm dependencies,
you should tell your installer to copy that directory to the target machine
(even as a subdirectory of your application directory), set the PATH variable
to point to the bin subdir of that branch, and voilá. It's really
straightforward, no registry entries, no registration, it's enough if that
directory is present in the system and the PATH knows it. You can also make a
stub to avoid setting the PATH in the global environment: write a C/C++ program
that sets it temporarily, execute your program and exits, and make that your
main program ;)

Alternatively, have your installer run the GTK+ and gtkmm installer in
silent mode (/S option). With the gtkmm installer, the other CLI
options are


         * /S : enable silent mode, Default = disabled
         * /ALLUSERS : Install for all users. Requires administrator
rights. Default = no
         * /SET_ENVVARS : Add the gtkmm bin directory to the PATH
environment variable. Default = no
         * /FORCE_UNINSTALL : Uninstall a previous version. Default =
Abort the installation
         * /USE_GTKDIR : Use the GTK+ base directory as installation
directory for gtkmm. Overwrites the /D option. Default = no
         * /D=targetdir : Install to targetdir. Default = C:\Program
Files\gtkmm

Cedric



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]