<p>I have a .net application and i published in the local location. while installing from the published location the application need to install in "c:\temp" how can i do this in clickonce method?</p>

ClickOnce installation always installs in the predefined user folders, the ClickOnce cache.
There is no way to install a ClickOnce program somewhere else. Neither can you decide on a different location on creation of the ClickOnce package, nor can the person installing the program decide on a different location.
This is not an omission, neither an error, it is by design and it is meant to be that way.
If you want to install in a specific location, you'll need to use some other installation method.