Anohter thing: When you are calling the ShellExecute function from .exe file the program runs in the context of current user.
But When you are calling the ShellExecute function from the deferred custom action it can run in the context of Local system accont (if it is not impersonated). It means that the search mechanism inside the ShellExecute will use different directories. Try to use the absolute path as parameter for ShellExecute function. regards Stefan Lionel Pinkhard wrote: > Hi, > > I'm trying to write a custom action DLL that looks up an MSI variable > and then shellexecutes it, this is turning out to be extremely > difficult, as if I call ShellExecute in Win32 API (using C++), it just > does nothing, everything in the code appears to be working, but it just > does nothing, is there any secret here? > > Regards, > > Lionel > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > 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 -- Stefan Pavlik | [EMAIL PROTECTED] Whitestein Technologies | www.whitestein.com Panenska 28 | SK-81103 Bratislava | Slovak Republic Tel +421(2)5930-0735 | Fax +421(2)5443-5512 ------------------------------------------------------------------------- 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