Hi,
> FYI, this installer does not seem to install on Vista. It complains
> about pygtk, glade, and pycairo not being installed,
The "pygtk, glade, and pycairo not installed" error may be due to a bug
in the nsis install script that Ed is using.
If you run the installer again a second time (while python et. al are
still cached) does it work?
The problem is in these lines of the nsis install script:
Exec '"$3" $TEMP\gcheck.py $1'
DetailPrint "Pausing for gcheck.py exectution..."
Sleep 1000
This will create a thread to run cgheck
It will then sleep one second, and then go looking for results, ... the
thread my not have finished (due to having to load python, and
libraries, and write a file to file system), this is when it fails, the
second run of installer, it seems python? is still resident in memory
and faster to start up?
If you replace those three lines with:
ExecWait '"$3" $TEMP\gcheck.py $1'
The install script does not proceed until the execution of cgheck.py is
complete, it's a better solution.
I have done a number of fixes/new features to the nsis install script
(already committed to version control), however as some of the new
features are writing things to the registry it now requires a user with
privileges for installation. - don't know in the scheme of things if
this is an issue or not - are there many people who install as
restricted users?.
I need to learn more about windows registry and permissions, to change
the script so it can be run as a more restricted user, i.e. saving into
the registry under 'current user'
Vista may also impose other restrictions on what and where we can
install things to, that may need to be worked into the install script,
however I am not currently able to test under vista.
Also I don't have time to work on this until Feb next year.
> even though they
> are (under python 2.5.2). If it can be made to work under Vista, a
> better name might be gramps_X.X.X_win32.exe (but marking it for
> Python2.5 as well. There will have to be another version for Python2.6).
>
I agree that gramps_X.X.X_win32.exe is a better name, however I am
unsure if adding python version is relevant, given that the installer is
not installing any python libraries, it is the users responsibility to
get their python/pygtk/gtk environment setup previously before
installing gramps.
The only thing that is 'compiled' before installation is the language
files, and the install script itself, I don't know if that precludes it
from running on 64 bit os, if you have the python/gtk/pygtk chain in place.
The install script does do some trolling through the registry looking
for python, to run the gcheck.py program.
It looks under various registry keys, including several with python2.4
and python2.5 in the key name, it would seem we will need to add some
for python2.6
Also it seems it will use the first version of python it finds, if
someone has multiple versions of python installed or dags hanging around
in the registry, it might give unexpected results.
> As Benny mentioned in another place, GRAMPS should be able to be
> installed through easy_install. Anyone have experience with that?
>
no experience with easy_install
> Perhaps we can make a windows sources version in zip format, too?
> Installation seems to be hard to do on a regular Vista box.
That's easy to do if it's needed.
Steve
>
> -Doug
>
>
> Edward Comer wrote:
>
>> Duncan,
>>
>> Per your request, I renamed the windows version
>> "gramps_3.0.4-1_winxp2000.exe". Download it from:
>>
http://drop.io/gramps4win Password = gramps
>>
>> I have loaded on my Windows XP machine and it works there, for those
>> functions that I use (which is NOT every function). I have no way to
>> test on Win2K although, in theory, it should work.
>>
>> I have only placed it on the drop.io site so that others could test
>> it. After a while, assuming that I hear of no problems, I will
>> request that it be loaded onto the regular GRAMPS site. As far as
>> testing is concerned, I refer only to the installation process as all
>> that I have done is package GRAMPs for Windows installation and
>> cannot address functionality problems of GRAMPS itself.
>>
>> Ed Comer
>>
>>
>> --- On Sun, 12/7/08, Duncan Lithgow <
dlithgow@...> wrote: ...
>>
>>> From: Duncan Lithgow <
dlithgow@...> I notice that the file is
>>> called just gramps-3.0.4-1.exe Would you consider naming it with
>>> this structure: gramps_3.0.4-1_winxp2000.exe (it runs on win2000 I
>>> assume) ... and if it's really for testing for now then maybe:
>>>
>> ...
>>
>>> Regards, Duncan
>>>
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/_______________________________________________
Gramps-windows mailing list
Gramps-windows@...
https://lists.sourceforge.net/lists/listinfo/gramps-windows