I have tried to implement the same as follows. But it gives me an error
stating as follows:

Error 1723. There is a problem with this Windows Installer package. A DLL
required for this install to complete could not be run. Contact your support
personnel or package vendor. Action LaunchUpdate, entry: WixShellExec

here is the code snippet. What am i missing here?

<Binary Id="WixCA" SourceFile="C:\data\wixca.dll" />

    <CustomAction Id="SetLaunchApplicationTarget"
Property="WixShellExecTarget" Value="[INSTALLDIR]EnUpd.exe" />
    <CustomAction Id="LaunchUpdate" BinaryKey="WixCA"
DllEntry="WixShellExec" Impersonate="no" />

    <UI>
          
      <Dialog Id="ExitDialog" Width="370" Height="270"
Title="$(loc.ExitDialog_Title)">
        <Control Id="Finish" Type="PushButton" X="236" Y="243" Width="56"
Height="17" Default="yes" Cancel="yes" Text="$(loc.WixUIFinish)">
          <Publish Event="EndDialog" Value="Return">1</Publish>

        <Publish Event="DoAction"
Value="SetLaunchApplicationTarget">ENABLEUPDATES AND NOT Installed</Publish>
          <Publish Event="DoAction" Value="LaunchUpdate">ENABLEUPDATES AND
NOT Installed</Publish>

  ......

</UI>



-----
Andy
MSI Developer
Schneider Electric:working:
-- 
View this message in context: 
http://n2.nabble.com/launch-on-exit-tp703850p4694145.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to