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: Vista 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
Jun 21, 2007
04:49 PM
Vista question
We install an exe file, which later downloads other files and even overwrites itself. On Vista the exe file can not save any files to our install dir, if it is not run as 'administrator'. How to make sure it runs as administrator ? or is there another way of doing it the 'correct' way ?
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jun 21, 2007
10:42 PM
You need to add a Manifest to your EXE file, see
http://www.microsoft.com/technet/technetmag/issues/2007/06/UAC/default.aspx
Look for Level=”requireAdministrator”
If you need more details let me know.
http://www.microsoft.com/technet/technetmag/issues/2007/06/UAC/default.aspx
Look for Level=”requireAdministrator”
If you need more details let me know.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jun 29, 2007
03:17 AM
thanx for the reply. I added the manifest stuff and now it works.
Have a question more... trying to figure out the 'right way' to use the installer... here goes...
we have an app... an online game, that needs to update now and then. we have our own update system and that works fine, also now on vista with the admin manifest inside the app.
The normal user downloads the game, as an installshield-installer and non-vista OS'es installs just fine, but Vista requires admin password to install ?
Is that ok. Usually we would just like to have the installer work on any machine, any vista, but that seems not to be the case.
What is the correct setting (in installshield2008) for
Media->Release->SingleImage->SetUp.exe (Invoker/Highest available/Administrator).
Ofcourse we want the most users to install it with no hassle.
Please advice.
thanx.
Have a question more... trying to figure out the 'right way' to use the installer... here goes...
we have an app... an online game, that needs to update now and then. we have our own update system and that works fine, also now on vista with the admin manifest inside the app.
The normal user downloads the game, as an installshield-installer and non-vista OS'es installs just fine, but Vista requires admin password to install ?
Is that ok. Usually we would just like to have the installer work on any machine, any vista, but that seems not to be the case.
What is the correct setting (in installshield2008) for
Media->Release->SingleImage->SetUp.exe (Invoker/Highest available/Administrator).
Ofcourse we want the most users to install it with no hassle.
Please advice.
thanx.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jul 02, 2007
11:18 AM
If you are being prompted for a password this would indicate that the installation was launched with a user that is not a part of the administrators group (i.e. a standard user) and the requested execution level was set to require administrator. This being the case, it would be expected to be prompted for an admin password since the setup indicates it requires administrator access to the machine.
You could change this to invoker or highest available, but if your installation attempts to write to any per-machine location (HKEY_LOCAL_MACHINE in the registry, Program Files on the file system, etc.) the setup will have insufficient privileges and will fail when run as a standard user or as an administrator with the execution level set to invoker.
You could change this to invoker or highest available, but if your installation attempts to write to any per-machine location (HKEY_LOCAL_MACHINE in the registry, Program Files on the file system, etc.) the setup will have insufficient privileges and will fail when run as a standard user or as an administrator with the execution level set to invoker.