This is a log of the q&a chat as it happended. It is not an official transcript.
Is running another MSI from a VBScript Custom Action the same as using a Nested
Answer: Yes running MSI as a custom action is the same as nested MSI install.
Are nested installs still supported with 4.0?
Answer: Yes nested installs are still supported in 4.0. Concurrent Installations, also called Nested Installations, is a deprecated feature of the Windows Installer. Applications installed with concurrent installations can eventually fail because they are difficult for customers to service correctly. Do not use concurrent installations to install products that are intended to be released to the public.
I have tested the MsiRMFilesInUse dialog in one of my projects and after the app
closes I get a message telling me that "The setup was unable to automatcally
close all requested applications." Is this a problem with the app not responding
to the messages and returning correctly? Is there an option for the installer to
Answer: You might want to generate a verbose log file and take a look at which processes did not shut down. There could be a number reason why Restart Manager was unable to shutdown a process. For example, if the process was a critical / system process or if the process holding the file was MSI (msiexec.exe) itself.
Vista seems to prevent modification of registry keys under HKEY_LOCAL_MACHINE
even if a user is logged in with an administrator account. How should the
install work around this issue?
Answer: This is becuase of UAC behaviour of Vista. You can modify the keys under HKEY_LOCAL_MACHINE in installExecute sequence once the UAC has the elevation cridentials from the user.
how does the reboot manager work for session files? Additionally,
MsiRMFilesInUse Dialog can be made silent too, right?
Answer: By default (Restart Manager enabled), silent UI installs will use Restart Manager to automatically shutdown applications. You could use our built in properties to control how applications shutdown and restart.
Can I override the "setup.exe" detection so that when running a setup.exe (for
example as created by InstallShield) it is not elevated until the installation
actually needs the priviledge (i.e. when the UI sequence is finished and the
execution sequence starts)? If yes, how?
Answer: This can be done by manifesting your setup.exe to asInvoker. This way, the UAC elevation prompt will be prompted from inside the Windows Installer service
Regarding the earlier query of HKLM being locked to even administrators. Is it
permitted to use the LockPermissions table to give full control to your own
Answer: On Vista even members of the Administator group run as normal user. LockPermissions table will not work for your scenario. If you think you will need admin permissions then you can have a bootstrapper (setup.exe) and manifest the RunLevel of requiresAdministrator
Is Windows Installer 4.0 going to be a redistributable any time soon?
Answer: Currently we don't have any plans of making MSI 4.0 redistributable.
I assume that if you are running a setup.exe that is elevated by the setup
detection logic then immediate CAs are running at the elevated level?
Answer: Yes the immediate CAs are running at the elevated level.
can this installer run on xp
Answer: MSI4.0 is not a redistributable and hence will not run on XP. It will run only on Vista.
How can I specify the log file location if I enable logging using MsiLogging? I
understand MsiLogFileLocation is read-only.
Answer: You can specify log file location using MsiEnableLog function. If you are using MsiLogging property MSI will create the log file in the user temp directory.
That splits my code tree, doesn't it: Won't I have to maintain an installer for
both XP and Vista, then?
Answer: You can design your package to work with previous versions of installer as well as with 4.0. MSI 4.0 is compatible with previous versions of MSI.
Does the Restart Manager also get invoked when running an uninstall (i.e. the
application being uninstalled has components that are loaded by other
applications running on the machine, which are not unloaded just because the
application itself has been shut down)?
Answer: Restart Manager (if not disabled) will get invoked during the UnInstall.
Any progress on the problem of "Unknown application" in UAC when you uninstall
Answer: We will be having a blog posting and KB article on this topic. It is expected behavior and will be this way on Vista.
Scenario: I install an app with UAC disabled as elevated, later I decide to turn
ON the UAC. Does this impact the application if elevated priviledges are
required while running the app?
Answer: If elevated privileges are required to run the app, the the app will need to be run as administrator if UAC is turned on.
Is the requirement of installing from "removable media" in order to get "UAC
patching" removed? In the presentation it didn't look like you installed from a
Answer: Correct - that is no longer a requirement. Please see the topic in the SDK for updated information.
If the survey did not load correctly for you, you should be able to access it
I'd like to hear more about punting setup.exe, like Tyler started to talk about.
Answer: The question was about the upgrade experience with pure MSI. Apparently the person asking the question was concerned about doing "reacache and reinstall"-type updates and the complex command line associated with them. We recommend you use patches for small and minor updates and full-MSI packages for major upgrades. This provides the best experience all around.
|News||Discussions||Windows Installer||Related Tools||More Help||InstallScript||About InstallSite||Shop||Site Search|
|Neuigkeiten||Diskussionsgruppen||Windows Installer||MSI FAQ||Artikel||Shop||Suche|
Copyright © by InstallSite Stefan
Krueger. All rights reserved. Legal
By using this site you agree to the license agreement. Webmaster contact