I do have it on both. However, it then is unable to uninstall. I changed 'NOT Installed' to 'INSTALLING' and automagically it works. I don't like it however, because I didnt find any reference to INSTALLING property anywhere in the docs...
Krzysztof >>> [EMAIL PROTECTED] 8/27/2008 1:35 pm >>> "NOT Installed" is correct but you need it on the other CustomAction (CertsBatPath) or both. Neil Neil Sleightholm X2 Systems Limited [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> ________________________________ From: [EMAIL PROTECTED] on behalf of Krzysztof Kozmic Sent: Wed 27/08/2008 11:47 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Odp: Re: Need help with QtExec Ok, noe more thing. How do I make the action be executed only when the installer is installing my app (as oposed to uninstalling or repairing) I tried to use it as: <Custom Action="SetCertsBatPath" After="CostFinalize">NOT Installed</Custom> it works during install, but while uninstalling i get error, and program won't uninstall. Is there any other, more appropriate flag for that? Is there a list of all those flags I can use? >>> [EMAIL PROTECTED] 8/27/2008 10:57 am >>> I think the documentation may be wrong, looking at my usage I would do this: <CustomAction Id="SetCertsBatPath" Property="CertsBatPath" Value=""[#certs.bat]"" /> CONFIDENTIALITY NOTICE This message is intended exclusively for the individual or entity to which it is addressed. This communication may contain information that is proprietary, privileged, confidential or otherwise legally exempt from disclosure. If you are not the named addressee, you are not authorized to read, print, retain, copy or disseminate this message or any part of it. If you have received this message in error, please delete all copies of this message and notify the sender immediately by return mail or fax ATSI S.A.(+4812) 285 36 04. Any email attachment may contain software viruses which could damage your own computer system. Whilst reasonable precaution has been taken to minimise this risk, we cannot accept liability for any damage which you sustain as a result of software viruses. You should therefore carry out your own virus checks before opening any attachments. ------------------------------------------------------------------------- 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