Hi
I get the following compile error with
your example:
The CustomAction element contains illegal inner text:
'REMOVE="ALL"
When you say something like the sample is thre something
else I need to do, apologies I’m not familiar with this syntax
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dana Gutride
Sent: 13 September 2006 21:48
To:
wix-users@lists.sourceforge.net
Subject: Re: [WiX-users]
Sequencing issue with a major upgrade
Simon:
Try something like this:
<Custom Action=""
After="RemoveFiles"><![CDATA[REMOVE="ALL" AND NOT
UPGRADINGPRODUCTCODE]]></Custom>
The UPGRADINGPRODUCTCODE property is set during the upgrade and available
during the previous product removal.
Dana
On 9/13/06, Simon
Burgess <[EMAIL PROTECTED]>
wrote:
Hi
Does
anyone know how I can sequence a custom action so that it is run during an
uninstall (before the files are removed) but not run as part of a major upgrade
when I RemoveExistingProducts? I have the following source:
<CustomAction
Id='AlreadyUpdated' Error='[ProductName] version [ProductVersion]is already
installed.' />
<CustomAction
Id='NoDowngrade' Error='A later version of [ProductName] is already installed.'
/>
<CustomAction
Id='InstallPerfCounter' FileKey ='installservice.bat'
ExeCommand='"[INSTALLDIR]Exchange\Enterprise
Library\Caching\bin"' Return='check'/>
<CustomAction
Id='UninstallPerfCounter' FileKey ='installservice.bat'
ExeCommand='"/u"
"[INSTALLDIR]Exchange\Enterprise Library\Caching\bin"'
Return='check'/>
<InstallExecuteSequence>
<?if $(var.BuildType) != Dev
?>
<Custom Action=''
After='FindRelatedProducts'>PATCHFOUND</Custom>
<Custom Action=''
After='FindRelatedProducts'>NEWERFOUND</Custom>
<?endif?>
<RemoveExistingProducts
After='InstallFinalize' />
<LaunchConditions
After='AppSearch' />
<Custom
Action="" After="InstallFinalize">NOT
Installed</Custom>
<Custom
Action=""
Before="RemoveFiles">Installed</Custom>
</InstallExecuteSequence>
Currently
when I author and run a major upgrade, it runs the InstallPerfCounter custom
action first and at the end runs the UninstallPerfCounter custom action so I
end up with no perf counters installed.
Any
help appreciated.
-------------------------------------------------------------------------
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
|
-------------------------------------------------------------------------
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