/build/static/layout/Breadcrumb_cap_w.png

Is it a bad practice to include a script to map network drive inside a custom action?

I think it should be done outside the installation. What do you think? 

0 Comments   [ + ] Show comments

Answers (2)

Answer Summary:
Posted by: dunnpy 9 years ago
Red Belt
1

Top Answer

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.

Dunnpy

Comments:
  • I totally agree with you, I asked because it was a requirement from customer... - enzio 9 years ago
Posted by: EdT 9 years ago
Red Belt
1
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.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ