[Geoserver-devel] Interesting discovery about windows installer

Hi,

Yes, Windows User Account Control (UAC) opens a pop-up and requires admin credentials before installer is started. No other questions are asked after that. From the point of view of a first time Geoserver user I suppose that getting no shortcuts into start menu may feel like the installation was not successful despite Geoserver starts by running startup.bat from %GEOSERVER_HOME%\bin. I tried to find some information what should be done for NSIS if the scenario is “Start installer as %USER%, execute it as %ADMIN%, and create shortcuts into %USER%\STARTMENU. Something about that is for example in http://www.klopfenstein.net/lorenz.aspx/simple-nsis-installer-with-user-execution-level.

-Jukka Rahkonen-

(attachments)

image001.png

···

Chris Snider wrote:

Jukka,

When running this installer as “normal user”, does the installer ask you for permission execute the installer? Do you get any prompts from the installer about allowing the change?

Chris Snider

Senior Software Engineer

Intelligent Software Solutions, Inc.

Description: Description: Description: cid:image001.png@anonymised.com

From: Rahkonen Jukka (Tike) [mailto:jukka.rahkonen@anonymised.com]
Sent: Friday, August 15, 2014 9:40 AM
To: Geoserver-devel
Subject: Re: [Geoserver-devel] Interesting discovery about windows installer

Hi,

This one makes a successful installation with default settings into Program Files (x86) on my home computer. It does not create shortcuts into start menu if installer is started as normal user. If I log in as admin and run installer then the shortcuts are created.

-Jukka-


Andrea Aime wrote:

Here is an updated installer based on conversations with Jukka:

https://dl.dropboxusercontent.com/u/2361103/geoserver-2.6-SNAPSHOT.exe

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


I found this reference for the NSIS installer that helps explain the differences for the users: http://nsis-dev.github.io/NSIS-Forums/html/t-373468.html

Essentially, if the installing user is NOT an admin, they are UAC prompted for an administrative account. This then installs as that elevated administrative account.

I haven’t run the Windows GeoServer installer, so I am not familiar with the options. How many different types of installs are there? Launch from BAT? Launch as Service? Others?

Thanks,

(attachments)

image001.png

···

Chris Snider

Senior Software Engineer

Intelligent Software Solutions, Inc.

Description: Description: Description: cid:image001.png@anonymised.com...

From: Rahkonen Jukka (Tike) [mailto:jukka.rahkonen@anonymised.com]
Sent: Friday, August 15, 2014 12:14 PM
To: Chris Snider; ‘Geoserver-devel’
Subject: Re: [Geoserver-devel] Interesting discovery about windows installer

Hi,

Yes, Windows User Account Control (UAC) opens a pop-up and requires admin credentials before installer is started. No other questions are asked after that. From the point of view of a first time Geoserver user I suppose that getting no shortcuts into start menu may feel like the installation was not successful despite Geoserver starts by running startup.bat from %GEOSERVER_HOME%\bin. I tried to find some information what should be done for NSIS if the scenario is “Start installer as %USER%, execute it as %ADMIN%, and create shortcuts into %USER%\STARTMENU. Something about that is for example in http://www.klopfenstein.net/lorenz.aspx/simple-nsis-installer-with-user-execution-level.

-Jukka Rahkonen-

Chris Snider wrote:

Jukka,

When running this installer as “normal user”, does the installer ask you for permission execute the installer? Do you get any prompts from the installer about allowing the change?

Chris Snider

Senior Software Engineer

Intelligent Software Solutions, Inc.

Description: Description: Description: cid:image001.png@anonymised.com926...

From: Rahkonen Jukka (Tike) [mailto:jukka.rahkonen@anonymised.com]
Sent: Friday, August 15, 2014 9:40 AM
To: Geoserver-devel
Subject: Re: [Geoserver-devel] Interesting discovery about windows installer

Hi,

This one makes a successful installation with default settings into Program Files (x86) on my home computer. It does not create shortcuts into start menu if installer is started as normal user. If I log in as admin and run installer then the shortcuts are created.

-Jukka-


Andrea Aime wrote:

Here is an updated installer based on conversations with Jukka:

https://dl.dropboxusercontent.com/u/2361103/geoserver-2.6-SNAPSHOT.exe

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