...

     <CustomAction Id="LaunchNotepadExe" Execute="immediate"
FileKey="Notepad.exe" Return="asyncNoWait"
ExeCommand='"[INSTALLDIR]Notepad.exe"' />

     <Custom Action="LaunchNotepadExe" After="InstallFinalize"></Custom>


Love88Keys wrote:
> 
> I´ve read part of Wix-Tutorial "http://www.tramontana.co.hu/wix.."; about
> how to start an exe-file which is already installed on the system. The
> suggested solution was:
> 
> <Property Id='NOTEPAD'>Notepad.exe</Property>
> <CustomAction Id='LaunchFile' Property='NOTEPAD'
> ExeCommand='[SourceDir]Readme.txt' Return='asyncNoWait' />
> 
> How can I make to to run an exe which is alredy installed but lies inside
> my INSTALLDIR. Might be useful: My Action should only tun while uninstall.
> I´ve already done the work for this.
> 
> Here´s ehat I meant (Of course it doesn´t work):
> <Property Id='MYEXE'>[INSTALLDIR]MyExe.exe</Property>
> <CustomAction Id='LaunchFile' Property='MYEXE' ExeCommand=''
> Return='asyncNoWait' />
> 
> Thank you, Michael
> 

-- 
View this message in context: 
http://n2.nabble.com/Custom-Action---start-exe-inside-my-INSTALLDIR-tp1568179p1569421.html
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to