Hi Cristopher, Here s what i have done to achieve this:
i have used DTF and written a CA which in turn refers a DLL and call particular method in DLL. and this CA is binary file. Its happening perfect for me as expected. Can you let me know whether its ideal to do like this ? or there is another batter way than this ? Thanks! Akash On Mon, Mar 2, 2009 at 6:20 PM, Christopher Painter < chr...@deploymentengineering.com> wrote: > > WiX doesn't support this and it's unlikely that it ever will. Some have > suggested that this pattern opens up the possibility for a man in the middle > attack since in a elevated scenario the UI sequence ( non-priv process ) > extracts the files and in the execute seqence ( potentially priv process ) > the files might be executed. This opens a window for the non-priv user to > inject untrusted code. > > However, if you want this pattern and you own InstallShield, take a look > at the ISSetupFiles table and the custom actions ISSetupFilesExtract and > ISSetupFilesCleanup. It's pretty easy to transplant to another package. > > Also if you are open to managed custom actions, DTF does a pretty good job > of packaging resources for extraction when a CA fires. > > > Christopher Painter, Author of Deployment Engineering Blog > Have a hot tip, know a secret or read a really good thread that deserves > attention? E-Mail Me > > > --- On Mon, 3/2/09, akash bhatia <911ak...@gmail.com> wrote: > > > From: akash bhatia <911ak...@gmail.com> > > Subject: Re: [WiX-users] SUPPORTDIR for WIX > > To: "General discussion for Windows Installer XML toolset." < > wix-users@lists.sourceforge.net> > > Date: Monday, March 2, 2009, 12:45 AM > > Thanks for ur reply Brian, > > > > I will tell you how things use to work in installShield > > > > there we have once section by the name SupportFiles, where > > we can add our > > files which we need not to install on the target machine > > but can use for our > > logic(do certain things, like registring few things) on > > fly. > > > > When installer runs, these files are copied to the TEMP > > directory on the > > target machine which we can access by using SUPPORTDIR > > property in > > Installshield. > > Can you throw some light on this ? > > > > And how to achieve the same in WIX? > > > > Thanks! > > Akash > > On Sat, Feb 28, 2009 at 3:10 AM, Brian Rogers > > <rogers.br...@gmail.com>wrote: > > > > > Hey Akash, > > > > > > I haven't used InstallShield since version 11 but > > don't remember that > > > directory. You can create a <Directory > > Id="SUPPORTDIR" Name="SupporDir" /> > > > element inside your directory structure. > > > > > > Thanks, > > > > > > Brian Rogers > > > "Intelligence removes complexity." - Me > > > http://icumove.spaces.live.com > > > > > > > > > On Thu, Feb 26, 2009 at 6:35 AM, akash bhatia > > <911ak...@gmail.com> wrote: > > > > > > > Hi, > > > > > > > > i am a newbie in Wix and is using Wix 3.0 toolset > > currently. > > > > > > > > before, i was using installshield for creating > > installers. > > > > > > > > i was wondering do we have some concept in Wix > > like SUPPORTDIR in > > > > Installshield. > > > > > > > > Below is what i have thought as a solution to > > the above:- > > > > > > > > Means, if we dont have one, we can use > > files(files to be included in > > > > SUPPORTDIR) included in BINARY table in > > particular custom action, like > > > > registrying certain dlls in my case. > > > > > > > > but am not sure whether we can call any > > *function* from normal *c# DLL*? > > > > > > > > > > > > Any suggestions for me how to tackle this > > requirement of mine? > > > > > > > > Thanks, > > > > Akash > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > Open Source Business Conference (OSBC), March > > 24-25, 2009, San Francisco, > > > > CA > > > > -OSBC tackles the biggest issue in open source: > > Open Sourcing the > > > > Enterprise > > > > -Strategies to boost innovation and cut costs > > with open source > > > > participation > > > > -Receive a $600 discount off the registration fee > > with the source code: > > > > SFAD > > > > http://p.sf.net/sfu/XcvMzF8H > > > > _______________________________________________ > > > > WiX-users mailing list > > > > WiX-users@lists.sourceforge.net > > > > > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > Open Source Business Conference (OSBC), March 24-25, > > 2009, San Francisco, > > > CA > > > -OSBC tackles the biggest issue in open source: Open > > Sourcing the > > > Enterprise > > > -Strategies to boost innovation and cut costs with > > open source > > > participation > > > -Receive a $600 discount off the registration fee with > > the source code: > > > SFAD > > > http://p.sf.net/sfu/XcvMzF8H > > > _______________________________________________ > > > WiX-users mailing list > > > WiX-users@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > ------------------------------------------------------------------------------ > > Open Source Business Conference (OSBC), March 24-25, 2009, > > San Francisco, CA > > -OSBC tackles the biggest issue in open source: Open > > Sourcing the Enterprise > > -Strategies to boost innovation and cut costs with open > > source participation > > -Receive a $600 discount off the registration fee with the > > source code: SFAD > > http://p.sf.net/sfu/XcvMzF8H > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, > CA > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > -Strategies to boost innovation and cut costs with open source > participation > -Receive a $600 discount off the registration fee with the source code: > SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users