スキップしてメイン コンテンツへ

 none
Detecting InstallAllUsers value RRS feed

  • 質問

  • 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.
    2009年9月22日 16:54

回答

  • 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
    • 回答としてマーク BradVoy 2009年9月23日 14:11
    2009年9月22日 21:28
    モデレータ

すべての返信