QtExec waits for the program to return. You don't want to use that. Use's
Bob's ShellExecute solution instead.
From: Kaushik Barat [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 30, 2007 11:54 AM
To: Rob Mensching
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Start application after installation
Hi,
Thanks for the reply.
I tried starting the app after InstallFinalize. The application starts but the
msi installation just hangs in there forever
The CustomAction is defined as follows
<CustomAction Id="ChangePropStartEXE" Property="QtExecCmdLine"
Value='"[TARGETDIR]Notify.exe"' />
<CustomAction Id='StartImmediate' BinaryKey='wixca'
DllEntry='CAQuietExec' Execute='immediate' Return='ignore' />
These are the lines i use to start the app.
<Custom Action="ChangePropStartEXE" After="InstallFinalize"><![CDATA[(&Client >
2)]]></Custom>
<Custom Action="StartImmediate" After="ChangePropStartEXE"><![CDATA[(&Client >
2)]]></Custom>
Any idea why the msi hangs around even after the installation is complete and
the application has been started?
Thanks,
Kaushik
On 1/22/07, Rob Mensching <[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>> wrote:
2 is what most people do... after InstallFinalize.
From: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> [mailto:[EMAIL
PROTECTED]<mailto:[EMAIL PROTECTED]>] On Behalf Of Kaushik Barat
Sent: Monday, January 22, 2007 9:31 AM
To: wix-users@lists.sourceforge.net<mailto:wix-users@lists.sourceforge.net>
Subject: [WiX-users] Start application after installation
Hi All,
I am looking for a way to kick start the application after it has been
installed. The application start consists of running an executable.
I tried 2 ways
1. Defered action to start the app, after PublishProduct action. This starts
the application, but the MSI hangs.
2. Immediate. Trying to invoke the app via QtExecCmdLine. However, the
application does not start if I use this method.
what is the prefered way to start an application after MSI has installed.
THanks,
Kaushik
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users