Some notes on software development... RSS 2.0
# Thursday, 04 September 2008

To access the actual assembly files contained in the GAC you can open explorer using the following command %windir%\assembly\gac

So from the run command:

image

Instead of the standard GAC explorer shown here:

image

You get the standard file explorer so you can copy the assemblies out.

image

This tip was picked up from Tim Jones' blog article, nice one!

Thursday, 04 September 2008 10:20:02 (GMT Standard Time, UTC+00:00)  #    -
.NET
# Thursday, 28 August 2008

As quoted by Bob Arnson

"You can do everything (and more) that XmlFile supports with XmlConfig
but it requires extra authoring that's not necessary with XmlFile.
XmlFile is best at modifying XML files that you're installing (e.g., to
add an attribute reflecting the installed path of a file); it can't
remove the modifications at uninstall time but if your setup installed
the file, it will be uninstalled anyway. XmlConfig is best at modifying
shared XML files because it supports uninstalling the modifications."

Thursday, 28 August 2008 15:05:55 (GMT Standard Time, UTC+00:00)  #    -
WiX

To run a custom action for a specific feature you need include the feature action state value in the condition logic.

For example:

<Custom Action="MyAction" After="InstallFiles">(NOT Installed) AND (&MyFeature=3)</Custom>

The & in front of the feature name will return the feature's action state. Possible action states are:

image

So to only run a custom action for a particular feature we check that it's action state is set to INSTALLSTATE_LOCAL which is 3.

Links:
MSDN - Conditional Statement Syntax
MSDN - Examples of Conditional Statement Syntax
Nabble WiX Forum Item

Thursday, 28 August 2008 14:10:28 (GMT Standard Time, UTC+00:00)  #    -
WiX
Thursday, 28 August 2008 09:23:21 (GMT Standard Time, UTC+00:00)  #    -
XML
Navigation

Sign In
Extras
Statistics
Total Posts: 116
This Year: 0
This Month: 0
This Week: 0
Comments: 36
About the author/Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2018
Hadrian Phillips

All Content © 2018, Hadrian Phillips
DasBlog theme 'Business' created by Christoph De Baene (delarou)