I can't see anything obviously wrong here, but my suggestion is to create a verbose log and see what the property values are:
msiexec /i setup.msi /l*vx Install.log Also, if you aren't using it Wilogutl.exe<http://msdn.microsoft.com/en-us/library/aa372811.aspx>is a nice tool to analyze the logs with. On Mon, Jul 14, 2008 at 3:16 PM, Amir Kolsky <[EMAIL PROTECTED]> wrote: > Anyone? HELP? > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Amir > Kolsky > Sent: Sunday, July 13, 2008 11:25 PM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Another newbie question: condition on custom > action > > OK... So this, I don't get... > > Given: > <Property Id='IT_EXISTS'> > <DirectorySearch Id="YEY" Path="C:\"> > <FileSearch Name='ssssxxxasfsdfxxx.txt'/> > </DirectorySearch> > </Property> > > Which *obviously* does not exist :-) > Why does: > <Custom Action="DoSomething" Before="SomthingElse"> > IT_EXISTS AND NOT Installed > </Custom> > Get invoked? > > Thanks! > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Amir > Kolsky > Sent: Saturday, July 12, 2008 4:38 PM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Another newbie question: condition on custom > action > > That would be a good thing to write in the chm.... > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Rob > Mensching > Sent: Saturday, July 12, 2008 2:12 PM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Another newbie question: condition on custom > action > > Yes. > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Amir > Kolsky > Sent: Saturday, July 12, 2008 13:33 > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Another newbie question: condition on custom > action > > This means "the condition that determines if the action will be taken, > calculated just prior to taking the action?" > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Rob > Mensching > Sent: Saturday, July 12, 2008 9:12 AM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Another newbie question: condition on custom > action > > Uhh, yeah. You asked how to "condition a custom action" and that says > "specifies the condition of the action". Am I missing something? Is > there some way we could make the documentation clearer? > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Amir > Kolsky > Sent: Friday, July 11, 2008 17:27 > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Another newbie question: condition on custom > action > > Are you referring to this? > > *Inner Text (xs:string)* > Text node specifies the condition of the action. > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Rob > Mensching > Sent: Friday, July 11, 2008 5:04 PM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Another newbie question: condition on custom > action > > See the text of the Custom element in the WiX.chm. > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Amir > Kolsky > Sent: Friday, July 11, 2008 15:03 > To: wix-users@lists.sourceforge.net > Subject: [WiX-users] Another newbie question: condition on custom action > > Hi All! > > > > How do I <condition> a custom action (basically for NOT installed)? > > I tried to put it in a fragment but then it stops the uninstall dead. > > The level=0 is only accepted inside Features, but this is and install > sequence thing... > > > > This must be trivial, what am I missing? > > > > Thanks, Amir > > > > ------------------------------------------------------------------------ > - > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > ------------------------------------------------------------------------ > - > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > ______________________________________________________________________ > This email has been scanned by the MessageLabs Email Security System. > For more information please visit http://www.messagelabs.com/email > ______________________________________________________________________ > > ------------------------------------------------------------------------ > - > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > ------------------------------------------------------------------------ > - > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > ______________________________________________________________________ > This email has been scanned by the MessageLabs Email Security System. > For more information please visit http://www.messagelabs.com/email > ______________________________________________________________________ > > ------------------------------------------------------------------------ > - > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > ------------------------------------------------------------------------ > - > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > ______________________________________________________________________ > This email has been scanned by the MessageLabs Email Security System. > For more information please visit http://www.messagelabs.com/email > ______________________________________________________________________ > > ------------------------------------------------------------------------ > - > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > ______________________________________________________________________ > This email has been scanned by the MessageLabs Email Security System. > For more information please visit http://www.messagelabs.com/email > ______________________________________________________________________ > > ------------------------------------------------------------------------ > - > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > ______________________________________________________________________ > This email has been scanned by the MessageLabs Email Security System. > For more information please visit http://www.messagelabs.com/email > ______________________________________________________________________ > > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > 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