Thanks for biting. ;)

> How does your application installation (the one with JRE) deploy the JRE?

As a <ComponentGroupRef Id="componentGroupJre" />. The jre.wxs file is 
generated using heat using the fragment template and fine tuned with XSLT 
(adding the <DirectoryRef Id="DIR_INSTALL">...</DirectoryRef> and setting 
the Id of the ComponentGroup.

> What specifically is meant by "with embedded Java Runtime Environment"?

In contrast to, for example, the dot-net runtime, the JRE works fine when an 
installed JRE directory is just *copied* to a new machine (without invoking 
an installer which adds a myriad of registry keys and fully integrates into 
the target machine).

--
Tom


John Nannenga wrote:
> This seems a little odd, but what the heck, I'll bite.
> 
> However, since I don't know anything about the Java Runtime Environment, I 
> need more info.  How does your application installation (the one with JRE) 
> deploy the JRE?  Merge modules?  Components you authored yourself into your 
> package?  MSI chaining?  etc...  (What specifically is meant by "with 
> embedded Java Runtime Environment"?)
> 
> 
> 
> 
> 
> ________________________________________
> From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Thomas Singer [EMAIL 
> PROTECTED]
> Sent: Thursday, July 10, 2008 9:36 AM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Keep optional directory on upgrade
> 
> After I received so good feed-back for the file-gets-overwritten-problem -
> does someone have an idea how to handle this issue?
> 
> --
> Tom
> 
> Thomas Singer wrote:
>> Our application is available in two different versions - one with embedded
>> Java Runtime Environment (JRE) and one without. The JRE is nothing else than
>> a directory in the installation directory (no special registry settings). We
>> don't provide special update packages (containing just the differences), but
>> instead all packages we provide are complete packages (without thinking
>> about the JRE).
>>
>> When a user first installs a version with JRE and later a new version
>> without JRE, the jre-directory is removed/uninstalled. What would be the
>> best solution to uninstall the JRE only if the user uninstalls the
>> application using Add/Remove, but not when installing a newer version on top?
>>
>> Thanks in advance,
>> Tom
> 
> -------------------------------------------------------------------------
> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
> Studies have shown that voting for your favorite open source project,
> along with a healthy diet, reduces your potential for chronic lameness
> and boredom. Vote Now at http://www.sourceforge.net/community/cca08
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> -------------------------------------------------------------------------
> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
> Studies have shown that voting for your favorite open source project,
> along with a healthy diet, reduces your potential for chronic lameness
> and boredom. Vote Now at http://www.sourceforge.net/community/cca08
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to