What version of the WiX toolset are you using? That syntax below shouldn't link. The FileKey attribute is supposed to refer to a File/@Id somewhere.<unk<unk-----Original Message-----<unkFrom: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Patrick Steele<unkSent: Thursday, January 04, 2007 16:06<unkTo: wix-users@lists.sourceforge.net<unkSubject: [WiX-users] Running an exe with a working directory<unk<unkAfter the end of my install, I wish to run my newly created exe with command<unkline parameters. The exe is dependent upon dlls that have been added during<unkthe install, so I'm figuring maybe I have to set the working directory<unksomehow prior to running the exe so that it will correctly pick up the dlls?<unkI'm not at work right now, but I think my code was something like:<unk<unk <CustomAction Id='LaunchMyExe' FileKey='[INSTALLDIR]\My.exe'<unkExeCommand='blah' Return='asyncNoWait' /><unk <InstallExecuteSequence ><unk <Custom Action='LaunchMyExe' >After='InstallFinalize'>NOT<unkInstalled</Custom><unk ></InstallExecuteSequence><unk </Product><unk</Wix><unk<unkAt the minute, >upon running the msi, as the final dialog shows up the exe<unktries to run >but fails and crashes ( however it does work if I go directly<unkto the >installed location of the exe and dlls and double click it ). Am I<unkright >in thinking I need to set the working directory somehow prior to<unkcalling >this custom action? If so, how do I do it or is it something >else<unkcompletely?<unkThanks,<unkPatrick<unk<unk_________________________________________________________________<unkFind > accommodation FAST with MSN Search! >http://search.msn.ie/<unk<unk<unk-------------------------------------------------------------------------<unkTake > Surveys. Earn Cash. Influence the Future of IT<unkJoin SourceForge.net's >Techsay panel and you'll get the chance to share your<unkopinions on IT & >business topics through brief surveys - and earn cash<unkhttp://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV<unk_______________________________________________<unkWiX-users mailing list<[EMAIL PROTECTED]<unkhttps://lists.sourceforge.net/lists/listinfo/wix-users<unk
------------------------------------------------------------------------- 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