Views: 3.8k  |  Created: 04/18/2002

Average Rating: 0
Visual Studio has 1 inventory records, 19 Questions, 2 Blogs and 10 links. Please help add to this by sharing more!

Deployment Tips (8)

Most Common Setup Type
Not Determined
Average Package Difficulty Rating
Rated 0 / 5 (Not Rated) based on 0 ratings
Most Commonly Reported Deployment Method
Not Determined
or cancel
117
Note
"The instruction to run smsinst.exe did not work for me on VC 6.0 Enterprise Edition. Insteas the ACMBOOT.EXE has command line parameters (acmboot /? for more info) that allow you to install the specified parts of VC without further intervention."

Source: Lee Sanders, Network Engineer
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
117
Note
running smsinst.exe /k <productkey> will not work for EE (no clue about other versions but I dont imagine its much different) unless you import the data in key.reg into the registry (or run a VBScript or the like to set the key, its only one value).

If you try running smsinst before doing this you will get acmboot to appear in taskman for a bit and then it disappears, the product is not installed and in most cases there is no log file telling you whats wrong (yay ms!).

So to run the install run something like this:
regedt32 /s key.dat
smsinst.exe /k <productkeyhere>
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
117
Note
If you run Visual Studio Setup from a batch the 'smsinst.exe' starts, launches 'acmsetup.exe' an then finishes. This Vb-Script waits until 'acmsetup.exe' has terminated, so a serailization is possible.

' ------------------------
Set wshShell = Wscript.CreateObject("WScript.Shell")
Set wmi = GetObject("winmgmts://./root/cimv2")

proc = wmi_proc.Create("\\server\share\vstudio6\smsinst.exe /k 1231234567")

Do
Set wmi_process = wmi.ExecQuery("select * from win32_process where name='ACMSETUP.EXE'")
For Each process in wmi_process
wshShell.Popup "Microsoft Visual Source Save" & vbCrLf & "wird konfiguriert. (Pre Acm)", 1, "Microsoft Visual Studio 6", vbSystemModal
wScript.Sleep 500
Next
Loop while Ergebnis.count = 0

Do
count = 0
Set wmi_process = wmi.ExecQuery("select * from win32_process where name='ACMSETUP.EXE'")
For Each process in wmi_process
wshShell.Popup "Microsoft Visual Source Save" & vbCrLf & "wird konfiguriert. (Post Acm)", 1, "Microsoft Visual Studio 6", vbSystemModal
wScript.Sleep 500
Next
Loop while count = 1
' ------------------------
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
117
Note
I modified the script of msenn to fit in my NetInstall (fix of the variable count, fix of the sleep command, wshshell not available under NetInstall):

' ------------------------
Set wmi = GetObject("winmgmts://./root/cimv2")

Do
wScript.Sleep 500
Count = 0
Set wmi_process = wmi.ExecQuery("select * from win32_process where name='ACMSETUP'")
For Each process in wmi_process
Count = 1
Next
Loop while Count = 0

Do
wScript.Sleep 500
Count = 0
Set wmi_process = wmi.ExecQuery("select * from win32_process where name='ACMSETUP.EXE'")
For Each process in wmi_process
Count = 1
Next
Loop while Count = 1

' ------------------------

The smsinst command is execute as separate command right before the script.
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
4
Note
You must have the following present on each target system before installation:

- Internet Explorer 4.0 SP1 or later
- For NT, SP 3 or later

To prepare Visual Studio for installation perform the following steps:

1) Copy the first disk to a network share or local directory
2) Remove the read only attribute for the file \setup\vs98ent.stf
3) Execute the setup/accost.exe application to specify the components you wish to have installed.
4) When complete save the file as \setup\vs98ent.stf
5) Once the steps above are completed, make the files available to client computers on the network and use the following command line to trigger the silent installation:

\\server\share\path\smsinst.exe /k 1231234567

(Where 123-1234567 is your CD Key sticker on the CD packaging)

Note: A reboot is required following installation. There are installation steps that are triggered following installation through use of the runonce keys in the registry- for this reason you must restart the system before continuing to install other software such as MSDN.
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
4
Command Line
Service Pack 6 Silent Install, No Reboot
========================================

Extract the files from Vs6sp6.exe using the standard switches and then run setupsp6.exe from the extract location using the command line "setupsp6 /QN".
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
1
Note
1. make a copy of your installation cd in your hard drive
2. make a copy of the setup/VS98ENT.STF and name it acmsetup.STF
3. copy entire content of setup/ to previous folder (the one that has acmboot.exe file)
4. modify acmsetup.stf with acost.exe as you require and save it.
5. run acmsetup.exe instead of setup (the one that's on the same path as acmboot.exe)
6. that's it, your visual studio 6.0 will be installed.
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
0
Security

In the restricted Environment, You need add Custom Action to provide permissions to HKLM\Software\Classes to normal users to fix error "Failed to update the system Registry. Please try using Regedit".

Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment

Inventory Records (1)

View inventory records anonymously contributed by opt-in users of the K1000 Systems Management Appliance.

Versions

Visual Studio

Version

6

Questions & Answers (19)

Questions & Answers related to Microsoft Visual Studio

1
ANSWERS
2
ANSWERS
1
ANSWERS
0
ANSWERS
1
ANSWERS
1
ANSWERS
1
ANSWERS
3
ANSWERS

Blogs (2)

Blog posts related to Microsoft Visual Studio

Reviews (0)

Reviews related to Microsoft Visual Studio