Re: [WiX-users] How to get result from application?

2009-04-12 Thread Taras Ko

Thanks, Yan!

Glad to see you! :) You're right - the world is small. %)
I'm on my way to use DTF API! )))

Taras
-- 
View this message in context: 
http://n2.nabble.com/How-to-get-result-from-application--tp2610951p2623971.html
Sent from the wix-users mailing list archive at Nabble.com.


--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] How to get result from application?

2009-04-09 Thread Taras Ko

Hi!

How can I get a result from application running?
Or any link how to create C# custom actions?

Regards,
Taras
-- 
View this message in context: 
http://n2.nabble.com/How-to-get-result-from-application--tp2610951p2610951.html
Sent from the wix-users mailing list archive at Nabble.com.


--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Reboot based on application exit code?

2009-04-08 Thread Taras Ko

Hi everybody!
I spent few hours to find anything but didn't succeed.

I have .NET application installing/uninstalling driver. This application can 
return result meaning the system should be (or should not be) restarted. I want 
to use this exit code (a file? registry entry?) to schedule reboot. How can 
this be done?
May be some work around like creating a file signaling to reboot?

Here is my current script:


InstallExecuteSequence
  ...
  Custom Action=InstallDriver After=InstallFilesNot Installed/Custom
  Custom Action=UninstallDriver 
After=InstallInitializeInstalled/Custom
  ScheduleReboot Sequence=5 /
/InstallExecuteSequence

CustomAction Id=InstallDriver FileKey=DriverSetupHelper.exe 
ExeCommand=/command:install
  Impersonate=no Execute=deferred Return=check /
CustomAction Id=UninstallDriver FileKey=DriverSetupHelper.exe 
ExeCommand=/command:uninstall
  Impersonate=no Execute=deferred Return=check /


Thanks in advance!
Taras 
-- 
View this message in context: 
http://n2.nabble.com/Reboot-based-on-application-exit-code--tp2606748p2606748.html
Sent from the wix-users mailing list archive at Nabble.com.


--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
___
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:
 
 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