well we did this fine in WIX 2.0
so it shud be able to be done in WIX3.0 too
Vasu

On 4 November 2010 16:00, Chris Lord <chris.l...@atterotech.com> wrote:

> Vasu,
>
> If the additional application has its own installer then you have no
> option except to use a bootstrapper as you can't start one installer
> from within another (called chaining).
>
> Can't help with the second part I am afraid.
>
> Chris
>
> On 11/04/2010 11:46 AM, Vasu Chakkera wrote:
> > Dear All,
> > I am new to WIX and trying certain things.. I have successfully finished
> > writing an installer that does most of the things..
> > I now have a situation where as a part of installation , i need to check
> the
> > presence of MathPlayer.exe  in the system, and if it doesnt exist, then i
> > need to install the Mathplayer.exe
> >
> > i also have another  H2Reg.exe  that i need to run anyway everytime with
> - u
> > command while installing
> > and the same exe should be run with -r command while un installing.. It
> all
> > worked fine with wix 2.0 ..
> >
> > I am using wix3.0 now.
> >
> > I tried this
> >
> >
> >           <CustomAction Id="MATHPLAYEREXECUSTOM" Return="check"
> > Execute="deferred" FileKey="file_MathPlayerSetupexe"
> > ExeCommand="/Install"/>
> >        <CustomAction Id="H2REGCUSTOMINSTALL" Return="check"
> > Execute="deferred"  FileKey="file_H2Regexe" ExeCommand="-r"/>
> >        <CustomAction Id="H2REGCUSTOMUNINSTALL" Return="check"
> > Execute="deferred" FileKey="file_H2Regexe" ExeCommand="-u"/>
> >      <!--<CustomAction Id="LaunchApplication" FileKey="FoobarEXE"
> > ExeCommand="" Execute="immediate" Impersonate="yes"
> > Return="asyncNoWait"></CustomAction>-->
> >          <CustomAction Id="LAUNCHREADMECUSTOM" Property="NOTEPAD"
> > ExeCommand="[INSTALLDIR]\Readme.txt" Execute="deferred"
> > Return="asyncNoWait"></CustomAction>
> >
> >
> >
> >             <InstallExecuteSequence>
> >
> >                    <Custom Action="MATHPLAYEREXECUSTOM"
> > After="InstallFinalize">(not MATHPLAYERFOUND) AND INSTALLMATHPLAYER AND
> > $comp_MathPlayerSetupexe&gt;2</Custom>
> >                    <Custom Action="H2REGCUSTOMINSTALL"
> > After="InstallFinalize">  $comp_H2Regexe&gt;2 AND ( ( SEARCHFORVS7) OR
> > (SEARCHFORVS8) OR (SEARCHFORVS9) )</Custom>
> >                    <Custom Action="H2REGCUSTOMUNINSTALL"
> > After="InstallFinalize">  $comp_H2Regexe=2  AND ( ( SEARCHFORVS7) OR
> > (SEARCHFORVS8) OR (SEARCHFORVS9) )</Custom>
> >
> >
> >      <RemoveExistingProducts After="InstallFinalize"/>
> >              </InstallExecuteSequence>
> >
> >
> >
> > I ran and got the following error
> >
> > C:\Installer.wxs(1462) : error LGHT0204 : ICE77: MATHPLAYEREXECUSTOM is a
> > in-script custom action.  It must be sequenced in between the
> > InstallInitialize action and the InstallFinalize action in the
> > InstallExecuteSequence table
> > C:\Installer.wxs(1463) : error LGHT0204 : ICE77: H2REGCUSTOMINSTALL is a
> > in-script custom action.  It must be sequenced in between the
> > InstallInitialize action and the InstallFinalize action in the
> > InstallExecuteSequence table
> > C:\Installer.wxs(1464) : error LGHT0204 : ICE77: H2REGCUSTOMUNINSTALL is
> a
> > in-script custom action.  It must be sequenced in between the
> > InstallInitialize action and the InstallFinalize action in the
> > InstallExecuteSequence table
> >
> >
> >
> >
> >
> > any pointers or help regarding this will be highly appreciated. thanks
> > ]Vasu[
> >
> ------------------------------------------------------------------------------
> > The Next 800 Companies to Lead America's Growth: New Video Whitepaper
> > David G. Thomson, author of the best-selling book "Blueprint to a
> > Billion" shares his insights and actions to help propel your
> > business during the next growth cycle. Listen Now!
> > http://p.sf.net/sfu/SAP-dev2dev
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> ------------------------------------------------------------------------------
> The Next 800 Companies to Lead America's Growth: New Video Whitepaper
> David G. Thomson, author of the best-selling book "Blueprint to a
> Billion" shares his insights and actions to help propel your
> business during the next growth cycle. Listen Now!
> http://p.sf.net/sfu/SAP-dev2dev
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>



-- 
Vasu Chakkera
Numerical Algorithms Group Ltd.
Oxford
www.vasucv.com
------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to