Hi, Bob. Adding "Not Installed" in the condition would make the difference, because "Installed" is the Installation Status Property, take a look at http://msdn.microsoft.com/en-us/library/aa369297(VS.85).aspx.
Regards, Denis Zavorotnyuk. > -----Исходное сообщение----- > От: [EMAIL PROTECTED] [mailto:wix-users- > [EMAIL PROTECTED] От имени BOB1981 > Отправлено: 17 сентября 2008 г. 18:52 > Кому: wix-users@lists.sourceforge.net > Тема: Re: [WiX-users] HA: HA: Running Custom Action Before InstallFiles > > > Hi Denis, > I got this from these two links. If you read the rist link its someone > having this issue and second link explains how can we use Feature as a > refrence in condition. > > http://osdir.com/ml/windows.devel.wix.user/2005-01/msg00047.html > http://www.mail-archive.com/wix-users@lists.sourceforge.net/msg13712.htmlas > far you seggestion, right now it only triggers if that feature is getting > installed, i dont understand adding "Not Installed AND" in front of it would > make what diffrence. i dont understand this concept , can u explain a bit. > > Right now my package is working fine... > wht do u think abt this. > > This Msi Package which i am creating needs to be created in such way that , > > on our production server it is always going to be Install (Never > > Uninstall). > > this is why i wanted to all this backup Action before install. > > > > So wht can i change that it will allow over an existing Msi Product. > > Unlike > > right now it gives me an error "Another Version of this Product is already > > installed". > > Because i want all of my Components to be Unmanaged , I guess i am going > > to > > leave Guid attribute as an empty string. Do u think its okey.. I just dont > > know the concequesces of this. > > > > All actually i want is no updation in registry at all and just an > > installer > > (no removal). > > Let me know > > > Thanks > > > > Denis Zavorotnyuk wrote: > > > > Hi, Bob. > > Custom action <Custom Action='BackupFiles' > > Before='InstallFiles'><![CDATA[&F_Online=3]]></Custom> will perform > > whenever the feature "F_Online " is selected to install. Try include in > > your condition this: (Not Installed). It should look like this: > > <Custom Action='BackupFiles' Before='InstallFiles'><![CDATA[Not > > Installed AND &F_Online=3]]></Custom> > > > > P.S. Bob, tell me please, how do you know about the feature can be > > referenced in a condition as "&feature_name"? > > > > Regards, > > Denis Zavorotnyuk > > > > -- > View this message in context: > http://n2.nabble.com/Running-Custom-Action-Before- > InstallFiles-tp1093699p1095466.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