3dct / open_iA

A tool for the visual analysis and processing of volumetric datasets, with a focus on industrial computed tomography.
GNU General Public License v3.0
41 stars 16 forks source link

Make open_iA Installer work better for user without admin rights #42

Closed codeling closed 1 year ago

codeling commented 5 years ago

Currently, when creating a windows installer with cpack, the created installer works for non-Admin user, but only on Windows 10, and the user has to manually select another folder than the proposed "C:\Program Files\open_iA-20xx-xx". This is enabled by using set(CPACK_NSIS_DEFINES "RequestExecutionLevel highest") in CPack file. If logged in as administrative user, it always installs for all users.

Instead, a default installation path of C:\Users\\AppData ... (like Chrome) would be preferrable, if a user with non-administrative rights starts the installer. Currently we use NSIS to create our installer packages; it probably doesn't support this feature yet though; potential solution to check out: http://drizin.io/NSIS-and-Windows-Installers-for-MultiUser-Current-User/

codeling commented 1 year ago

We now only provide .zip files instead of an installer, so this isn't an issue anymore. Users who want to install open_iA systemwide are recommended to move the extracted folder to the Program folder, and create a shortcut on the public desktop or in the common start menu manually.