PDA

View Full Version : Environment Variable usage



parmarpritesh
06-21-2007, 04:34 AM
Hello All,

I have an installed shield project and where in i wants to assign local system environments value to some of the components as a path.

How can i use environment variable defined in system in installshield project.

thanks in advance

RobertDickau
06-21-2007, 09:02 AM
What type of project are you using? For MSI, for example, you can use a set-a-directory custom action to set a Directory property to [%ENV_VAR_NAME], and for InstallScript I believe you can use FeatureSetTarget and a script-defined folder.