Hello All, I've a number of custom actions (CMD scripts) that run EXE files that the MSI installs. These EXEs, in turn, require that a certain directory (also installed by this MSI) is included in the PATH environment variable. These CAs never run successfully, and I think I know why: Although the MSI includes an <Environment> element to append the needed directories to the PATH, the target machine is not aware of this change until after the MSI completes. (According to the Environment table description at http://msdn.microsoft.com/en-us/library/aa368369(VS.85).aspx, "On Windows 2000, this information is stored in the registry and a message notifies the system of changes when the installation completes.") I've tried using the WixShellExec as described in the "How To: Run the Installed Application After Setup" article in the WiX help, and even this does not do the trick. Clearly, the installed EXEs do not see the updates the MSI has made to the path. Am I missing something? Is there no point before clicking 'finish' on the final dialog that I can insert a call to my custom action and guarantee that it is running with all the environment changes the MSI has made? Or is the only way truly to install a CMD file that sets its own PATH and runs these EXEs? So far tha tis the only way I've managed to get them to work.
Raj ------------------------------------------------------------------------- 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