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

Reply via email to