Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Thursday, September 8, 2011 4:37 PM
Hi,
I am required to install Visual Studio 2005 on Windows 7 silently. So i am using
server\....\setup\setup.exe /passive \unattendedfile C:\temp\vswin7.ini /qb.
This installation works perfectly fine. But as a user i am not able to know what is going on in the background and how far the installation was done. How can i view the progress of the silent installation?. I tried interchaning /passive /qb but nothing really works. I am not sure as what i need to use so that i can see that something is happening. like a progressbar.. in command prompt or another window.
Same is required for service packs for visual studio 2005. i used /quiet- it silently installed. and when i use /passive- it prompts me to click on button as do you want to install service pack which is not unattended mode again.
I want everything to be installed silently but show a progress bar to know the progress of installation. I am using bat file for silent installation. Thanks for any help.
Prasanna
All replies (3)
Monday, September 12, 2011 2:56 PM ✅Answered
Hi Prasanna,
Welcome to the MSDN forum.
For your concern that you want everything to be installed silently but show a progress bar to know the progress of installation, it is not possible. Silent installation will disable all GUI of installation, so you cannot enable them in silent mode. I recommend you monitor a process named setup.exe in Windows Task Manager to detect whether the installation has completed.
In addition, you can type “/?” following the setup.exe in command line to see all the parameters it supports. The following parameters are used to define the content installed on the client computer:
Parameter |
Description |
/product |
The product code. For example, vs. |
/version |
The product version being installed. For example, 100. |
/locale |
The product locale being installed. For example, en-us. |
/silent |
Perform the installation without prompting the customer or displaying any UI. |
/content |
Required if the /silent argument is present. Specifies the location for the local content store if one has not been previously set. It is ignored if the content store location is already defined. |
/brandingPackage |
The file name of the branding package for the catalog. Ignored if the catalog already exists. |
/sourceMedia |
The location to check for installation files for help content. If this location is not found, or does not contain the files needed by Help Viewer, the /sourceWeb argument is used. |
/sourceWeb |
The HTTP ServiceApi endpoint where a customer can select books. |
/mediaBookList |
Specified for silent installs. If this argument is not provided, all books in the sourceMedia file are installed. The names of the books are the book1.html, book2.html file names. |
/webBookList |
Specified for silent installs. If this argument is not provided, all books found at the sourceWeb endpoint that match the locale of the catalog are installed (relative paths - base URI is the sourceMedia argument). |
/NoOnline |
Used by ISO Shell content provider to indicate that find content online and check for updates online functionality should not be enabled for their catalogs (used in the shortcut that launches HLM - is ignored as part of setup). |
From this table, we will find /passive is not a valid parameter of setup.exe, so using /passive will not launch silent installation.
lf you have any other concerns, please feel free to let me know.
Best Regards,
Alexander Sun [MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Monday, September 12, 2011 4:57 PM
Thanks Alexander.
But this really sucks. I can't ask users to check in the task manager. i have couple of things to install along with Visual Studio. My Installation script installs some other softwares along with visual studio and the user can have issues in any part of the installation. So i want to track. Other softwares have an option of showprogress. So i dont have problem in that part of installation. I think they should atleast make it display in the bat file. something like -showprogress.
Anyways, Thank you very much.
Prasanna
Wednesday, September 14, 2011 8:29 AM
Hi Prasanna,
I am sorry that this is the limitation of Visual Studio, but I think you have a nice idea for Visual Studio product improvement. Hence, I recommend you post a feedback for us. You can go to here: http://connect.microsoft.com/VisualStudio
Then click “Submit Idea” to submit your suggestion.
If you have any other concerns, please feel free to let me know.
Best Regards,
Alexander Sun [MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.