An XmlFile entry will only get passed to ExecXmlFile if the component 
associated with it is being installed or uninstalled.

Is the component associated with it being installed (or uninstalled)?

Thanks,
Mike Carlson

-----Original Message-----
From: Amy Rosewater [mailto:arosewa...@spectrumhr.com]
Sent: Monday, May 11, 2009 7:59 AM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] property value passed to CA through ExecXmlFile property 
is not correct

Hi All,



I am using Wix V 3.0.4813 and I am having a small issue with the ExecXmlFile 
custom action.  I have several nodes in my wxs file for updating values in an 
output file I create during my install.  This file holds the values of various 
properties set during the UI portion of the install which I use during 
uninstall.



When I execute my installer one of my properties is set by a checkbox on a 
screen:



<Control Id="DoNotInstallCheckBox" Type="CheckBox" X="126" Y="153" Width="150" 
Height="18" CheckBoxValue="checked" Property="DoNotInstallAnalysisServices">

<Text>[DoNotInstallAnalysisServicesText]</Text>

</Control>



During the installation, I check this checkbox and get the following in my 
verbose log:



Action 13:02:29: AnalysisServer. Dialog created

MSI (c) (68:6C) [13:02:31:484]: PROPERTY CHANGE: Adding 
DoNotInstallAnalysisServices property. Its value is 'checked'.



This indicates to me that the user running the install checked the checkbox and 
changed the value of this property.



I also have the following node in a component in my install:

<util:XmlFile Id="UpdateDoNotInstallAnalysisServices" Action="setValue" 
File="[INSTALLLOCATION]iVantageInstallationConfiguration.xml" 
ElementPath="//iVantageInstallationConfiguration/property[...@name='DoNotInstallAnalysisServices'[\]]"
 Value="[DoNotInstallAnalysisServices]" />



This updates a node in my output file where the name is the name of the 
property in question with the value in the property (or so I would think).



However, at the end of my install where it outputs property values I see the 
following in the verbose log (I realize this is really long, but the 
DoNotInstallAnalysisServices value is not passed to ExecXmlFile through the 
ExecXmlFile property with the value ‘checked’).  Any ideas?:



Property(C): DoNotInstallAnalysisServices = checked

Property(S): ExecXmlFile = 1€0€C:\Program Files\SpectrumHR\iVantage 
5\iVan51\iVantage\iVantage.config€3€0€//appSettings/a...@key='CONNECTIONSTRING']/@value€€Server=qa32w2k8sql;Database=iVan51;User
 
ID=/qs4peyTNgfj7ggPSQG3OQ==;Password=jgygFKhypKY=€3€0€//appSettings/a...@key='CUSTOMER_ID']/@value€€lMIBzhx6ZEA=€1€0€C:\Program
 Files\SpectrumHR\iVantage 
5\iVan51\iVantageInstallationConfiguration.xml€3€0€//iVantageInstallationConfiguration/proper...@name='INSTALLTYPE']€€0€3€0€//iVantageInstallationConfiguration/proper...@name='LICENSEKEY']€€TOTd7bMgYD5ZyKBAs7prywGXI6lSLGNhpR3Gg/F6eF8=€3€0€//iVantageInstallationConfiguration/proper...@name='CUSTOMERIDENC']€€lMIBzhx6ZEA=€3€0€//iVantageInstallationConfiguration/proper...@name='DATABASENAME']€€iVan51€3€0€//iVantageInstallationConfiguration/proper...@name='DATABASEFILEPATH']€€C:\Program
 Files\SpectrumHR\iVantage 
5\iVan51\Data\€3€0€//iVantageInstallationConfiguration/proper...@name='DATABASELOGFILEPATH']€€C:\Program
 Files\SpectrumHR\iVantage 
5\iVan51\Data\€3€0€//iVantageInstallationConfiguration/proper...@name='SQLSERVER']€€qa32w2k8sql€3€0€//iVantageInstallationConfiguration/proper...@name='SQLUSEWINDOWSAUTH']€€€3€0€//iVantageInstallationConfiguration/proper...@name='SQLLOGINENC']€€YDfd6qJV35E=€3€0€//iVantageInstallationConfiguration/proper...@name='SQLLOGINPASSWORDENC']€€oSwEv9VZn6o=€3€0€//iVantageInstallationConfiguration/proper...@name='SQLAPPLICATIONLOGINENC']€€/qs4peyTNgfj7ggPSQG3OQ==€3€0€//iVantageInstallationConfiguration/proper...@name='SQLAPPLICATIONPASSWORDENC']€€jgygFKhypKY=€3€0€//iVantageInstallationConfiguration/proper...@name='INSTALLSAMPLEDATA']€€checked€3€0€//iVantageInstallationConfiguration/proper...@name='VANTAGEADMINUSERNAMEENC']€€xdY+L42v68HZMFaIqHtHWQ==€3€0€//iVantageInstallationConfiguration/proper...@name='VANTAGEADMINPASSWORDENC']€€0€3€0€//iVantageInstallationConfiguration/proper...@name='VANTAGEADMINPASSWORDONEWAYENC']€€€3€0€//iVantageInstallationConfiguration/proper...@name='VANTAGEADMINDOMAINIDENTITY']€€€3€0€//iVantageInstallationConfiguration/proper...@name='SMTPSERVER']€€sunshine€3€0€//iVantageInstallationConfiguration/proper...@name='SMTPSERVERUSERENC']€€GHoCtHItPXuQSAAIVSozXA==€3€0€//iVantageInstallationConfiguration/proper...@name='SMTPSERVERPASSWORDENC']€€mOGEPDA5yFnrcGHePNT1Tw==€3€0€//iVantageInstallationConfiguration/proper...@name='REPORTSERVER']€€qa32w2k8sql€3€0€//iVantageInstallationConfiguration/proper...@name='ANALYSISSERVER']€€(select
 
one)€3€0€//iVantageInstallationConfiguration/proper...@name='ANALYSISSERVERDATABASENAME']€€iVan51€3€0€//iVantageInstallationConfiguration/proper...@name='ANALYSISSERVERDATABASEEXISTS']€€no€3€0€//iVantageInstallationConfiguration/proper...@name='DoNotInstallAnalysisServices']€€€3€0€//iVantageInstallationConfiguration/proper...@name='APPLICATIONUSERENC']€€h5uUTm+KksEL76KV8upf6w==€3€0€//iVantageInstallationConfiguration/proper...@name='APPLICATIONPASSWORDENC']€€jgygFKhypKY=€3€0€//iVantageInstallationConfiguration/proper...@name='IISAPPPOOLNAME']€€iVan51AppPool€3€0€//iVantageInstallationConfiguration/proper...@name='IISCONFIGURATIONTYPE']€€0€3€0€//iVantageInstallationConfiguration/proper...@name='IISUSEWINDOWSAUTHENTICATION']€€€3€0€//iVantageInstallationConfiguration/proper...@name='IISVIRTUALDIRECTORY']€€iVan51€3€0€//iVantageInstallationConfiguration/proper...@name='IISWEBSITE']€€iVan51€3€0€//iVantageInstallationConfiguration/proper...@name='IISPORT']€€80€3€0€//iVantageInstallationConfiguration/proper...@name='IISWebsiteUseIP']€€€3€0€//iVantageInstallationConfiguration/proper...@name='IISIP']€€*€3€0€//iVantageInstallationConfiguration/proper...@name='TARGETDIR']€€C:\€3€0€//iVantageInstallationConfiguration/proper...@name='INSTALLLOCATION']€€C:\Program
 Files\SpectrumHR\iVantage 
5\iVan51\€3€0€//iVantageInstallationConfiguration/proper...@name='LAUNCHPRODUCT']€€1€3€0€//iVantageInstallationConfiguration/proper...@name='DATABASEFILEEXT']€€.mdf€3€0€//iVantageInstallationConfiguration/proper...@name='DATABASELOGFILENAMEEXT']€€_Log€3€0€//iVantageInstallationConfiguration/proper...@name='DATABASELOGFILEEXT']€€.ldf€3€0€//iVantageInstallationConfiguration/proper...@name='UPDATEUSYSINSTALLATIONSQL1']€€update
 USysInstallation set 
LicenseKey='€3€0€//iVantageInstallationConfiguration/proper...@name='UPDATEUSYSINSTALLATIONSQL2']€€',
 
AssemblyVersion='€3€0€//iVantageInstallationConfiguration/proper...@name='UPDATEUSYSINSTALLATIONSQL3']€€',
 
InstallDateTime='€3€0€//iVantageInstallationConfiguration/proper...@name='UPDATEUSYSINSTALLATIONSQL4']€€€3€0€//iVantageInstallationConfiguration/proper...@name='UPDATEUSYSINSTALLATIONSQL5']€€',
 
InstallationGUID='€3€0€//iVantageInstallationConfiguration/proper...@name='UPDATEUSYSINSTALLATIONSQL6']€€'
 where 
InstallationID=1€3€0€//iVantageInstallationConfiguration/proper...@name='UPDATEUSYSEMAILPROFILESQL1']€€update
 USysEMailProfile set 
SmtpServer='€3€0€//iVantageInstallationConfiguration/proper...@name='UPDATEUSYSEMAILPROFILESQL2']€€',
 
SmtpUsername='€3€0€//iVantageInstallationConfiguration/proper...@name='UPDATEUSYSEMAILPROFILESQL3']€€',
 
SmtpPassword='€3€0€//iVantageInstallationConfiguration/proper...@name='UPDATEUSYSEMAILPROFILESQL4']€€'€3€0€//iVantageInstallationConfiguration/proper...@name='SERVERTOTEST']€€sqlserver€3€0€//iVantageInstallationConfiguration/proper...@name='LASTSERVERTESTED']€€none€3€0€//iVantageInstallationConfiguration/proper...@name='SQLSERVERCONNECTVALID']€€yes€3€0€//iVantageInstallationConfiguration/proper...@name='ANALYSISSERVERCONNECTVALID']€€no€3€0€//iVantageInstallationConfiguration/proper...@name='SQLSERVERVERSIONVALID']€€yes€3€0€//iVantageInstallationConfiguration/proper...@name='REPORTSERVERVERSIONVALID']€€yes€3€0€//iVantageInstallationConfiguration/proper...@name='ANALYSISSERVERVERSIONVALID']€€no€3€0€//iVantageInstallationConfiguration/proper...@name='SQLSERVERHASREQUIREDPERMISSIONS']€€yes€3€0€//iVantageInstallationConfiguration/proper...@name='ANALYSISSERVERHASREQUIREDPERMISSIONS']€€no€3€0€//iVantageInstallationConfiguration/proper...@name='SQLSERVERCONFIGUREDCORRECTLY']€€no€3€0€//iVantageInstallationConfiguration/proper...@name='ANALYSISSERVERCONFIGUREDCORRECTLY']€€no€3€0€//iVantageInstallationConfiguration/proper...@name='RSINSTALLDIRECTORY']€€C:\€3€0€//iVantageInstallationConfiguration/proper...@name='CONFIGWEBSITEASPNET']€€"C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe"
 -sn 
W3SVC/1/root/iVan51€3€0€//iVantageInstallationConfiguration/proper...@name='IISMJRVRSN']€€#7€3€0€//iVantageInstallationConfiguration/proper...@name='IISINSTALLPATH']€€C:\Windows\system32\inetsrv\€3€0€//iVantageInstallationConfiguration/proper...@name='IISSITEIDINCREMENT']€€#1€3€0€//iVantageInstallationConfiguration/proper...@name='FRAMEWORKROOT']€€C:\Windows\Microsoft.NET\Framework\€3€0€//iVantageInstallationConfiguration/proper...@name='ASPNETREGPATH']€€C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe€3€0€//iVantageInstallationConfiguration/proper...@name='FRAMEWORK20SP']€€€3€0€//iVantageInstallationConfiguration/proper...@name='FRMWRK35VRSN']€€3.5.30729.01€3€0€//iVantageInstallationConfiguration/proper...@name='LOGONDOMAIN']€€ENTERPRISE.LOCAL€3€0€//iVantageInstallationConfiguration/proper...@name='ComputerName']€€QA32W2K8€3€0€//iVantageInstallationConfiguration/proper...@name='COMPANYNAME']€€€3€0€//iVantageInstallationConfiguration/proper...@name='USERNAME']€€Windows
 
User€3€0€//iVantageInstallationConfiguration/proper...@name='Privileged']€€1€3€0€//iVantageInstallationConfiguration/proper...@name='PhysicalMemory']€€3839€3€0€//iVantageInstallationConfiguration/proper...@name='PrimaryVolumePath']€€€3€0€//iVantageInstallationConfiguration/proper...@name='PrimaryVolumeSpaceAvailable']€€0€3€0€//iVantageInstallationConfiguration/proper...@name='VersionNT']€€600€3€0€//iVantageInstallationConfiguration/proper...@name='ServicePackLevel']€€1€3€0€//iVantageInstallationConfiguration/proper...@name='ServicePackLevelMinor']€€0€3€0€//iVantageInstallationConfiguration/proper...@name='BROWSER']€€C:\Program
 Files\Internet 
Explorer\IEXPLORE.EXE€3€0€//iVantageInstallationConfiguration/proper...@name='WindowsFolder']€€C:\Windows\€3€0€//iVantageInstallationConfiguration/proper...@name='ASPNETDIRECTORY']€€C:\Windows\Microsoft.NET\Framework\€3€0€//iVantageInstallationConfiguration/proper...@name='LOCALDATABASEONLY']€€0€3€0€//iVantageInstallationConfiguration/proper...@name='CURRENTINSTANCE']€€Original
 
Product€3€0€//iVantageInstallationConfiguration/proper...@name='IISWEBAPPLICATIONNAME']€€iVan51€3€0€//iVantageInstallationConfiguration/proper...@name='IISANONYMOUSAUTHENTICATIONENABLED']€€true€3€0€//iVantageInstallationConfiguration/proper...@name='IISWINDOWSAUTHENTICATIONENABLED']€€false€3€0€//iVantageInstallationConfiguration/proper...@name='IIS6SITEIDTOUSE']€€2€3€0€//iVantageInstallationConfiguration/proper...@name='IIS7SITEIDTOUSE']€€2€3€0€//iVantageInstallationConfiguration/proper...@name='LOGVERBOSE']€€1€3€0€//iVantageInstallationConfiguration/proper...@name='MSIDISABLEEUI']€€€3€0€//iVantageInstallationConfiguration/proper...@name='InstallMode']€€0€3€0€//iVantageInstallationConfiguration/proper...@name='UILevel']€€5€3€0€//iVantageInstallationConfiguration/proper...@name='VersionMsi']€€4.05€3€0€//iVantageInstallationConfiguration/proper...@name='CAINSTALLED']€€false€3€0€//iVantageInstallationConfiguration/proper...@name='SELECTEDREPORTSERVER']€€qa32w2k8sql€3€0€//iVantageInstallationConfiguration/proper...@name='SELECTEDREPORTSERVERINSTANCE']€€qa32w2k8sql€3€0€//iVantageInstallationConfiguration/proper...@name='IIS6DEFAULTWEBSITEID']€€1€3€0€//iVantageInstallationConfiguration/proper...@name='IIS7DEFAULTWEBSITEID']€€1€3€0€//iVantageInstallationConfiguration/proper...@name='IIS7LOCATIONPATH']€€Default
 Web 
Site/iVan51€3€0€//iVantageInstallationConfiguration/proper...@name='UPDATEANALYISSERVERSQL1']€€update
 USysGlobalConstant set 
GlobalConstantValue='€3€0€//iVantageInstallationConfiguration/proper...@name='UPDATEANALYISSERVERSQL2']€€'
 where 
GlobalConstantName='OLAP_ServerName'€3€0€//iVantageInstallationConfiguration/proper...@name='UPDATEANALYISDATABASESQL1']€€update
 USysGlobalConstant set 
GlobalConstantValue='€3€0€//iVantageInstallationConfiguration/proper...@name='UPDATEANALYISDATABASESQL2']€€'
 where 
GlobalConstantName='OLAP_DatabaseName'€3€0€//iVantageInstallationConfiguration/proper...@name='UPDATERSPATH1']€€update
 USysGlobalConstant set 
GlobalConstantValue='€3€0€//iVantageInstallationConfiguration/proper...@name='UPDATERSPATH2']€€:€3€0€//iVantageInstallationConfiguration/proper...@name='UPDATERSPATH3']€€/€3€0€//iVantageInstallationConfiguration/proper...@name='UPDATERSPATH4']€€'
 where 
GlobalConstantName='ReportingServices_Path'€3€0€//iVantageInstallationConfiguration/proper...@name='UPDATERSPROCESSNAME1']€€update
 USysGlobalConstant set 
GlobalConstantValue='€3€0€//iVantageInstallationConfiguration/proper...@name='UPDATERSPROCESSNAME2']€€'
 where 
GlobalConstantName='ReportingServices_ProcessName'€3€0€//iVantageInstallationConfiguration/proper...@name='XMLCONFIGFILE']€€C:\Users\qainstaller\Desktop\iVantageInstallationConfiguration.xml€3€0€//iVantageInstallationConfiguration/proper...@name='REPORTINGSERVICESADMINENC']€€€3€0€//iVantageInstallationConfiguration/proper...@name='REPORTINGSERVICESPASSWORDENC']€€€3€0€//iVantageInstallationConfiguration/proper...@name='UPDATERSDOMAINNAME1']€€update
 USysGlobalConstant set 
GlobalConstantValue='€3€0€//iVantageInstallationConfiguration/proper...@name='UPDATERSDOMAINNAME2']€€'
 where 
GlobalConstantName='ReportingServices_Domain'€3€0€//iVantageInstallationConfiguration/proper...@name='SMTPTESTEMAILADDRESS']€€mle...@spectrumhr.com€3€0€//iVantageInstallationConfiguration/proper...@name='FILESTOCOPY']€€€3€0€//iVantageInstallationConfiguration/proper...@name='SQLSERVERSERVICEUSER']€€€3€0€//iVantageInstallationConfiguration/proper...@name='SQLSERVERSERVICEDOMAIN']€€€3€0€//iVantageInstallationConfiguration/proper...@name='REPORTINGSERVICESDOMAINNAME']€€iVan51€3€0€//iVantageInstallationConfiguration/proper...@name='REPORTINGSERVICESDOMAINNAMEUNIQUE']€€yes€3€0€//iVantageInstallationConfiguration/proper...@name='REPORTSERVERISSSL']€€€3€0€//iVantageInstallationConfiguration/proper...@name='REPORTSERVERPROTOCOLPREFIX']€€http://€3€0€//iVantageInstallationConfiguration/proper...@name='SMTPSERVERNAMEVALID']€€yes€3€0€//iVantageInstallationConfiguration/proper...@name='SMTPSERVERCONNECTVALID']€€yes€3€0€//iVantageInstallationConfiguration/proper...@name='REPORTINGSERVICESCREDENTIALSVALID']€€no€3€0€//iVantageInstallationConfiguration/proper...@name='CUSTOMERIDLICENSEKEYVALID']€€yes€3€0€//iVantageInstallationConfiguration/proper...@name='REPORTINGSERVICESPORT']€€80€3€0€//iVantageInstallationConfiguration/proper...@name='VALIDRSLOCALINSTANCES']€€€3€0€//iVantageInstallationConfiguration/proper...@name='REPORTSERVERWHEREITNEEDSTOBE']€€yes€3€0€//iVantageInstallationConfiguration/proper...@name='SQLAPPLICATIONLOGINEXISTS']€€no€3€0€//iVantageInstallationConfiguration/proper...@name='IISAPPPOOLEXISTS']€€no€3€0€//iVantageInstallationConfiguration/proper...@name='USESQLSERVICEDOMAIN']€€no€3€0€//iVantageInstallationConfiguration/proper...@name='ISSQLSERVICESYSTEM']€€no€3€0€//iVantageInstallationConfiguration/proper...@name='IISVIRTUALDIRECTORYEXISTS']€€no€3€0€//iVantageInstallationConfiguration/proper...@name='IISWEBSITEEXISTS']€€no€3€0€//iVantageInstallationConfiguration/proper...@name='APPLICATIONUSEREXISTS']€€no€3€0€//iVantageInstallationConfiguration/proper...@name='ENCRYPTDECRYPT']€€encrypt€3€0€//iVantageInstallationConfiguration/proper...@name='DOMAINIDENTITYVALID']€€no€3€0€//iVantageInstallationConfiguration/proper...@name='SQLSERVERISLOCAL']€€false€3€0€//iVantageInstallationConfiguration/proper...@name='REPORTINGSERVICESFIRSTINSTALL']€€true€3€0€//iVantageInstallationConfiguration/proper...@name='REPORTSERVERVIRTUALDIRECTORY']€€ReportServer€3€0€//iVantageInstallationConfiguration/proper...@name='ISDATABASENAMEVALID']€€yes€3€0€//iVantageInstallationConfiguration/proper...@name='ISASDATABASENAMEVALID']€€no€3€0€//iVantageInstallationConfiguration/proper...@name='ISSMTPEMAILVALID']€€yes€3€0€//iVantageInstallationConfiguration/proper...@name='REPORTSERVERDIR']€€C:\ReportServer\€3€0€//iVantageInstallationConfiguration/proper...@name='REPORTMANAGERDIR']€€C:\ReportManager\€3€0€//iVantageInstallationConfiguration/proper...@name='REPORTSERVERSERVICE']€€ReportServer







Amy Rosewater

SPECTRUM Human Resource Systems Corporation

707 17th Street Suite 3800

Denver CO, 80202

303.592.3403

arosewa...@spectrumhr.com



------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to