To answer my own question, NSIS can support[1] the all users (or common
folder).

>From stack overflow
<http://stackoverflow.com/questions/7501193/nsis-desktop-shortcut-for-all-users>
:

SetShellVarContext all
> CreateShortcut "$desktop\myapp.lnk" "$instdir\myapp.exe"


Details from the manual
<http://anders_k.users.sourceforge.net/public/NSIS/2.46/Manual.html#setshellvarcontext>
:

Note that, if used in installer code, this will only affect the installer,
> and if used in uninstaller code, this will only affect the uninstaller. To
> affect both, it needs to be used in both.
>   SetShellVarContext current
>   StrCpy $0 $DESKTOP
>   SetShellVarContext all
>   StrCpy $1 $DESKTOP
>   MessageBox MB_OK $0$\n$1





Jody Garnett


On Fri, Aug 15, 2014 at 11:43 AM, Jody Garnett <[email protected]>
wrote:

> My understanding was Jukka had limited permissions, and when installing
> the short cuts were not added to the 'all users
> <http://answers.microsoft.com/en-us/windows/forum/windows_7-security/how-do-i-share-programs-with-all-users/d719cd07-873d-46db-8bea-f469c99f34e9>'
>  folder.  Does the NSIS installer offer an option to install for all users,
> or is that something we have to enable...
>
> Jody Garnett
>
>
> On Fri, Aug 15, 2014 at 10:03 AM, Andrea Aime <
> [email protected]> wrote:
>
>> On Fri, Aug 15, 2014 at 6:49 PM, Chris Snider <[email protected]>
>> wrote:
>>
>>>  Typically on Windows,  Vista, 7, 8 and the Server editions, you have
>>> to be running the installers with an Admin account.  These are to protect
>>> the system from unauthorized changes.  Part of the security hardening added
>>> several years ago.  If the current user is in the administrative group,
>>> then a pop-up asks if they would like to authorize the changes.  If the
>>> user is NOT in the administrative group, then a pop-up asks for the
>>> username/password for an administrative user.  If either of these fail,
>>> then the changes are not authorized and should roll back.
>>>
>>>
>>>
>>> It is up to the installers to allow the installing user to decide if
>>> they want to install “for all users” or “for current user”.
>>>
>>
>> Hum... then do you have any clue about the report from Jukka that the
>> program is installed, but the menu entries won't show up?
>> We need someone with windows experience to help with this one.
>>
>> Cheers
>> Andrea
>>
>> --
>> ==
>> GeoServer Professional Services from the experts! Visit
>> http://goo.gl/NWWaa2 for more information.
>> ==
>>
>> Ing. Andrea Aime
>> @geowolf
>> Technical Lead
>>
>> GeoSolutions S.A.S.
>> Via Poggio alle Viti 1187
>> 55054  Massarosa (LU)
>> Italy
>> phone: +39 0584 962313
>> fax: +39 0584 1660272
>> mob: +39  339 8844549
>>
>> http://www.geo-solutions.it
>> http://twitter.com/geosolutions_it
>>
>> -------------------------------------------------------
>>
>>
>> ------------------------------------------------------------------------------
>>
>> _______________________________________________
>> Geoserver-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>>
>>
>
------------------------------------------------------------------------------
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to