no alex I did not touch anything about the performance counters in the new
upgraded msi even keypath is also same. but still it is uninstalling it. :(
Can you give some other idea to implement this.

On Tue, Oct 21, 2008 at 5:29 PM, Alexander Shevchuk <
[EMAIL PROTECTED]> wrote:

> If you schedule RemoveExistingProduct *after* InstallFinalize, major
> upgrade will touch only components where keypath is different.  If you did
> not change your performance counters, they should not be uninstalled.
>  Component will be upgraded regardless of UPGRADINGPRODUCTCODE if keypath is
> different.  The only use for UPGRADINGPRODUCTCODE is when you don't want
> custom action to run on upgrade.
>
> Alex
>
>
>
> -----Original Message-----
> From: Amit Shrivastav [mailto:[EMAIL PROTECTED]
>  Sent: Tuesday, October 21, 2008 2:56 PM
> To: General discussion for Windows Installer XML toolset.o
> Subject: Re: [WiX-users] Problem in Upgrade scenario
>
> No it is also not working. I made the changes you suggested. What else i
> can
> do can you please suggest me I am totally block now.
> Adding this i ran upgrade scenario using verbose log. it is showing in the
> removeexistingproduct sequence which i put after installfinalize tag,
> executing uninstall performance counter. after that product installation
> finishes before executing install performance counter.
>
> Any help will be appreciated.
>
> Thanks
> Amit
>
> On Tue, Oct 21, 2008 at 9:49 AM, Wilson, Phil <[EMAIL PROTECTED]
> >wrote:
>
> > My guess is that your performance counters are being uninstalled because
> > the condition is something like REMOVE="ALL". If you don't want the
> > uninstall custom action to run from your old uninstall if it's upgrading
> > than that uninstall needs to add the condition AND NOT
> UPGRADINGPRODUCTCODE.
> >
> > Phil Wilson
> >
> > -----Original Message-----
> > From: Amit Shrivastav [mailto:[EMAIL PROTECTED]
> > Sent: Monday, October 20, 2008 8:57 PM
> > To: General discussion for Windows Installer XML toolset.
> > Subject: Re: [WiX-users] Problem in Upgrade scenario
> >
> > Thanks Richard to answer.
> >
> > Let me explain you complete scenario:
> >
> > 1) In the upgrade scenario i have to keep Config files as it is. We are
> not
> > planning to upgrade the config files and also database.
> > 2) I have to modify complete binaries.
> > 3) In the previous installation i am executing some custom actions to
> > install performance counters using condition ("Intalled" at the time of
> > uninstallation and "Not Installed" in the time of Installation).
> > 4) Installing some assemblies in the GAC.
> >
> > Now In the Major Upgrade scenario i included UpgradeTable. In that
> > OnlyDetect="no". For that I have to specify RemoveExistingProduct in the
> > InstallExecuteScenario. If i specify "RemoveExistingProduct" after
> > InstallInitialize it will remove complete product and also config files
> as
> > well. So I can not specify this after this. If i
> > specify  "RemoveExistingProduct" after InstallFinalize then config files
> > remains but performance counters got uninstalled. I am not able to call
> > install performance counter after removeexistingproduct it is throwing
> > error.
> >
> > I got stucked on this. Please let me know if you have any idea
> >
> > Thanks
> > Amit
> > On Mon, Oct 20, 2008 at 8:02 PM, Richard <[EMAIL PROTECTED]> wrote:
> >
> > >
> > > In article <
> [EMAIL PROTECTED]
> > >,
> > >    "Amit Shrivastav" <[EMAIL PROTECTED]>  writes:
> > >
> > > > I am getting strange problem. I have added some custom actions on the
> > > > previous MSI. That custom action is invoked using installUtil.exe.
> When
> > I
> > > am
> > > > executing that MSI working fine in both installation and
> uninstallation
> > > > scenario.
> > >
> > > Any chance that you could implement your CA some other way?  It sounds
> > > like you are being bit by the way assemblies are updated.  I'm assuming
> > > that your custom action depends on the upgraded assemblies.
> > > --
> > > "The Direct3D Graphics Pipeline" -- DirectX 9 draft available for
> > download
> > >      <http://www.xmission.com/~legalize/book/download/index.html>
> > >
> > >        Legalize Adulthood! <http://blogs.xmission.com/legalize/>
> > >
> > >
> -------------------------------------------------------------------------
> > > 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
> >
> >
> >
> > -------------------------------------------------------------------------
> > 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
>
>
> -------------------------------------------------------------------------
> 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