Re: Examples, please?

Rob Brandt <[email protected]>
Newsgroups gmane.comp.mozilla.devel.xpinstall
Organization Another Netscape Collabra Server User
Message-ID <[email protected]>
Thanks, Sean.  Actually, I've made a ton of progress on this, and have 
gotten the fonts installation working well by making the .xpi for the 
fonts, then copying them into the PERSONAL_FONTS folder.  I've only 
tested it on my w98 machine, but think it will work on NT/2000/XP too 
since it seems to know about the fonts folder.

What would be really valueble to me in other issues is complete 
documentation on what goes in to the config.ini file.  For example, in 
the config.ini file for Netscape 7.01 there is  a section:

[Component Navigator-Windows Registry0]
...
...
OS=NT5

To me, that last item suggests that component will only be run on 
WindowsXP (NT5?).  Yet I can find no documentation anywhere that says 
what the OS= item does, or what the valid values for it are.  I can only 
assume that there other items undocumented that I would find useful.  I 
did try and create a component with that item to see if it would install 
on w98, and it does, so I'm not "getting it".  Having an item that would 
only run on certain platforms would make my life a heck of a lot easier. 
  I have an application that runs on NT/2000/XP, w95/98/me, OS8-9, OSX, 
(and w3.1 and 68k macs, although I'm doubting I'll have many requests 
for that platform, and possibly in the future linux). You can see why I 
hope that XPInstall would be an ideal candidate for an installer.

Another issue I struggled with last night before sleep overtook me was
determining the previously defined (in the registry) installation path 
to my application.  Seems like it should work.  Doesn't.

Thanks for your response.

Rob

Sean Su wrote:
> Have you already created a .xpi file for the fonts?  The native windows 
> installer does not actually do the installation of files, but rather it 
> gathers information from the user and system, then passes the .xpi files 
> needing to be installed to the xpinstall engine.
> 
> I'm not sure how much you know about how the entire process works.  Let 
> me know if you need more help on this.
> 
> Rob Brandt wrote:
> 
>> OK, I've dived in to making my own installer using the stubs.  I've 
>> focused on the windows version since it's much better commented than 
>> the Mac version.  I have a mostly working installer.
>>
>> There's a couple of things I don't see how to do.  It would be nice if 
>> I could see and example of how this works.
>>
>> 1) Install fonts in windows.  I see from the config.ini that is used 
>> in the Netscape installer that the stub is aware of where the fonts 
>> folder is, in PERSONAL_FONTS.  But how to get them installed, 
>> registered, efficiently?
>>
>> 2) Windows versions: My app has some minor differences between Windows 
>> 95/98/Me and NT/200/XP.  It would be really nice if config.ini could 
>> sense which version it was on, and select the correct package.
>>
>> TIA
>>
>> Rob
>>
>>
>>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.