cancel
Showing results for 
Search instead for 
Did you mean: 
Rayner
Flexera beginner

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.
Labels (1)
0 Kudos
6 Replies
Dan_Galender
Occasional contributor

Re: Running setup.exe as non admin doesn't throw ant error

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?
0 Kudos
Rayner
Flexera beginner

Re: Running setup.exe as non admin doesn't throw ant error

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.
0 Kudos
Highlighted
Dan_Galender
Occasional contributor

Re: Running setup.exe as non admin doesn't throw ant error

Are you running from inside of InstallShield or from File Manager? You certainly should see something happening.
0 Kudos
Rayner
Flexera beginner

Re: Running setup.exe as non admin doesn't throw ant error

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.
0 Kudos
Nick_Umanski
Flexera beginner

Re: Running setup.exe as non admin doesn't throw ant error

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
0 Kudos
Dan_Galender
Occasional contributor

Re: Running setup.exe as non admin doesn't throw ant error

Try setting that to Administrator.
0 Kudos