t0mac0 / heekscnc

Automatically exported from code.google.com/p/heekscnc
Other
0 stars 0 forks source link

Admin rights in setup necessary? #323

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
To reproduce the problem:
1. Start the installer without admin rights on Windows (XP,7)

What could be expected is that if admin rights are not present, the installer 
makes a "portable" installation, without modifying the machine registry, but 
adding shortcuts to the start menu.

Original issue reported on code.google.com by d.ledent...@gmail.com on 3 Jan 2012 at 9:35

GoogleCodeExporter commented 8 years ago
Do you have a suggestion how to do this?

I am using Inno Setup to make the installer.

Do you think it is this information that I need? :

Valid values:
 yes or no, or a boolean expression  
Default value:
 yes  

Description:
This determines if Inno Setup's automatic uninstaller is to be included in the 
installation. If this is yes or to a boolean expression evaluating to True the 
uninstaller is included. Otherwise, no uninstallation support is included, 
requiring the end-user to manually remove the files pertaining to your 
application.

Setting this to a boolean expression can be useful if you want to offer the 
user a 'portable mode' option.

Example:
[Setup]
Uninstallable=not IsTaskSelected('portablemode')

[Tasks]
Name: portablemode; Description: "Portable Mode"
See also:
CreateUninstallRegKey 

Original comment by danhe...@gmail.com on 10 May 2012 at 2:40

GoogleCodeExporter commented 8 years ago
unfortunately I do not have any experience with setup packaging. A truly 
portable mode, surely comes without an uninstaller. However, there must be a 
mode. Here's what I've found:
http://www.jrsoftware.org/ishelp/index.php?topic=setup_privilegesrequired
http://www.jrsoftware.org/isfaq.php#ntsecur
http://stackoverflow.com/questions/4030507/innosetup-will-the-setup-program-have
-administrator-rights

Original comment by d.ledent...@gmail.com on 10 May 2012 at 3:10

GoogleCodeExporter commented 8 years ago

Original comment by neomil...@gmail.com on 14 Jul 2014 at 2:16