Question: In my solution I have WinForms application called JCommander and JCommanderSetupProject.
In JCommander Resources folder i have an icon file i want to be placed on Desktop and Start Menu. 

How i do that?

Answer: 
You can use [Zend\_Registry](http://framework.zend.com/manual/en/zend.registry.using.html) to use the variable throughout application.

You can set a variable like this 

```
Zend_Registry::set('email', $EMAIL);

```

and later can get it like this

```
$email= Zend_Registry::get('email');

```
You can also used a function for set and get a value.

```
// Setter function
public function setConsumerKey($key)
{
    $this->_consumerKey = $key;
    return $this;
}

// Getter function

public function getConsumerKey()
{
    return $this->_consumerKey;
}

```