Hi Team
I have added a "Launch File" in the Custom Actions section to launch a batch file which refers to an Environment Variable that I have defined in the Environment Variables section. Let's say the variable is HOME=[APPDIR], and the batch file has a command like cd %HOME%. It looks like the environment variables are not known in that stage because they are not created until the installation process is finished. What should I do to get around this problem?
The above is a general problem regardless of the windows platform. I have another problem which is specific to Windows Server 2008. I have created a simple Advanced Installer project, all which does is defining an environment variable. It works fine if I run the installer on Windows 8; but if I run it on Windows Server 2008, there is no environment variables defined after the installation is finished successfully. Am I missing something here?