I think it should be done outside the installation. What do you think? 
Answer Summary:
0 Comments   [ + ] Show Comments


Please log in to comment

Answer Chosen by the Author

It should be outside of your package and be managed correctly with via GPO or login script.

There are many reason why, but the main one will be that it won't work if you are installing in the system context, as there won't be permissions to access the network resource.

Answered 07/02/2015 by: dunnpy
Red Belt

  • I totally agree with you, I asked because it was a requirement from customer...
Please log in to comment


Accept that many customers are poorly skilled and will need education on how network security works. It is technically possible to set up a "Null session share" on a server that allows connections without credentials, but since it totally undermines server security, it is a truly stupid thing to do.
Application installers should never have dependencies on network resources during installation - there are always solutions to any issues you can encounter in the real world.
Answered 07/02/2015 by: EdT
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity
Admin Script Editor
Admin Script Editor is an integrated scripting environment available free here at ITNinja