none
Detecting InstallAllUsers value RRS feed

  • Pregunta

  • I have a .msi installer built with Visual Studio 2008.  It runs some custom code based on the .NET Framework System.Configuration.Install.Installer class.  In my custom code I need to know whether the user selected Everyone or Just me on the Installation Folder dialog.  There doesn't seem to be anything in the Context.Parameters collection that indicates which option the user selected.
    martes, 22 de septiembre de 2009 16:54

Respuestas

  • This is the ALLUSERS (cases-sensitive) property in Windows Installer. If you pass it as [ALLUSERS] as part of your CustomActionData you'll see its value. It'll be 1 for a 'Everyone' install (per-machine).
    Phil Wilson
    • Marcado como respuesta BradVoy miércoles, 23 de septiembre de 2009 14:11
    martes, 22 de septiembre de 2009 21:28
    Moderador

Todas las respuestas