Hi Michael, You cannot use Property elements within the Property element.
Instead, use this: <SetProperty Id='MYEXE' Value='[INSTALLDIR]MyExe.exe' After=' '/> Another approach is just: <CustomAction Id="DoSomething" Directory="INSTALLDIR" ExeCommand='[WindowsFolder]command.exe' Execute="immediate" Return="check" /> If your app is in the INSTALLDIR folder, remove [WindowsFolder] On Sun, Nov 23, 2008 at 1:47 PM, Love88Keys <[EMAIL PROTECTED]>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-tp1568179p1568179.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 > ------------------------------------------------------------------------- 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