The installation of the DirectX Redistributables is documented here:
http://msdn.microsoft.com/en-us/library/ee418267(VS.85).aspx

You either have to call the DXSetup.Exe (provided in the redistributable,
Standard Install) or you have to write a liitle exe which uses the DXSetup
API (Custom Install). Both alternatives require the invocation of an exe
file, so in my opinion it doesn't matter whether  it is called in the
bootstrapper or the installer itself. I prefer the installer itself (Custom
action before the InstallFinalize stage), because in case of failure of the
installer, I don’t have to start the DXSetup at all, which by far is the
longest running process during the installation. 

Just my 2 cents
Peter

-----Ursprüngliche Nachricht-----
Von: Pally Sandher [mailto:pally.sand...@iesve.com] 
Gesendet: Dienstag, 14. September 2010 11:22
An: General discussion for Windows Installer XML toolset.
Betreff: Re: [WiX-users] Howto remove files before Installer terminates

Why not? Can't you simply bootstrap the DirectX redistributable the same as
you do for .NET 2.0 Framework? 

I haven't done it myself but whenever I'm building or updating my gaming
machines at home I get the redistributable from Microsoft so it definitely
exists. See
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=3b170b25-abab-4b
c3-ae91-50ceb6d8fa8d&displaylang=en

Palbinder Sandher
Software Deployment & IT Administrator
T: +44 (0) 141 945 8500
F: +44 (0) 141 945 8501 

http://www.iesve.com
**Design, Simulate + Innovate with the <Virtual Environment>** Integrated
Environmental Solutions Limited. Registered in Scotland No. SC151456
Registered Office - Helix Building, West Of Scotland Science Park, Glasgow
G20 0SP Email Disclaimer

-----Original Message-----
From: Peter Enz [mailto:peter....@gmx.de]
Sent: 14 September 2010 09:35
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Howto remove files before Installer terminates

Hi Pally,

I am already using dotnetInstaller (my App requires dotnetFX 2.0), but I
don't see, that dotnetInstaller could be of special help with DirectX ?

Regards
Peter

-----Ursprüngliche Nachricht-----
Von: Pally Sandher [mailto:pally.sand...@iesve.com]
Gesendet: Montag, 13. September 2010 12:13
An: General discussion for Windows Installer XML toolset.
Betreff: Re: [WiX-users] Howto remove files before Installer terminates

Bootstrap it as a pre-requisite instead & save yourself the hassle. Any
half-decent bootstrapper will do exactly that & your installer will never
have to even know about DirectX other than maybe a LaunchCondition to check
it is installed.

See dotnetinstaller -> http://dotnetinstaller.codeplex.com/ (other
bootstrappers are probably available but until Burn is ready for general use
you'll be hard pressed to find a free alternative that's as fully featured
as DNI).

Palbinder Sandher
Software Deployment & IT Administrator
T: +44 (0) 141 945 8500
F: +44 (0) 141 945 8501 

http://www.iesve.com
**Design, Simulate + Innovate with the <Virtual Environment>** Integrated
Environmental Solutions Limited. Registered in Scotland No. SC151456
Registered Office - Helix Building, West Of Scotland Science Park, Glasgow
G20 0SP Email Disclaimer

-----Original Message-----
From: Peter Enz [mailto:peter....@gmx.de]
Sent: 13 September 2010 08:44
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Howto remove files before Installer terminates

Hi Fabio,

thank you for your response.

>> Let me understand this correctly: You want to remove the "DirectXRedist"
Component & Folder after the installation is finished?
That's right. Nearly 100 MB seems to me as too much to be left on the
customer's machine.

So I will write a little program, which will install the DirectX stuff
(calls DXSetup)  and call this with a custom action.

Regards
Peter

-----Ursprüngliche Nachricht-----
Von: Fabio Di Lorenzo [mailto:fa...@dilorenzo.ch]
Gesendet: Samstag, 11. September 2010 17:42
An: General discussion for Windows Installer XML toolset.
Betreff: Re: [WiX-users] Howto remove files before Installer terminates

Hi Peter,

Let me understand this correctly: You want to remove the "DirectXRedist"
Component & Folder after the installation is finished?

Because its part of your installation i do not recommend to delete this
folder afterwards.
it's possible to do this with a  custom action, but after each repair of
your product it will be restored (& redeleted) ;)

i would rather choose another technical solution if you dont want to leave
any directx redist files.

Regards,
Fabio



On Fri, Sep 10, 2010 at 2:24 PM, kr871io9 <kr871...@yahoo.de> wrote:

> Hi,
>
> I am new to WiX, so hopefully I am not missing any fundamental steps here.
>
> I am creating an installer for a Desktop Application.  The installer 
> also installs DirectX 9.0  as described in the Wix.chm How To Guides.
> Everything works fine as expected, but I would like to remove the 
> DirectX Redist folder, before the Installer terminates. What would be 
> the preferred way to achieve this?
>
> Thanks
> Peter
>
>
>
>
> ----------------------------------------------------------------------
> --------
> Automate Storage Tiering Simply
> Optimize IT performance and efficiency through flexible, powerful, 
> automated storage tiering capabilities. View this brief to learn how 
> you can reduce costs and improve performance.
> http://p.sf.net/sfu/dell-sfdev2dev
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
----------------------------------------------------------------------------
--
Start uncovering the many advantages of virtual appliances and start using
them to simplify application deployment and accelerate your shift to cloud
computing http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


----------------------------------------------------------------------------
--
Start uncovering the many advantages of virtual appliances and start using
them to simplify application deployment and accelerate your shift to cloud
computing http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



----------------------------------------------------------------------------
--
Start uncovering the many advantages of virtual appliances and start using
them to simplify application deployment and accelerate your shift to cloud
computing http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


----------------------------------------------------------------------------
--
Start uncovering the many advantages of virtual appliances and start using
them to simplify application deployment and accelerate your shift to cloud
computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



----------------------------------------------------------------------------
--
Start uncovering the many advantages of virtual appliances and start using
them to simplify application deployment and accelerate your shift to cloud
computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to