cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
jagjit_82
Level 6

set environment variable

Hi..
I need to set an environment variable in Basic MSI project...
i clicked on env view and added a new variable.
Then "on install"="set"
I also associated a component in "new component"

I created an setup.exe file .
i ran this file..while it was running it flashed an error namely "selection manager not initalized"
my environment var has not been set
Labels (1)
0 Kudos
(4) Replies
RobertDickau
Flexera Alumni

Is your component attached to a feature? What other properties did you enter for the environment variable?
0 Kudos
jagjit_82
Level 6

how will i knw whether my component is attached to the feature or not....
0 Kudos
RobertDickau
Flexera Alumni

If it appears under a feature in the Setup Design view, it's attached; or if it has a red icon over it in the Components view, it's not attached...
0 Kudos
jagjit_82
Level 6

yes sir you were right...i didnt associate component with the feature..
i added component under the setup design...
and this time it worked fine...
thanks
jagjit
0 Kudos