Get Orca. That way you can LOOK at the sequence of ALL actions without
having to even run the install and log anything. Huge time saver.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bhavdeep
Singh
Sent: Wednesday, September 17, 2008 10:22 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Running Custom Action Before InstallFiles

Hi Vivek,
 
What actually you are trying to do is to run your custom action After
"InstallFiles" but only after one feature. The way i have seen until now
is either we can run custom action Before "InstallFiles" system action
is complete or After "InstallFiles" system action is complete. You want
something in the middle as per Conditional install of one feature. m not
sure but i guess Sequece attribute of <Custom> element could help you in
that. Try to create a Log of your MSI installation and see what is the
sequence number when your feature CompTemp is getting installed and work
around on this. 
this is how you could create a log which installing Msi.
 
msiexec /i c:\your-msi-file-name-&-ocation /l
c:\you-log-file-name-&-LocationThanks and RegardsBhavdeep Singh



> Date: Wed, 17 Sep 2008 10:01:48 -0700> From: [EMAIL PROTECTED]>
To: wix-users@lists.sourceforge.net> Subject: Re: [WiX-users] Running
Custom Action Before InstallFiles> > > You got it correctly Bhavdeep,
yes i was thinking the same way that i have to> keep this in a seperate
feature. > But how can i define the InstallExecuteSequece to run it
before any thing> else kick off.> > Thanks,> Vivek> > > BOB1981 wrote:>
> > > HI Vivek, > > > > Let me understand , are you trying to run your
custom action after this> > TempComp is installed But Before Rest of the
components are installed.?> > if yes then atleast you need to keep
TempComp as one feature and rest> > components and second
feature..Thanks and RegardsBhavdeep Singh> > > > > > > >> Date: Wed, 17
Sep 2008 08:10:59 -0700> From: [EMAIL PROTECTED]> To:> >>
wix-users@lists.sourceforge.net> Subject: Re: [WiX-users] Running
Custom> >> Action Before InstallFiles> > > Hi All,> > I am trying some
thing> >> similar. What 
 i am trying to do is I have one file> which i have included> >> in my
msi and i am copying it in "Temp Folder" using a> component which> >> is
getting called in my main feature element> > > <Directory> >>
Id="TempFolder" SourceName="Temp">> <Component Id="TempComp">> >>
Guid="FD8C351E-7DE5-462B-957D-CA3BFF7BA17F">> <File Id="CLEANUP"> >>
Name="cleanup.cmd" LongName="cleanup.cmd">> >>
Source="dependencies/batch/cleanup.cmd" DiskId="1"/>> </Component>>> >>
</Directory>> > i am calling this component in my main feature like> >>
this:> > <Feature Id="ProductFeature" Title="Standalone Product"> >>
Level="1"> Description="Installs all Product components">>
<ComponentRef> >> Id="TempComp"/>> <ComponentRef Id="RegistryComp1" />>
<ComponentRef> >> Id="ProductComponent" />> <ComponentRef
Id="OUTPUTFLDR" > > />> <ComponentRef Id="DLLS" />> <ComponentRef
Id="MyService"/>>> > </Feature>> > Now my problem is i have a custom
action (which calls the> > file i placed in> Temp folder) which i
  wish to execute to do some cleanup> > before installing my> new files.
> Is it possible i can just copy this> > file and execute my custom
action before> installing any of my files?> >> > Thanks in Advance.> >
Vivek> > > BOB1981 wrote:> > > > Hi All,> > > >> > Everyone has been
really helpfull here with me, first thankyou soo much> >> > for this
help.> > > > Okey now my Question, I am trying to run a Custom> > action
before Install> > Files , this action is to just xcopy existing> >
folder from h:\Sites to> > h:\BackupSites , i added the custome action
and> > InstallExecute Sequence as> > below:-> > > > <CustomAction> >
Id='BackupFiles' Value ='c:\xcopy /e /c /y h:\Sites> > h:\BackupSites'>
> Property='BackupFiles'></CustomAction>> > > >
<InstallExecuteSequence>> >> > <Custom Action='BackupFiles'
Before='InstallFiles'></Custom>> > </In> > stallExecuteSequence>> > > >
My Product.wxs file complie and generates an> > MSI with no errors.> >
But when i install the MSI this actio
 n is running> > but with exit code 1 as> > below, part of Log file is
below:> > > > Action> > 16:28:27: BackupFiles. > > Action start
16:28:27: BackupFiles.> > Action> > ended 16:28:27: BackupFiles. Return
value 1.> > > > it seems the action is> > running but some error while
executing. How can i> > Use Xcopy in this> > scenario to use as custom
action to run before> > InstallFiles Action.> >> > > > Waiting.> >
Thanks> > > > > > -- > View this message in context:> >
http://n2.nabble.com/Running-Custom-Action-Before-InstallFiles-tp1093699
p1095539.html>> > Sent from the wix-users mailing list archive at
Nabble.com.> > >> >
------------------------------------------------------------------------
->> > This SF.Net email is sponsored by the Moblin Your Move
Developer's> > challenge> Build the coolest Linux based applications
with Moblin SDK &> > win great prizes> Grand prize is a trip> > for two
to an Open Source event anywhere in the world>> >
http://moblin-contest.org/redirect.p
 hp?banner_id=100&url=/>> >
_______________________________________________> WiX-users mailing
list>> > WiX-users@lists.sourceforge.net>> >
https://lists.sourceforge.net/lists/listinfo/wix-users> >
_________________________________________________________________> >
Stay up to date on your PC, the Web, and your mobile phone with Windows>
> Live.> > http://clk.atdmt.com/MRT/go/msnnkwxp1020093185mrt/direct/01/>
>
------------------------------------------------------------------------
-> > This SF.Net email is sponsored by the Moblin Your Move Developer's>
> challenge> > Build the coolest Linux based applications with Moblin
SDK & win great> > prizes> > Grand prize is a trip for two to an Open
Source event anywhere in the> > world> >
http://moblin-contest.org/redirect.php?banner_id=100&url=/> >
_______________________________________________> > WiX-users mailing
list> > WiX-users@lists.sourceforge.net> >
https://lists.sourceforge.net/lists/listinfo/wix-users> > > > > > -- >
View
  this message in context:
http://n2.nabble.com/Running-Custom-Action-Before-InstallFiles-tp1093699
p1095857.html> Sent from the wix-users mailing list archive at
Nabble.com.> > >
------------------------------------------------------------------------
-> This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge> Build the coolest Linux based applications with Moblin SDK &
win great prizes> Grand prize is a trip for two to an Open Source event
anywhere in the world>
http://moblin-contest.org/redirect.php?banner_id=100&url=/>
_______________________________________________> WiX-users mailing list>
WiX-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/wix-users
_________________________________________________________________
Stay up to date on your PC, the Web, and your mobile phone with Windows
Live.
http://clk.atdmt.com/MRT/go/msnnkwxp1020093185mrt/direct/01/
------------------------------------------------------------------------
-
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the
world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to