Tray.exe application is installed from Module part of installation. I need to
run it after installing.
Yes, the code is:

<InstallExecuteSequence>
      <Custom Action="LaunchTray" After="InstallFinalize" >Not
Installed</Custom>
</InstallExecuteSequence>

<Property Id="WixShellExecTarget" Value="[#Tray.exe]" />
<CustomAction Id="LaunchTray" BinaryKey="WixCA" DllEntry="WixShellExec"
Impersonate="yes" />

This works fine in main <Product> element but not in <Module> (.msm file)
containing the file.

The reason is simple: property WixShellExecTarget for a module is registered
as

WixShellExecTarget.???????_????_????_????_???????????? = C:\Program
Files\Company\Application\Tray.exe

as I can see from log file.
Any ideas how to launch it from Module?

Thanks,
Taras

P.S. I have tried <CustomAction Id="ChangeP" Property='WixShellExecTarget'
Value='[#Tray.exe]' /> also.
-- 
View this message in context: 
http://n2.nabble.com/Problem-running-app-from-Module-tp2431511p2431511.html
Sent from the wix-users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to