Hey all,

I'm working on an installer that installs a web based ASP.NET 2.0
application. Users can choose web server and/or virtual directory, setup an
SQL Server database, and so forth. I'm not using the web extensions or
otherwise (are there SQL extensions?)... everything is through a few
VBScript custom actions (this started as a port from a Wise for Windows
Installer installer so these ca's already existed).

I think I have a handle on how to do major upgrades correctly. And I
_really_ _really_ want to get this right. My goal for an upgrade is to show
the user a Welcome dialog, a EULA dialog, possibly a summary of what will
happen (basically a regurgitation of the choices from the original
installation), and then a confirm start dialog. The upgrade then proceeds
merrily removing the old application and installing the new application.

I'm figure on calling the RemoveExistingProducts just after
InstallInitialize which gives me a transacted uninstall. I have various
remove custom actions, like removing a virtual directory, that are
conditioned with REMOVE="ALL" AND NOT UPGRADINGPRODUCTCODE (where
UPGRADINGPRODUCTCODE is set from the <upgrade> elements and "ALL" is the
name of my single feature.

However... I'm uncertain on how to handle web.config. During installation I
update the web.config with various bits and pieces based on the UI (eg.
database connection details). Ideally I'd like the existing web.config to
remain in place (in case users have changed it)... but only if upgrading
(i.e. I don't want a permanent component). If just uninstalling, and not
upgrading, then I'd like web.config removed.

Any suggestions/best practices?

I am also a little confused about rollback actions as they pertain to a
upgrade. If the uninstall of the original application fails... are rollback
actions called?

Regards,

Rob



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to