

MsgBox "The following box will ask if you want to upgrade to Microsoft Office 2010.

& "!\\" & strComputer & "\root\cimv2")ĭIM colChassis : Set colChassis = objWMIService.ExecQuery _ĭIM objChassis : Set objChassis = NothingĭIM strChassisType : Set strChassisType = Nothingįor Each strChassisType in objChassis.ChassisTypes
.svg/640px-Microsoft_Office_Visio_(2019).svg.png)
RelativePath = Left(RelativePath, InStrRev(RelativePath, "\"))ĭIM FSO : Set FSO = CreateObject("Scripting.FileSystemObject")ĭIM objWMIService : Set objWMIService = GetObject("winmgmts:" _ REM Remove file name, leaving relative path only REM Get File Name with full relative path
#Visio viewer 2010 executable location install#
REM Install Visual Studio 2010 Tools for Office REM Prompt for User Approval of Installation REM Define the relative installation path ' h) If Laptop, display completion message, else end with error 1ĭIM LogFolder : LogFolder = TempFolder & LogFolderName & "\"ĭIM RelativePath : Set RelativePath = NothingĭIM UserApprove : Set UserApprove = Nothing ' e) Install Visual Studio 2010 Tools for Office ' b) If not mandatory installation, get user approval ' a) Check if mandatory installation date ' 1) Define the relative installation path ' point office will automatically install. ' installation date specified in global variable ManDate, at which ' the option to install Office at their leisure until the mandatory ' Description: This will install Office 2010 & extensions. You can download the install script from here. This script was also written for deploying to desktop systems, as when it detects that the system is not a laptop, it automatically starts the installation. As we know, some users will click no indefinitely, so I have also included a mandatory date in the script that if it runs on or after that date, there is no prompt and installation begins. So for Office 2010, I wrote this interactive VB script that prompts laptop users with the option of whether to install office at that time. To rectify these issues, the best method I have found is being interactive with the laptop users. As all deployment administrators know, deploying huge packages to laptop users is a challenge because of users possibly being in meetings with clients and such.
