<?xml version="1.0" encoding="utf-8"?> <Include>
<Binary Id="VoyagerCustomActions.dll" SourceFile=" $(var.OutDir)Voyager.Installer.InstallerCustomActions.CA.dll" /> <!--For more info about rollback and uninstall sequences of custom actions, see http://www.mail-archive.com/wix-users@lists.sourceforge.net/msg33775.html--> <!--SQL Server Instance--> <CustomAction Id="CAGetAvailableSQLServerInstances" Return="check" BinaryKey ="VoyagerCustomActions.dll" DllEntry="GetAvailableSQLServerInstances" Execute="immediate"/> <CustomAction Id="CAUpdatePropertiesWithSelectedSqlInstance" Return="check" BinaryKey="VoyagerCustomActions.dll" DllEntry=" UpdatePropertiesWithSelectedSqlInstance" Execute="immediate"/> <CustomAction Id="CAVerifySqlServerInstance" Return="ignore" BinaryKey=" VoyagerCustomActions.dll" DllEntry="VerifySqlServerInstance" Execute=" firstSequence"/> <CustomAction Id='CARefuseSqlServerInstance' Error=' [SQLINSTANCE_ISVALID_ERROR_MESSAGE]' Execute="immediate" /> <!--Execute SQL scripts for installing voyager database--> <SetProperty Id="CAInstallVoyagerDatabase.Install" Return="check" Sequence=" execute" Before="CAInstallVoyagerDatabase.Install" Value=""[#ScriptRunner.exeFile]" -FF, [SQLUSER], [SQLPASSWORD], [SQLSERVER_ID], voyager, [VoyagerDatabaseFolder]install_voyager_ScriptRunner_drive_file.txt, [VoyagerDatabaseFolder]scriptRunner.log"/> <CustomAction Id="CAInstallVoyagerDatabase.Install" Execute="deferred" Return="check" BinaryKey="WixCA" DllEntry="CAQuietExec" Impersonate="yes"/> <!--Custom action to drop Dundas Datastore database to support proper Rollback--> <!--We don't need to Drop Database--> <!--<CustomAction Id="CADropDatabases.Uninstall" Return="check" Execute="deferred" BinaryKey="VoyagerCustomActions.dll" DllEntry="DropDatabase" Impersonate="yes"/> <CustomAction Id="CADropDatabases.Uninstall.Data" Return="check" Property="CADropDatabases.Uninstall" Value="Action=Uninstall;Server=[SQLSERVER];Instance = [SQLINSTANCE];DatabaseList=Dundas_Dashboard_DataStore"/>--> <!--IIS 7--> <CustomAction Id="Set_CACreateWebApp.Data" Property="CACreateWebApp.Data" Value=" ApplicationPoolName=$(var.ApplicationPoolName);WebSiteName=[WEBSITE_NAME];WebSitePhysicalPath=[INSTALLLOCATION];WebAppName=$[var.VoyagerWebAppName];WebAppPhysicalPath=[INSTALLLOCATION]$(var.VoyagerWebAppName);WebAppVirtualPath=$(var.VoyagerVirtualPath);Port=[WEBSITE_PORT] "/> <!--The property Id must the same as the custom action Id so that this property can be passed to the 'CustomActionData' of this specific custom action.--> <SetProperty Id="CACreateWebApp.Install.Rollback" Return="check" Sequence=" execute" Before="CACreateWebApp.Install.Rollback" Value=" Action=Install.Rollback;[CACreateWebApp.Data]"/> <CustomAction Id="CACreateWebApp.Install.Rollback" Execute="rollback" Return ="check" BinaryKey="VoyagerCustomActions.dll" DllEntry=" RemoveWebSiteAndApplication"/> <SetProperty Id="CACreateWebApp.Install" Return="check" Sequence="execute" Before="CACreateWebApp.Install" Value="Action=Install;[CACreateWebApp.Data]" /> <CustomAction Id="CACreateWebApp.Install" Execute="deferred" Return="check" BinaryKey="VoyagerCustomActions.dll" DllEntry="CreateWebSiteAndApplication" /> <SetProperty Id="CACreateWebApp.Uninstall.Rollback" Return="check" Sequence= "execute" Before="CACreateWebApp.Uninstall.Rollback" Value=" Action=Uninstall.Rollback;[CACreateWebApp.Data]"/> <CustomAction Id="CACreateWebApp.Uninstall.Rollback" Execute="rollback" Return="check" BinaryKey="VoyagerCustomActions.dll" DllEntry=" CreateWebSiteAndApplication"/> <SetProperty Id="CACreateWebApp.Uninstall" Return="check" Sequence="execute" Before="CACreateWebApp.Uninstall" Value=" Action=Uninstall;[CACreateWebApp.Data]"/> <CustomAction Id="CACreateWebApp.Uninstall" Execute="deferred" Return="check " BinaryKey="VoyagerCustomActions.dll" DllEntry="RemoveWebSiteAndApplication "/> <!--Merge log files--> <SetProperty Id="CAMergeLogs.Install" Return="check" Sequence="execute" Before="CAMergeLogs.Install" Value=" Action=Install;ScriptRunnerLogPath=[VoyagerDatabaseFolder]scriptRunner.log" /> <CustomAction Id="CAMergeLogs.Install" Execute="deferred" Return="check" BinaryKey="VoyagerCustomActions.dll" DllEntry="MergeLogs"/> <SetProperty Id="CAMergeLogs.Install.Rollback" Return="check" Sequence=" execute" Before="CAMergeLogs.Install.Rollback" Value=" Action=Install.Rollback;ScriptRunnerLogPath=[VoyagerDatabaseFolder]scriptRunner.log "/> <CustomAction Id="CAMergeLogs.Install.Rollback" Execute="rollback" Return=" check" BinaryKey="VoyagerCustomActions.dll" DllEntry="MergeLogs"/> <!--RiaServices Installation--> <SetProperty Id="ResolveSource" Return="check" Sequence="ui" Before=" CAInstallRiaServices" Value="[SOURCEDIR]"/> <CustomAction Id="CAInstallRiaServices" Return="check" BinaryKey=" VoyagerCustomActions.dll" DllEntry="InstallRiaServices" Execute="immediate" /> <CustomAction Id="CACheckRiaServices" Return="check" BinaryKey=" VoyagerCustomActions.dll" DllEntry="CheckRiaServices" Execute="immediate"/> </Include> ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users