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: update.exe and vista
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
‎Jan 31, 2008
10:46 AM
update.exe and vista
When I run the update.exe I have to right-click and run as administrator in order to work properly. I dont have to do this with my setup.exe.
With Setup.exe, I get the accept prompt initially and all is good after that. However, with update.exe I dont get the UAC prompt and update.exe just fails with an error. However, if I right click run as admin on update.exe it works correctly. What do I need to change regarding my update.exe settings to make it behave like setup.exe?
Thanks
With Setup.exe, I get the accept prompt initially and all is good after that. However, with update.exe I dont get the UAC prompt and update.exe just fails with an error. However, if I right click run as admin on update.exe it works correctly. What do I need to change regarding my update.exe settings to make it behave like setup.exe?
Thanks
(9) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 01, 2008
08:28 AM
Is Macrovision monitoring this forum?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 04, 2008
02:19 AM
Vista will work by default for application named like setup.exe so they show the shield icon overlay on top of the setup application icon (when you check it in file explorer) - i.e. UAC dialog will appear if you try to launch it.
If you want application which doesn't have this kind name in it, then you will have to have the vista manifest on it - basically it means you have the "Required Execution Level" set to Administrator in Releases/setup.exe (I take it that your update.exe is installation package which you've generated using installshield?).
If you want application which doesn't have this kind name in it, then you will have to have the vista manifest on it - basically it means you have the "Required Execution Level" set to Administrator in Releases/setup.exe (I take it that your update.exe is installation package which you've generated using installshield?).
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 04, 2008
07:00 AM
Yes, I am using IS to build the update.exe (patch)
The properties are set the same for setup.exe, as well as the build uncompressed for patch project. They are identical. If the manifest is included in setup.exe automatically then why isn't IS including the manifest for update.exe so that it would behave the same as setup.exe?
Thanks
The properties are set the same for setup.exe, as well as the build uncompressed for patch project. They are identical. If the manifest is included in setup.exe automatically then why isn't IS including the manifest for update.exe so that it would behave the same as setup.exe?
Thanks
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 04, 2008
11:27 AM
Does it work if you manually rename update.exe to setup.exe ?
Vista tries to detects setup programs, for instance if they have "setup" or "install" in the name. If such a program is detected which doersn't have a manifest, Vista will automatically display the UAC dialog. But if your exe doesn't match these criteria it won't get the UAC propmpt by default, unless you add a manifest. So same settings will lead to different results, based on the file name.
Vista tries to detects setup programs, for instance if they have "setup" or "install" in the name. If such a program is detected which doersn't have a manifest, Vista will automatically display the UAC dialog. But if your exe doesn't match these criteria it won't get the UAC propmpt by default, unless you add a manifest. So same settings will lead to different results, based on the file name.
Stefan Krueger
InstallSite.org
InstallSite.org
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 05, 2008
11:25 AM
There is a recorded request to have update.exe follow the manifest setting from the last setup.exe. We're tracking it as WO# IOC-000059715; this will hopefully be addressed in a future release.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 05, 2008
12:32 PM
In the meantime, how can I continue using update.exe at my target for patch and get around this problem? How can i include a manifest in the patch? What are my options other than renaming update.exe to setup.exe or install.exe?
Thanks for the update.
Thanks for the update.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 06, 2008
02:06 AM
While waiting for the hotfix from Installshield, you can manually modify the patch executable resource to have a manifest which will make the UAC dialog to appear.
You'll need a utility to modify this resource information - handy tool for this is "Resource Tuner".
By default the patch executable contains this kind of manifest:
Now if you change the section:
to
You'll need a utility to modify this resource information - handy tool for this is "Resource Tuner".
By default the patch executable contains this kind of manifest:
version="1.0.0.0"
processorArchitecture="X86"
name="InstallShield.Setup"
type="win32"
/>InstallShield.Setup
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="X86"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
level="asInvoker"
uiAccess="false"/>
Now if you change the section:
level="asInvoker"
uiAccess="false"/>
to
level="requireAdministrator"
uiAccess="false"/>
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 08, 2008
10:38 AM
I used the tool you mentioned and it works as intended.
The problem now is that I have to manually perform the manifest hack everytime i build a patch. After doing some add'l research on this I was wondering if I could 1) find the update.exe template or the default manifest file and modify the default settings before actually building the patch. This way the patch would be build using my changes in the default manifest.
Thoughts?
The problem now is that I have to manually perform the manifest hack everytime i build a patch. After doing some add'l research on this I was wondering if I could 1) find the update.exe template or the default manifest file and modify the default settings before actually building the patch. This way the patch would be build using my changes in the default manifest.
Thoughts?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 08, 2008
02:46 PM
Update.exe is built from the setup.exe in ...\Redist\Language Independent\i386; modifying it is not officially supported, but should allow you to accomplish what you're looking for. Just be careful with making global changes like this.
![](/skins/images/A5EADE085F77DE82FB3B14D6B307AE6A/responsive_peak/images/icon_anonymous_message.png)