Stuart,

I suspect you got it going by now but did you try something like

<CustomAction Id="CreatePDFCommand" Property='QtExecCmdLine' Value='”<Path to Adobe Reader executable>\Adobe_Reader.exe” [TARGETDIR]Tutorial.pdf'/>

 

 


Kind regards,
National Oilwell Varco

John Crouch
Software Engineer/Developer

National Oilwell Norway AS
Phone: +4751818181
Fax:     +4751800547
[EMAIL PROTECTED]

www.nov.com


This message, including any attachments, is intended only for the addressee and may contain privileged or confidential information. Any unauthorized disclosure is strictly prohibited. If you receive this message in error, please notify us immediately so that we may correct our internal records. Please then delete the original message. Thank you.


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Stuart Cullen
Sent: Thursday, August 10, 2006 10:11 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] FW: Launching pdf at end of installation

 

Hi

 

I have been trying unsuccessfully to launch a pdf at the end of an installation. I can get an executable running using a CustomAction no problem. However for a pdf I had read that I could use the Quiet Execution method and call start like this

 

      <CustomAction Id="CreatePDFCommand" Property='QtExecCmdLine' Value='start /D "[TARGETDIR]" Tutorial.pdf'/>

      <CustomAction Id="RunPDFCommand" BinaryKey="wixca" DllEntry="CAQuietExec" Execute="immediate" Return="check" />

      <Binary Id="wixca" src="wixca.dll" />

 

And then in the UI I have

 

          <Publish Event='DoAction' Value='CreatePDFCommand'>(LAUNCHPRODUCT = 1)</Publish>

          <Publish Event='DoAction' Value='RunPDFCommand'>(LAUNCHPRODUCT = 1)</Publish>

 

Just like the exe custom action

 

I guess I am doing something wrong in the value for the Command but I don’t know what.

 

Cheers

 

Stuart Cullen

Nonlinear Dynamics Ltd

Tel: +44 (0)191 230 2121

Fax: +44 (0)191 230 2131

 

www.nonlinear.com

 


Confidentiality: This communication contains information which is confidential. It is for the exclusive use of the intended recipient(s).
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________


Confidentiality: This communication contains information which is confidential. It is for the exclusive use of the intended recipient(s).
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to