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 9188685
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T20:04:23+00:00 2026-06-17T20:04:23+00:00

I need to deploy .NET framework 4 to all the domain User computers that

  • 0

I need to deploy .NET framework 4 to all the domain User computers that run off of a server. I have created a console application that will run automatically from a Login Script that is initated when the users Log on to the domain.

The current code i have is able to link to the install file that is located on the server and run it automatically. However i am unable to run it in quiet mode i.e. using /q. Everytime the install file runs it asks for the User to prompt the install, i.e. ‘Click Next’ and ‘Install’.

My current code looks like this (I have changed the login details and file path for security reasons. But the file is situated on a server and the login details are the main admin account) –

Function ConvertToSecureString(ByVal str As String)
    Dim password As New SecureString
    For Each c As Char In str.ToCharArray
        password.AppendChar(c)
    Next
    Return password
End Function

Sub Main()
    Dim securePass As New Security.SecureString()
    Dim password As SecureString = ConvertToSecureString("password")
    Dim myProcess As New Process()

    myProcess.StartInfo.Arguments = "/q"
    myProcess.Start("C:\dotNetFx40_Full_x86_x64.exe", "user", password, Nothing)
    myProcess.StartInfo.CreateNoWindow = True
End Sub

To my understanding with research, the line: myProcess.StartInfo.Arguments = "/q" is meant to run the install silently in the background without the user prompt. However it does not work.

  • 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-06-17T20:04:25+00:00Added an answer on June 17, 2026 at 8:04 pm

    Managed to fix it and make a work around. i was just misplacing the line myProcess.StartInfo.Arguments = "/q"

    Instead i just included this into the Process.Start line and got rid of the Process Object. So now i have:

    Process.Start("C:\dotNetFx40_Full_x86_x64.exe", "/passive", "user", password, Nothing)
    

    I have changed the “/q” for “/passive” because it shows a progress bar of completion.

    Thanks for the advice anyway.

    Greg

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

Sidebar

Related Questions

I have 6 servers that i need to deploy my ASP.NET web application to.
I need to deploy a STS and an ASP.NET RP for several clients, all
I have an old .net 2.0 windows app I need to deploy on a
I have developed an ASP.NET MVC 2 website, and now need to deploy it
I have maven project with several modules. Need to deploy all modules( jars and
I have (quite a bit of) static files that I need to deploy with
We have been using a web application framework to build apps that need to
I have an interesting situation where I need to deploy an ASP.NET MVC app
I need to deploy a Windows Forms application using ClickOnce deployment. (VS2008, .NET 3.5)
I Need to deploy a web application on Stratos server. I went through this

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.