Re: [WiX-users] Problem running app from Module

2009-03-06 Thread Taras Ko


Bob Arnson-6 wrote:
 
 Do you need to use WixShellExec to launch the app? If not, just use a 
 CustomAction with FileKey. Otherwise, try SuppressModularization, but be 
 aware that means your module will conflict with any other 
 WixShellExecTarget.
 

Thanks!

But I can't run the app independently: setup is waiting for the Tray app to
be closed. Is there any way to make it work?
In case of fail I'll try SuppressModularization.

Regards,
Taras
-- 
View this message in context: 
http://n2.nabble.com/Problem-running-app-from-Module-tp2431511p2434686.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


Re: [WiX-users] Problem running app from Module

2009-03-06 Thread Taras Ko


Bob Arnson-6 wrote:
 
 Otherwise, try SuppressModularization, but be aware that means your module
 will conflict with any other WixShellExecTarget.
 

Well, I've tried this way:

CustomAction Id=ChangeP Property='WixShellExecTarget'
Value='[#Tray.exe]' SuppressModularization='yes' /
CustomAction Id=LaunchTray BinaryKey=WixCA DllEntry=WixShellExec
Impersonate=yes /

The app didn't run. Log is the same. Am I missing something?
-- 
View this message in context: 
http://n2.nabble.com/Problem-running-app-from-Module-tp2431511p2434763.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


Re: [WiX-users] Problem running app from Module

2009-03-06 Thread Taras Ko


Module ...
   ...
   Property Id=ExecTarget Value=[#Tray.exe]
SuppressModularization=yes /
   CustomAction Id=LaunchTray BinaryKey=WixCA DllEntry=WixShellExec
Impersonate=yes /
/Module

Results in:
...
MSI (s) (34:E4) [12:01:53:065]: Doing action: LaunchTray.???
Action 12:01:53: LaunchTray.???. 
Action start 12:01:53: LaunchTray.???.
MSI (s) (34:24) [12:01:53:081]: Invoking remote custom action. DLL:
C:\Windows\Installer\MSI348.tmp, Entrypoint: WixShellExec
MSI (s) (34!A0) [12:01:53:174]: Note: 1: 2715 2: Tray.exe 
MSI (s) (34!A0) [12:01:53:174]: Note: 1: 2715 2: Tray.exe 
WixShellExec:  Error 0x80070057: failed to get WixShellExecTarget
Action ended 12:01:53: LaunchTray.???. Return value 3.
Action ended 12:01:53: INSTALL. Return value 3.
Property(S): ShortcutFolder =
C:\Users\\AppData\Roaming\Microsoft\Windows\Start
Menu\Programs\??\
Property(S): WixUIRMOption = UseRM
Property(S): WIXUI_INSTALLDIR = INSTALLDIR
Property(S): ARPNOMODIFY = 1
Property(S): ARPNOREPAIR = 1
Property(S): WixShellExecTarget = [#Tray.exe]
...
:confused:
Taras
-- 
View this message in context: 
http://n2.nabble.com/Problem-running-app-from-Module-tp2431511p2434827.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


Re: [WiX-users] Problem running app from Module

2009-03-06 Thread Taras Ko

Sorry, my fault. 
This works:

CustomAction Id=LaunchTray FileKey=Tray.exe ExeCommand=
Impersonate=yes Return=asyncNoWait /

Taras
-- 
View this message in context: 
http://n2.nabble.com/Problem-running-app-from-Module-tp2431511p2437621.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


[WiX-users] Problem running app from Module

2009-03-05 Thread Taras Ko

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


Re: [WiX-users] Problem running app from Module

2009-03-05 Thread Bob Arnson
Taras Ko wrote:
 Property Id=WixShellExecTarget Value=[#Tray.exe] /
   

Do you need to use WixShellExec to launch the app? If not, just use a 
CustomAction with FileKey. Otherwise, try SuppressModularization, but be 
aware that means your module will conflict with any other 
WixShellExecTarget.
-- 
sig://boB
http://joyofsetup.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