Add WiXUtilExtension as a Project reference (or supply it to light using
the -ext switch if you don't use a wixproj in Visual Studio) & remove
your Binary Element below as it's not needed in WiX 3.0/3.5. 

Palbinder Sandher 
Software Deployment & 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: Andy.Kruger [mailto:appr...@gmail.com] 
Sent: 08 March 2010 09:09
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] launch on exit


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



------------------------------------------------------------------------------
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