Hi,
The environment variables will be set during the WriteEnvironmentStrings standard action. I'm afraid that this cannot be changed.
The DLL files will be registered when the SelfRegModules action is executed. This standard action is scheduled for execution after the WriteEnvironmentStrings action.
However the new values for the environment variables will be available after the install process has ended. Any module that is scheduled to be executed after the the environment variables are set, will still use the old values. This is the way Windows Installer works.
For more details please see:
http://msdn.microsoft.com/library/defau ... _table.asp
Best regards,
Ciprian