-> If you're doing a recursive MSI install it's not going to work. That's why 
there are bootstrappers and chainers that install MSI-based -> setups 
sequentially.
-> Phil

Okay .. recursive MSI install being one  .msi package calling another one.   
How would I go about creating a bootstrapper?   Is this a project type ?   This 
wix project is the first project I've had where I'm writing an install package 
so I'm a bit new to install issues.

Thanks for your help ...


Rob Hermann
Senior Software Developer 
Niceware International, LLC
10437 Innovation Drive
Suite 147
Milwaukee, WI  53226
Tel: 414-476-6423 x110
Fax: 414-476-7955
Email: rob.herm...@nicewareintl.com
http://www.nicewareintl.com
http://healthcare.nicewareintl.com


-----Original Message-----
From: Wilson, Phil [mailto:phil.wil...@wonderware.com] 
Sent: Tuesday, June 16, 2009 11:56 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] I need help with installing MS SQL Server Express 2008 
from a wixinstaller.msi

If you're doing a recursive MSI install it's not going to work. That's why 
there are bootstrappers and chainers that install MSI-based setups sequentially.
Phil 

________________________________________
From: Robert Hermann [rob.herm...@nicewareintl.com]
Sent: Tuesday, June 16, 2009 6:10 AM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] I need help with installing MS SQL Server Express 2008     
from a wixinstaller.msi

Hello,

I'm writing (or trying to write) a WIX installer that based upon what the user 
selects, installs SQL Express 2008 to the local machine.

I've got the command line down ...

<Binary Id="SQLServerExecutable" SourceFile ="SQLEXPRWT_x86_ENU.exe" />

<CustomAction Id="ExtractInstallSqlServer" BinaryKey="SQLServerExecutable" 
ExeCommand ='/ACTION=Install /ERRORREPORTING=1 /FEATURES=SQL,Tools 
/INSTANCENAME="SQLSRVREXPRESS" /SQLSVCACCOUNT="NT AUTHORITY\Network Service"  
/AGTSVCACCOUNT="NT AUTHORITY\Network Service" 
/SQLSYSADMINACCOUNTS="Builtin\Administrators"' Impersonate ="yes" />

I know the command line works because I can run in it in command window without 
any problems at all.
I run it through the installer, I can see it get started as it extracts file.

I run it as a custom action and it gets as far as trying to run sqlsupport.msi. 
  It says it can't find  the file. The  file is there.  I tried using the 
custom action with Impersonate set to "yes" and "no".  Does not make a 
difference.

Has anyone had any success installing SQL Server Express 2008 through WIX ?

Thanks !


Rob Hermann
Senior Software Developer
Niceware International, LLC
10437 Innovation Drive
Suite 147
Milwaukee, WI  53226
Tel: 414-476-6423 x110
Fax: 414-476-7955
Email: rob.herm...@nicewareintl.com
http://www.nicewareintl.com
http://healthcare.nicewareintl.com




Friday, May 1st 10:30AM - 11:30AM CDT
Blood Bag Identification with LabelClinic®  ISBT-128 Identification
Register Today!

Friday, May 8th 10:30AM - 11:30AM CDT
Introduction to NiceLabel Print Center
Register Today!

Friday, May 15th 10:30AM - 11:30AM CDT
End User Webinar - Advanced Filtering in NiceWatch
Register Today!

Friday, May 29th 10:30AM - 11:30AM CDT
Niceware Featured Partner Webinar - Leica Microsystems
Register Today!





The information in this e-mail and any attachments is confidential and may be 
subject to legal professional privilege. It is intended solely for the 
attention and use of the named addressee(s). If you are not the intended 
recipient or person responsible for delivering this information to the intended 
recipient, please notify the sender immediately. Unless you are the intended 
recipient or his/her representative you are not authorized to, and must not, 
read, copy, distribute, use or retain this message or any part of it


-----Original Message-----
From: Jacques Eloff [mailto:repst...@gmail.com]
Sent: Monday, June 15, 2009 4:36 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Trying to execute an exe file duringoraftermyinstall

Hi James

I noticed a typo in one of my emails. I had NTFS somewhere, instead of NFTS.
If you cut/paste from the emails, that might explain the error.

Jacques

On Mon, Jun 15, 2009 at 1:47 PM, MacDiarmid, James D <
james.macdiar...@eds.com> wrote:

>
> Ok  Thanks Jacques,   I'm more confused now than I was this morning when
> I started and haven't gotten anywhere with this. It shouldn't be this
> difficult to set up. As far as I can tell, I've got the code in my
> main.wxs as you mentioned and I keep getting that darn error saying
> unresolved reference to symbol 'CustomAction:Start_NFTS_Listener' in
> section 'Product:*'   I don't know which way to go at this point. All I
> want to do is execute an exe file that was written in-house.
>
> Thanks,
> Jim
>
>
> -----Original Message-----
> From: Jacques Eloff [mailto:repst...@gmail.com]
> Sent: Monday, June 15, 2009 3:38 PM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Trying to execute an exe file during
> oraftermyinstall
>
> Hi
>
> No, you shouldn't need to reference it. WixCA provides some built-in
> custom actions, so if you want to use them then you would set the
> BinaryKey attribute to WixCA. An example of this is using the
> CAQuietExec custom action that's provided by the WixCA dll.
>
> Thanks,
> Jacques
>
> On Mon, Jun 15, 2009 at 12:19 PM, MacDiarmid, James D <
> james.macdiar...@eds.com> wrote:
>
> >
> > Ok Thanks, I'll give that a shot. Right now I have the Binary Command
> > and the <CustomAction /> statement at the bottom of my code after my
> > <InstallExecuteSequence /> section. All of this is in the same
> product.
> > Also I was reading on a post in the archives on the net about the
> > wixca.wixlib having to be included or have a reference to it?
> >
> >
> >
> > -----Original Message-----
> > From: Jacques Eloff [mailto:repst...@gmail.com]
> >  Sent: Monday, June 15, 2009 2:38 PM
> > To: General discussion for Windows Installer XML toolset.
> > Subject: Re: [WiX-users] Trying to execute an exe file during or
> > aftermyinstall
> >
> > Hi Jim
> >
> > So all three elements have the same parent (product/fragment)? Your
> > source should look something like this (Just want to make sure I
> > understand where you're at right now). If you're using <Binary>, make
> > the ExeCommand attribute an empty string and add the BinaryKey
> > attribute like the example below.
> >
> > <Binary Id="NFTS30Listner.exe"
> > src="D:\Projects\NFTS\Src\apps\nfts\binaries\NFTS30Listener.exe"/>
> > <CustomAction Id="Start_NFTS_Listener"
> >                 Return="asyncNoWait"
> >                 HideTarget="no"
> >                 Execute="deferred"
> >                 Impersonate="no"
> >                 TerminalServerAware="no"
> >                 ExeCommand=""
> >                 BinaryKey="NFTS30Listner.exe"
> >                 FileKey="NFTS30Listener"> </CustomAction>
> > <InstallExecuteSequence>  <Custom Action='Start_NTFS_Listener'
> > Before='InstallFinalize'/> </InstallExecuteSequence>
> >
> > As for your earlier question. The only time order really matters is
> > when you might have multiple CAs that depend on one another. You can
> > specify the order of custom actions using attributes such as Before
> > inside your <Custom> element. For example, let say you have two CAs,
> > Foo and Bar, then you can do the following:
> >
> > <InstallExecuteSequence>
> >  <Custom Action='Foo' Before='Bar'/>
> >  <Custom Action='Bar' />
> > </InstallExecuteSequence>
> > If you are using WiX 3, you should use SourceFile in your code since
> > the src attribute for Binary has been deprecated if I recall
> correctly.
> >
> > Jacques
> > On Mon, Jun 15, 2009 at 9:57 AM, MacDiarmid, James D <
> > james.macdiar...@eds.com> wrote:
> >
> > >
> > > Ok I tried what you suggested and I'm getting the following error:
> > >
> > > Unresolved reference to symbol 'CustomAction:Start_NFTS_Listener' in
>
> > > section product. I also added this
> > >
> > >
> > > <Binary Id="NFTS30Listener.exe"
> > > src="D:\Projects\NFTS\Src\apps\nfts\binaries\NFTS30Listener.exe" />
> > >
> > > ...above the line that you mentioned, but something seems to be
> > missing.
> > >
> > > -----Original Message-----
> > > From: Jacques Eloff [mailto:repst...@gmail.com]
> > > Sent: Friday, June 12, 2009 6:14 PM
> > > To: General discussion for Windows Installer XML toolset.
> > > Subject: Re: [WiX-users] Trying to execute an exe file during or
> > > after
> >
> > > myinstall
> > >
> > >  Hi Jim
> > >
> > > You still need to schedule the action. For example,
> > >
> > > <InstallExecuteSequence>
> > >  <Custom Action='Start_NTFS_Listener' Before='InstallFinalize'/>
> > > </InstallExecuteSequence> Jacques On Fri, Jun 12, 2009 at 2:15 PM,
> > > MacDiarmid, James D < james.macdiar...@eds.com> wrote:
> > >
> > > >
> > > > I added the following code in my install with the intention that
> > > > it would execute the exe file at some point, but it's not working.
>
> > > > Is there anything I could be missing?
> > > >
> > > >    <CustomAction Id="Start_NFTS_Listener"
> > > >                  Return="asyncNoWait"
> > > >                  HideTarget="no"
> > > >                  Execute="deferred"
> > > >                  Impersonate="no"
> > > >                  TerminalServerAware="no"
> > > >
> > > >
> > >
> >
> ExeCommand="D:\Projects\NFTS\Src\apps\nfts\binaries\NFTS30Listener.exe"
> > > >                  FileKey="NFTS30Listener">
> > > >    </CustomAction>
> > > >
> > > > Thanks,
> > > > Jim
> > > >
> > > >
> > > >
> > > >
> > > > ------------------------------------------------------------------
> > > > --
> > > > --
> > > > -------- Crystal Reports - New Free Runtime and 30 Day Trial Check
>
> > > > out
> > >
> > > > the new simplified licensing option that enables unlimited
> > > > royalty-free distribution of the report engine for externally
> > > > facing
> >
> > > > server and web deployment.
> > > > http://p.sf.net/sfu/businessobjects
> > > > _______________________________________________
> > > > WiX-users mailing list
> > > > WiX-users@lists.sourceforge.net
> > > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > > >
> > > --------------------------------------------------------------------
> > > --
> > > --
> > >  ------
> > > Crystal Reports - New Free Runtime and 30 Day Trial Check out the
> > > new simplified licensing option that enables unlimited royalty-free
> > > distribution of the report engine for externally facing server and
> > > web
> >
> > > deployment.
> > > http://p.sf.net/sfu/businessobjects
> > > _______________________________________________
> > > WiX-users mailing list
> > > WiX-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > >
> > >
> > > --------------------------------------------------------------------
> > > --
> > > -------- Crystal Reports - New Free Runtime and 30 Day Trial Check
> > > out
> >
> > > the new simplified licensing option that enables unlimited
> > > royalty-free distribution of the report engine for externally facing
>
> > > server and web deployment.
> > > http://p.sf.net/sfu/businessobjects
> > > _______________________________________________
> > > WiX-users mailing list
> > > WiX-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > >
> > ----------------------------------------------------------------------
> > --
> > ------
> >  Crystal Reports - New Free Runtime and 30 Day Trial Check out the new
>
> > simplified licensing option that enables unlimited royalty-free
> > distribution of the report engine for externally facing server and web
>
> > deployment.
> > http://p.sf.net/sfu/businessobjects
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> >
> > ----------------------------------------------------------------------
> > -------- Crystal Reports - New Free Runtime and 30 Day Trial Check out
>
> > the new simplified licensing option that enables unlimited
> > royalty-free distribution of the report engine for externally facing
> > server and web deployment.
> > http://p.sf.net/sfu/businessobjects
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> ------------------------------------------------------------------------
> ------
>  Crystal Reports - New Free Runtime and 30 Day Trial Check out the new
> simplified licensing option that enables unlimited royalty-free
> distribution of the report engine for externally facing server and web
> deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables unlimited
> royalty-free distribution of the report engine for externally facing
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to