I'm trying to write a WiX based installer for a set of Apache
configuration.

I wrote a VBScript Custom Action that is run after InstallFiles/commit
in order to 'token replace' the httpd.conf, so we can customise that
at install time based on properties. I'm probably going to try and get
it to use a different properties.txt files depending on ComputerName
or another single property.

One part I don't see a clean way for yet is installing the SSL
certificates. Production/test/development/etc. etc. will all use a
different certificate. I'd like to include
test/development/etc. certificates in the MSI file, and have the one
installed be based on ComputerName. I'd also like the MSI to be able
to use one placed into the current working directory, or use a dialog
to ask for a path to it, etc.

What is the best practice for WiX 2 here? Can we get the cabinet file
to pack all the certificates, then use a transform to change which is
installed? Maybe a VBScript which uses a function of ComputerName to
help select which set?

Many thanks for any pointers!

Regards,

 Nick

-------------------------------------------------------------------------
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