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: UAC question
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
‎Sep 22, 2008
06:42 PM
UAC question
I recently migrated one of our product (InstallScript MSI) from IS 10.5 to IS2009 (Prime).
One of the installation case is called 'workstation', in which we install a server and make a folder (workstation setup) sharable where a setup.exe for workstation is in the folder, then from another system we run the setup.exe in the shared folder to setup workstation.
The problem is that when I ran workstation setup on Vista with the new build (IS2009), I got "You must have local administrative privileges to install xxx. Setup cannot proceed and will exit." error, the previous build (IS 10.5) doesn't have the error. When I tried the two builds I found that when I tried to run the older workstation setup.exe from Vista, the UAC prompted for validation, and the install continued and completed without problme; but for the new build, UAC didn't prompt and the error showed up once install was in 'OnMoving' step.
This may be caseud by migration from IS10.5 to IS2009, but how can I check where or what is wrong, and how to fix it?
Thanks,
Peter
One of the installation case is called 'workstation', in which we install a server and make a folder (workstation setup) sharable where a setup.exe for workstation is in the folder, then from another system we run the setup.exe in the shared folder to setup workstation.
The problem is that when I ran workstation setup on Vista with the new build (IS2009), I got "You must have local administrative privileges to install xxx. Setup cannot proceed and will exit." error, the previous build (IS 10.5) doesn't have the error. When I tried the two builds I found that when I tried to run the older workstation setup.exe from Vista, the UAC prompted for validation, and the install continued and completed without problme; but for the new build, UAC didn't prompt and the error showed up once install was in 'OnMoving' step.
This may be caseud by migration from IS10.5 to IS2009, but how can I check where or what is wrong, and how to fix it?
Thanks,
Peter
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 22, 2008
09:12 PM
Check your bootstrapper and package manifest settings. This is probably one of those cases where Windows sees an old version of setup.exe, realizes it needs a little help and assists. It probably realizes your newer setup.exe should have the ability to have it's own manifest and doesn't help.
Just a guess without really looking.
Just a guess without really looking.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 23, 2008
11:57 AM
Thank you Chris. You are right, it's the bootstrapper's settings. Now I change the "Required Execution Level" in IS 2009 from 'Invoker' to 'Administrator', and UAC is prompting now.
Just curious, where is the equivalent setting in IS10.5 for this one?
Thanks again,
Peter
Just curious, where is the equivalent setting in IS10.5 for this one?
Thanks again,
Peter
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 23, 2008
12:01 PM
It didn't exist back in 10.5. InstallShield started supporting Vista in 12.0. Windows Vista Application Compatibility team does alot of tricks behind the scenes to try to accomodate this type of problem.