Hi Bryan, I don't know details how you get the value of AUTOPILOT property. If that's you installation path - use custom action type 18, if you are getting it using AppSearch - custom action type 50. Here is the sample of type 18 (Write.exe is from [SystemFolder] on my Vista machine):
<?xml version="1.0" encoding="UTF-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2003/01/wi"> <Product Id="{0BD4334D-F9FE-4B70-8070-917288A50B51}" Name="Minimal Windows Installer Sample" Language="1033" Codepage="1252" Version="1.0.0" Manufacturer="Acme Corporation" UpgradeCode="{770C5598-A538-4D44-8C2E-B2D94E15CC98}"> <Package Id="{E1782FB0-3D87-4B13-88DC-62E11FB72552}" Description="Minimal Windows Installer Sample" Comments="This installer database contains the logic and data required to install [ProductName]." InstallerVersion="200" Languages="1033" SummaryCodepage="1252" Platforms="Intel" ReadOnly="no" Compressed="yes" AdminImage="no" Keywords="Installer" ShortNames ="no" Manufacturer="Acme Corporation" /> <Media Id="1" Cabinet="CAB001.cab" EmbedCab="yes" /> <Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id="ProgramFilesFolder"> <Directory Id="INSTALLDIR" Name="Minimal" LongName="MinimalInstallation"> <Component Id="Component1" Guid="{A77C5B06-132D-4884-8E17-EA10A83C812D}"> <File Id="Write.exe" DiskId="1" Name="Write.exe" Source="Write.exe" Vital="yes" KeyPath="yes" /> <File Id="ReadMe" DiskId="1" Name="Readme.txt" Source="Readme.txt" Vital="yes" KeyPath="no" /> </Component> </Directory> </Directory> </Directory> <CustomAction Id="ShowReadMe" FileKey="Write.exe" ExeCommand='"[#ReadMe]"' Return="asyncNoWait" /> <InstallExecuteSequence> <Custom Action="ShowReadMe" After="InstallFinalize">Not Installed</Custom> </InstallExecuteSequence> <Feature Id="Feature1" Title="Feature1 title" Description="Feature1 description" Level="1" ConfigurableDirectory="INSTALLDIR" > <ComponentRef Id="Component1" /> </Feature> </Product> </Wix> Alex Shevchuk -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of bryan rasmussen Sent: Thursday, June 26, 2008 1:12 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] how do I start an application after install, not conditionally and not based on clicking on dialog Specifically I am trying to do this: <CustomAction Id="CA1" Property="CA1_PROP" Value="[AUTOPILOT]AutoPilot.exe" /> <InstallExecuteSequence> <InstallFinalize/> <Custom Action="CA1" After="InstallFinalize" /> </InstallExecuteSequence> How should that be restructured to work? Thanks, Bryan Rasmussen On Thu, Jun 26, 2008 at 9:47 AM, bryan rasmussen <[EMAIL PROTECTED]> wrote: > As per the subject line, it's just supposed to install and run. The > user doesn't have to click on the dialog to say that they want it to > run. > > Thanks, > Bryan Rasmussen > ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users