Your inner text looks fine. I use the same but inside a CDATA tag e.g. <Custom Action="SetCertsBatPath" After="CostFinalize"><![CDATA[NOT Installed]]></Custom>
I would try that & see if it fixes your uninstall problem. No idea why it would but you never know. I put my inner text inside CDATA tags as a habit even when it shouldn't be required as in your code. Are you sure the error is due to this Custom Action? There is a list of Properties on MSDN -> http://msdn.microsoft.com/en-us/library/aa370905.aspx but I'm not sure this is the cause of your uninstall issue. Neil Sleightholm is correct on the earlier problem with the Custom Action. The examples for Qtexec in the WiX help documentation is incorrect which also tripped me up using Qtexec earlier in the week. I stripped my property setting custom action code down to minimum tags required for a type 51 custom action e.g. <CustomAction Id="SetCertsBatPath" Property="CertsBatPath" Value=""[#certs.bat]"" Return="check" /> See http://msdn.microsoft.com/en-us/library/aa368237.aspx Palbinder Sandher Software Deployment and IT Administrator T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the <Virtual Environment>** Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP Email Disclaimer -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Krzysztof Kozmic Sent: 27 August 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]"" /> Neil Neil Sleightholm X2 Systems Limited [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> ________________________________ From: [EMAIL PROTECTED] on behalf of Krzysztof Kozmic Sent: Wed 27/08/2008 09:09 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Odp: Re: Need help with QtExec It works, when I change it to: <CustomAction Id="SetCertsBatPath" Property="CertsBatPath" Value=""[#certs.bat]"" Execute="immediate" Return="check" /> Seems odd to me. And error message was not helpful at all. Any idea why it works that way? Anyway, thanks for help. >>> [EMAIL PROTECTED] 8/27/2008 9:31 am >>> Right, I added it as a way of trying to fix it. Actually removing it doesn't change anything. I still get the error. >>> [EMAIL PROTECTED] 8/27/2008 9:24 am >>> I don't think you need the Impersonate attribute on SetCertsBatPath. Neil Neil Sleightholm X2 Systems Limited [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> ________________________________ From: [EMAIL PROTECTED] on behalf of Krzysztof Kozmic Sent: Wed 27/08/2008 08:14 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Need help with QtExec Ok, I tried the approach with second action, but this time when I compile I get error. Error 1 ICE68: Invalid custom action type for action 'SetCertsBatPath'. The actual script looks like this: <CustomAction Id="SetCertsBatPath" Property="CertsBatPath" Value=""[#certs.bat]"" Execute="immediate" Return="ignore" Impersonate="yes"/> <CustomAction Id="CertsBatPath" BinaryKey="WixCA" DllEntry="CAQuietExec" Execute="deferred" Return="check" Impersonate="no"/> <InstallExecuteSequence> <Custom Action="SetCertsBatPath" After="CostFinalize"/> <Custom Action="CertsBatPath" After="InstallFiles"/> </InstallExecuteSequence> I basically copy/pasted from help. Why it doesn't work? 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 ------------------------------------------------------------------------ - 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 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 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 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 ------------------------------------------------------------------------- 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