What is in the .wxi file? Personally, I would take the <?include?> out and take whatever is in the .wxi file and put it in a Fragment element.
On Sat, Jul 17, 2010 at 7:58 AM, Bhaumik Barot <bhaumik...@gmail.com> wrote: > I am new to Wix and upgraded existing wix 3.0 code to 3.5 as we are using > VS 2010. > > > > I have my customaction.wxi That I am including in Product.wxs > > > > Like this > > > > <?include .\Includes\CustomActions.wxi ?> > > > > <InstallExecuteSequence> > > <Custom Action="CACheckRiaServices" Before="AppSearch">NOT Installed</ > Custom> > > <Custom Action="CAVerifySqlServerInstance" Before="CostInitialize">NOT > Installed</Custom> > > <Custom Action="CARefuseSqlServerInstance" After=" > CAVerifySqlServerInstance">SQLINSTANCE_ISVALID = "0" AND NOT Installed</ > Custom> > > > > <!--<Custom Action="Set_WEBSITE_NAME_DISPLAY_ToEmpty" > Before="CostInitialize">NOT Installed AND CREATE_NEW_WEBSITE = > "NO"</Custom> > > <Custom Action="Set_WEBSITE_PORT_DISPLAY_ToEmpty" > After="Set_WEBSITE_NAME_DISPLAY_ToEmpty">NOT installed AND > CREATE_NEW_WEBSITE = "NO"</Custom>--> > > > > <!--<Custom Action="Set_WEBSITE_NAME" Before="CostInitialize">NOT > Installed AND CREATE_NEW_WEBSITE = "YES"</Custom> > > <Custom Action="Set_WEBSITE_PORT" After="Set_WEBSITE_NAME">NOT > installed AND CREATE_NEW_WEBSITE = "YES"</Custom>--> > > > > <Custom Action="CAInstallVoyagerDatabase.Install" After=" > InstallSqlData">NOT Installed</Custom> > > <Custom Action="Set_CACreateWebApp.Data" After="DuplicateFiles"/> > > > > <!--Merge Logs--> > > <Custom Action="CAMergeLogs.Install.Rollback" Before=" > CAInstallVoyagerDatabase.Install">NOT Installed OR > REINSTALL~="ALL"</Custom> > > <Custom Action="CAMergeLogs.Install" After=" > CAInstallVoyagerDatabase.Install">NOT Installed</Custom> > > > > <!--Uninstall Custom Action for Droping Database not needed--> > > <!--<Custom Action="CADropDatabases.Uninstall.Data" > Before="RemoveFiles">Installed AND REMOVE~="ALL"</Custom> > > <Custom Action="CADropDatabases.Uninstall" > After="CADropDatabases.Uninstall.Data">Installed AND REMOVE~="ALL"</Custom> > --> > > > > <!--A roll back custom action must always be scheduled before the > corresponding install/uninstall custom action--> > > <Custom Action="CACreateWebApp.Install.Rollback" After=" > Set_CACreateWebApp.Data">NOT Installed OR REINSTALL~="ALL"</Custom> > > <Custom Action="CACreateWebApp.Install" After=" > CACreateWebApp.Install.Rollback">NOT Installed OR REINSTALL="ALL"</Custom> > > > > <Custom Action="CACreateWebApp.Uninstall.Rollback" After=" > Set_CACreateWebApp.Data">Installed AND REMOVE~="ALL"</Custom> > > <Custom Action="CACreateWebApp.Uninstall" After=" > CACreateWebApp.Uninstall.Rollback">Installed AND REMOVE~="ALL"</Custom> > > </InstallExecuteSequence> > > </Product> > > </Wix> > > > > > > But all the install sequence custom actions are throwing this error > > > > > > Unresolved reference to symbol > 'CustomAction:InstallExecuteSequence/CAInstallVoyagerDatabase.Install' in > section 'Product:{353CAAFF-C714-44B8-A522-F768DDC967CC}'. > > D:\Perforce\GlobalPACS\dev\analytics\voyager\VoyagerInstaller\Installer\Includes\CustomActions.wxi > > > Unresolved reference to symbol > 'CustomAction:InstallExecuteSequence/CACreateWebApp.Install.Rollback' in > section 'Product:{353CAAFF-C714-44B8-A522-F768DDC967CC}'. > > D:\Perforce\GlobalPACS\dev\analytics\voyager\VoyagerInstaller\Installer\Includes\CustomActions.wxi > > > > > > > And so on. Please help. > > > > Thanks, > > Bhaumik > > > ---------- Forwarded message ---------- > From: Rob Mensching <r...@robmensching.com> > Date: Sat, Jul 17, 2010 at 9:35 AM > Subject: Re: [WiX-users] Upgraded from 3.0 to 3.5 > To: "General discussion for Windows Installer XML toolset." < > wix-users@lists.sourceforge.net> > > > The .wxs with your Product element is referring to a > CustomAction/@Id="CAInstallVoyagerDatabase.Install" but that CustomAction > isn't found. Is it in a fragment in a different .wxs that you are not > compiling and providing the .wixobj to the linker? > > On Fri, Jul 16, 2010 at 8:26 PM, Bhaumik Barot <bhaumik...@gmail.com> > wrote: > > > Geeting this error: > > > > Error 61 Unresolved reference to symbol > > 'CustomAction:InstallExecuteSequence/CAInstallVoyagerDatabase.Install' in > > section 'Product:{353CAAFF-C714-44B8-A522-F768DDC967CC}'. > > > > -- > > Bhaumik Barot > > > > > > ------------------------------------------------------------------------------ > > 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 > > > > > > > -- > virtually, Rob Mensching - http://RobMensching.com< > http://robmensching.com/>LLC > > ------------------------------------------------------------------------------ > 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 > > > > -- > Bhaumik Barot > > ------------------------------------------------------------------------------ > 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 > > -- virtually, Rob Mensching - http://RobMensching.com LLC ------------------------------------------------------------------------------ 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