Suggestion: make updating profile an option in installation.

Answered Suggestion: make updating profile an option in installation.

  • martes, 13 de marzo de 2012 22:07
     
     

    Currently Script Explorer updates $profile.AllUsersCurentHost for ISE, which is fine, but it would be convenient to prompt user before doing it. Also: adding shortcut should be optional too. Currently it's colliding with shortcut I've used for years for ISEPack/ SparkPlug (adding inline help), and because "your" code is run early in process it "wins". ;)

    Also: IMO there is no reason to keep output of Submenus.Add method - it won't harm if you simply pipe it to Out-Null.

Todas las respuestas

  • martes, 13 de marzo de 2012 22:11
     
     

    Interesting extension of this idea: allow users to view the profile change in ISE.  You are extending ISE after all, why not ask users if they (a) want it extended automatically (please put it at the end of the profile in this case), (b) want to see the extension in ISE so that they can decide, or (c) don't want their ISE profile extended.  Then you could show ISE with the updated profile script, highlight the new lines being added, and allow users to see the changes first hand.  Something like that anyway.

    Kirk out.


    -- Kirk Munro [MVP] Poshoholic http://poshoholic.com

  • jueves, 15 de marzo de 2012 13:31
     
     Respondida

    Bartosz,

    Currently script explorer informs the user the profile file is updated "after" and not "before" updating the file. Also, do you see any reason why someone would not like to integrate script explorer as an Add-On by not agreeing to update the profile file? Personally, "informing" the user before updating the profile file seems like a better option than "prompting" (allowing him select). Just my opinion.

    Can you list the shortcut keys which you believe are colliding with Script Explorer? We can take a look at it.


    Vishnu

  • jueves, 15 de marzo de 2012 13:36
     
     

    Kirk,

    As mentioned in my above response, what scenarios do you foresee why a user would not like to integrate Script Explorer as an Add-On? Allowing the user to see their updated profile by highlighting the new lines is an interesting one. This one seems like more of a FYI than anything else.


    Vishnu

  • jueves, 15 de marzo de 2012 19:54
     
     

    Hi Vishnu,

    I guess for me profile modifications fall under a trust issue. I've installed software that modified my profile and broke some things for me. Since then I've been reticent to allow profile modifications, always preferring to see them first. Showing me what would be added to my profile would be a nice compromise.

    Kirk out.


    -- Kirk Munro [MVP] Poshoholic http://poshoholic.com