Hi Wix-users, I stuck at this issue: how to call Custom Action only on first install, but not on Upgrade. I wrote one installation package, which is able to upgrade. In my .msi there is one Custom Action, which should be called only on first installation. I have tried the following ways to call this Custom Action. But every time, it will be called both on first time install and on Upgrade. <Custom Action="MyCA" After="InstallFinalize">NOT Installed</Custom>
<Custom Action="MyCA" After="InstallFinalize">NOT Installed AND NOT PATCHFOUND </Custom> <Custom Action="MyCA" After="InstallFinalize">NOT Installed AND NOT PATCH </Custom> <Custom Action="MyCA" After="InstallFinalize">NOT Installed AND NOT UPGRADINGPRODUCTCODE </Custom> Could some one give me some hint how to handle it? Regards, Chunyan ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users