Thanks Pally.

I read the link and modified my Custom Action as:

<CustomAction Id='UpgradeStopServices1' FileKey='tao_imr.exe' ExeCommand=' 
-ORBInitRef ImplRepoService=file://[APPLICATIONFOLDER]/VPCommon/Locator.ior 
shutdown VPWEBSERVER' DllEntry="CAQuietExec" Execute="immediate" 
Return='ignore' />

However, I got the compiler error:

D:\Project\ViewPoint6\Data Files\Setup\VP6Wix\InstallDirDlg.wxs(50,0): error 
CNDL0023: The CustomAction/@DllEntry attribute cannot coexist with a previously 
specified attribute on this element.  The CustomAction element may only have 
one of the following target attributes specified at a time: DllEntry, Error, 
ExeCommand, JScriptCall, Script, Value, or VBScriptCall.



It sounds that I should not add DllEntry="CAQuietExec". How can I use QtExec? 
Furthermore, I don't know how to add 
-ext WixUtilExtension.dll
To project property in Visual Studio.

Do you have some experences how to use QtExec?

Regards,

Chunyan

-----Ursprüngliche Nachricht-----
Von: Pally Sandher [mailto:pally.sand...@iesve.com] 
Gesendet: Dienstag, 11. August 2009 14:09
An: General discussion for Windows Installer XML toolset.
Betreff: Re: [WiX-users] How to run exe in CA without flashing 
thecommand-linewindow

http://wix.sourceforge.net/manual-wix3/qtexec.htm

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: Jiang, Chunyan (GE Healthcare) [mailto:chunyan.ji...@ge.com] 
Sent: 11 August 2009 12:57
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] How to run exe in CA without flashing the
command-linewindow

Hi wix-users,
 
I have one Custom Action, which runs an executable. It works fine.
However, the command-line window will flash shortly. If I run several
such Custom Actions, there will be several command-line windows
flashing. It is very annoying. How to run the executable without
flashing? 
 
My custom Action is defined as:
 
<CustomAction Id='UpgradeStopServices1' FileKey='tao_imr.exe'
ExeCommand=' -ORBInitRef
ImplRepoService=file://[APPLICATIONFOLDER]/VPCommon/Locator.ior shutdown
VPWEBSERVER' Execute="deferred" Return='ignore' />

 

 

Thanks in advance!

 

Chunyan

------------------------------------------------------------------------
------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008
30-Day trial. Simplify your report design, integration and deployment -
and focus on what you do best, core application coding. Discover what's
new with Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to