Bob,
Since I have not (yet) needed to deploy a web application, take the
following with caution!
Because it is an in-house application, and not intended for widespread
distribution to potentially remote sites you might be able to get away
with a single component (assuming no optional choices), although I don't
think I would choose to do so.
The DLL's (IMHO) count as executables and should be placed in separate
components just in case you want/need to patch them later.
Because you mention that some files will be optional, obviously those
files will need to be placed into the appropriate number of components
based on your choices. Be aware that to keep your life as simple as
possible you may need additional components to contain any optional
files that are "shared". (I.e. if file shared.aspx is required if either
somepage.aspx or someotherpage.aspx are present, but both somepage.aspx
and someotherpage.aspx are optional, then shared.aspx should go in one
component, somepage.aspx in a second and someotherpage.aspx in a third).
Remember, you can only choose to install (or not) a component. You
cannot install just part of a component (i.e. an individual file).
Probably the easiest way to set up what you want is with one core
(required) feature (which would contain the core component(s),
naturally), and several optional features (containing references to your
optional components).
It is perfectly acceptable to reference the same component in more than
one feature. The component in question will only be installed once (if
required), and will not be removed until all features referencing it are
also removed.
Hope this helps,
Regards,
Richard
________________________________
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Yexley,
Robert (LNG-CON)
Sent: Tuesday, March 13, 2007 1:49 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Sample web application wxs file
Thanks for the information Richard, very helpful. It definitely gives me
some things to think about, but also raised a few additional questions
for me: Since I'm trying to create a web application installer, there
aren't really any "executables". It's basically a collection of DLLs,
.aspx files, .css files, etc. We're basically trying to provide our
infrastructure group with a simplified way of deploying the application
that we're creating in house to staging and production servers. So it's
ultimately just going to put a bunch of files in a directory selected by
the user, and then possibly even create a vdir in IIS, etc...and there
will be a few files that will either be copied or not copied to the
installation directory, based on a couple of simple user choices. The
one other requirement I could see this having would be possibly
detecting if the application has previously been installed on the
machine, and if so, uninstall it first before installing the new
version.
So, based on that, would it make more sense to make a single component
with all of the required files in it? Or an individual component for
each file?
______________________________________
// YEX //
* C O N F I D E N T I A L I T Y N O T I C E *
-----------------------------------------------------------
The content of this e-mail is intended solely for the use of the individual or
entity to whom it is addressed. If you have received this communication in
error, be aware that forwarding it, copying it, or in any way disclosing its
content to any other person, is strictly prohibited. Peek Traffic Corporation
is neither liable for the contents, nor for the proper, complete and timely
transmission of (the information contained in) this communication. If you have
received this communication in error, please notify the author by replying to
this e-mail immediately and delete the material from any computer.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users