Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 981011
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T04:28:26+00:00 2026-05-16T04:28:26+00:00

Using Visual Studio setup project. I’d like to change Everyone / Just Me choice

  • 0

Using Visual Studio setup project. I’d like to change Everyone / Just Me choice to the same as the user selected during previous installation.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T04:28:27+00:00Added an answer on May 16, 2026 at 4:28 am

    Finally figured it out. Used a VBScript Custom Action.

    Dim myUpgradeCode
    myUpgradeCode = "{6EFB1553-7F4F-4E26-A32B-E2F0F8E11CA9}"
    
    Dim justMe
    justMe = False
    
    'AssignmentType 
    '   Equals 0 if product is advertised or installed per-user. 
    '   Equals 1 if product is advertised or installed per-machine for all users.
    
    Set products = Session.Installer.RelatedProducts( myUpgradeCode )
    For Each product In products
        astp = CLng(Session.Installer.ProductInfo(product, "AssignmentType"))
        If astp = 0 Then
            justMe = True
        End If
    Next
    
    If JustMe Then
        Session.Property("ALLUSERS") = ""
    Else
        Session.Property("ALLUSERS") = "1"
    End If
    

    And executed it before AppSearch.

    Done!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using a Visual Studio Setup Project for deployment. This may sound like
Using Visual Studio 2008 - I add a Setup project (from Setup and Deployment
I am using Visual Studio 2010 to create a setup project for my .NET
I'm using Visual Studio 2008 and have created a setup project for my application.
I'm trying to create a very basic Setup and Deployment project using Visual Studio.
I'm currently using the Visual Studio Installer (Setup Project) in Visual Studio 2010 as
I am creating a setup project using Visual Studio. I want to reboot the
I'm using Visual Studio Web Setup Project to instrument web application install kit. Unfortunately,
I have developed a Windows service along with a setup project using Visual Studio
I want to register/unregister my project's assemblies in the GAC using Visual Studio's Setup

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.