This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Running setup.exe as non admin doesn't throw ant error
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 29, 2018
08:27 PM
Running setup.exe as non admin doesn't throw ant error
When a non-admin user tries to install setup.exe it should throw the below error message as per our Installshield condition.
"You did not log on as Administrator or have required permissions to install "
But recently when we tried to install setup as non-admin it didn't throw any error. When Setup.exe is executed, nothing happens.
Condition:
AdminUser AND Privileged : message -> You did not log on as Administrator or have required permissions to install
Initially we thought some windows update could have caused the issue. But when I created a sample setup.exe it throws the error. How to identify why my setup.exe stopped to throw the error message.
Note : No file generated in %temp% folder when running setup.exe. If we double click or, giving Run as Admin nothing happens. Also Requires Administrative Privileges is given Yes.
"You did not log on as Administrator or have required permissions to install "
But recently when we tried to install setup as non-admin it didn't throw any error. When Setup.exe is executed, nothing happens.
Condition:
AdminUser AND Privileged : message -> You did not log on as Administrator or have required permissions to install
Initially we thought some windows update could have caused the issue. But when I created a sample setup.exe it throws the error. How to identify why my setup.exe stopped to throw the error message.
Note : No file generated in %temp% folder when running setup.exe. If we double click or, giving Run as Admin nothing happens. Also Requires Administrative Privileges is given Yes.
(6) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 29, 2018
10:22 PM
Since Windows Vista, Privileged doesn't do what you want it to do anymore--in fact, it has the same value as AdminUser. The easiest thing would be to set "Require Administrative Privileges" to Yes in the Summary Information Stream section of the General Information View. This will cause the UAC prompt to appear when the Setup.exe starts and non-admins won't have a username/password combination to satisfy the prompt, so the installation will not proceed. Will that work for you?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 30, 2018
08:17 AM
DanGalender wrote:
Since Windows Vista, Privileged doesn't do what you want it to do anymore--in fact, it has the same value as AdminUser. The easiest thing would be to set "Require Administrative Privileges" to Yes in the Summary Information Stream section of the General Information View. This will cause the UAC prompt to appear when the Setup.exe starts and non-admins won't have a username/password combination to satisfy the prompt, so the installation will not proceed. Will that work for you?
Already "Require Administrative Privileges" is set to yes. Also even now installation is not proceeding. If we double click basically nothing happens. The problem is with sample install shield it is throwing the error message. Also with the existing Setup.exe, it used to throw error message before.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 30, 2018
09:01 AM
Are you running from inside of InstallShield or from File Manager? You certainly should see something happening.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 30, 2018
11:01 AM
DanGalender wrote:
Are you running from inside of InstallShield or from File Manager? You certainly should see something happening.
No not from Installshield. Installed setup.exe from package (Inside Release Folder). Nothing is seen.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 21, 2018
05:49 AM
The only thing I can think of that might be causing the difference in behaviour between the two installers could be the setting for "Required Execution Level"
Releases View -> Setup.exe tab -> Required Execution Level
Releases View -> Setup.exe tab -> Required Execution Level
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 21, 2018
08:25 AM
Try setting that to Administrator.
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)