Then, it sounds to me like you will want to expand you Custom Action script itself to not only run the clean up, but also copy the file onto the system you use for the clean up. That should do it. But, no way to copy one Feature, do some Custom Action and then copy another Feature, that I'm aware of.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vivek Sent: Wednesday, September 17, 2008 2:40 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Running Custom Action Before InstallFiles Thanks Chad, but i am running this msi under too many different scenario's 1) If the user is installing by his own i want to preserve some registry settings (I do not want this cleanup thing to run in this case. 2) If we are pushing the install from the server using: msiexec /i myapp.msi MYFLAG=1 in this case i want to run the cleanup files, which is giving me all this pain :-((. Thanks Again quote author="Chad Petersen"> I'm not Francis, but have a thought for you. Why not have your new MSI remove the older InstallShield MSI using the Upgrade element? It's built in. I always opt for built in features before using anything custom if it is available. Don't make things harder than they are. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vivek Sent: Wednesday, September 17, 2008 2:04 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Running Custom Action Before InstallFiles Hi Francis, May be my approach is wrong as i am a newbie with Wix with no prior experience on Install Shield. What i am trying to do here is we have some users that are using a msi (created with Install Shield) and we are replacing this old msi with the new one which we are creating with Wix. So for removing old msi completely from user machine we have created a batch file that cleans up registry, removes product related files and folders and removes service that are installed with the old version of msi (created with Install shield). And before i install my new version i want to execute this script to clean all files and setting related to prior msi. Please suggest if there is any better approach to achieve my goal. Thanks, Vivek Francis Kam wrote: > > I was under the impression that InstallFiles is a single discrete action > and > can not be broken down per-file. I don't think what you're trying to do is > possible with your current approach. Instead, I would consider putting > your > CA in the Binary table rather than explicitly installing it on the file > system. Although I just realized you're using a batch file... I can't > recall > if you can put a batch file in the Binary table (although I imagine you > can > put any sort of file in there). > > What are you actually trying to accomplish? What exactly does the batch > file > do? > > -Francis > > > > On Wed, Sep 17, 2008 at 12:35 PM, Vivek <[EMAIL PROTECTED]> wrote: > >> >> Thanks for your response, but i am having a hard time fitting this custom >> action in between two features. >> I checked my Action sequence with Ocra but it doesn't tells me any thing >> about sequence of installing a feature. can you please provide me some >> example. >> >> Thanks, >> Vivek >> >> > ------------------------------------------------------------------------ - > 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 p1096515.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 ------------------------------------------------------------------------ - 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 p1096637.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 ------------------------------------------------------------------------- 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